<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS for Windows Mobile secure services issues in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-for-windows-mobile-secure-services-issues/m-p/367321#M1592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been having some issues getting ArcGIS Mobile 10 (Windows Mobile) set up with secured (token-based) services.&amp;nbsp; I've gotten it to the point where I was able to download a project to device (Juno) and was prompted for credentials for the secure service, accepted and then downloaded the project successfully.&amp;nbsp; The first issue occurs when I try to post updates which fails every time.&amp;nbsp; Don't see anything in the log other than "MobileSync: Post Features Failure."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, in Mobile Project Center, I am no longer able to save the project to the server (remote).&amp;nbsp; It brings up the login required dialog, which checks the login and just returns to the dialog again.&amp;nbsp; When checked in Fiddler, the following request is sent to the server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://XXXX.XXXXXXX.com/arcgis/mobile/admin/generateToken?f=json&amp;amp;username=XXXXX&amp;amp;password=XXXXXX&amp;amp;referer=http://www.esri.com/arcgis"&gt;http://XXXX.XXXXXXX.com/arcgis/mobile/admin/generateToken?f=json&amp;amp;username=XXXXX&amp;amp;password=XXXXXX&amp;amp;referer=http://www.esri.com/arcgis&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and "401 - Unauthorized: Access is denied due to invalid credentials." is returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's obviously a permissions issue going on here but after many hours, I can't seem to make any progress, and can't find any documentation for using ArcGIS Mobile 10 with secured services (can only find some 9.3 docs which I 'm not sure are current).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ArcGIS server is on a remote EC2 instance if that makes a difference.&amp;nbsp; I've tried running ArcGIS Mobile Project Center directly on the instance but it just freezes up (latest build 2550).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if anyone has any fresh ideas, I'd love to hear them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 16:33:03 GMT</pubDate>
    <dc:creator>JoshWerts</dc:creator>
    <dc:date>2012-03-28T16:33:03Z</dc:date>
    <item>
      <title>ArcGIS for Windows Mobile secure services issues</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-for-windows-mobile-secure-services-issues/m-p/367321#M1592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been having some issues getting ArcGIS Mobile 10 (Windows Mobile) set up with secured (token-based) services.&amp;nbsp; I've gotten it to the point where I was able to download a project to device (Juno) and was prompted for credentials for the secure service, accepted and then downloaded the project successfully.&amp;nbsp; The first issue occurs when I try to post updates which fails every time.&amp;nbsp; Don't see anything in the log other than "MobileSync: Post Features Failure."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, in Mobile Project Center, I am no longer able to save the project to the server (remote).&amp;nbsp; It brings up the login required dialog, which checks the login and just returns to the dialog again.&amp;nbsp; When checked in Fiddler, the following request is sent to the server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://XXXX.XXXXXXX.com/arcgis/mobile/admin/generateToken?f=json&amp;amp;username=XXXXX&amp;amp;password=XXXXXX&amp;amp;referer=http://www.esri.com/arcgis"&gt;http://XXXX.XXXXXXX.com/arcgis/mobile/admin/generateToken?f=json&amp;amp;username=XXXXX&amp;amp;password=XXXXXX&amp;amp;referer=http://www.esri.com/arcgis&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and "401 - Unauthorized: Access is denied due to invalid credentials." is returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's obviously a permissions issue going on here but after many hours, I can't seem to make any progress, and can't find any documentation for using ArcGIS Mobile 10 with secured services (can only find some 9.3 docs which I 'm not sure are current).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ArcGIS server is on a remote EC2 instance if that makes a difference.&amp;nbsp; I've tried running ArcGIS Mobile Project Center directly on the instance but it just freezes up (latest build 2550).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if anyone has any fresh ideas, I'd love to hear them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 16:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-for-windows-mobile-secure-services-issues/m-p/367321#M1592</guid>
      <dc:creator>JoshWerts</dc:creator>
      <dc:date>2012-03-28T16:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS for Windows Mobile secure services issues</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-for-windows-mobile-secure-services-issues/m-p/367322#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;These issues have been solved so I wanted to post up the solutions for anyone else that may need help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had a couple different issues going on and this is what solved them:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Saving projects from Mobile Project Center:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From ESRI:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IIS Settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Mobile folder has only Anonymous Authentication enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Admin folder has only Basic Authentication enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Content folder has only Anonymous Authentication enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Grant the IUSR account full control to the Mobile folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Delete any existing projects from the Projects folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Before attempting to use Mobile Project Center after making these changes, close and reopen the application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After applying these settings, I was still getting directory access errors through the browser application.&amp;nbsp; After granting write/modify permissions to the machine's "Users" role to inetpub/wwwroot/ArcGIS/mobile folder, these issues were resolved and everything worked fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I was not aware of this thread until after I solved my issues, but would have been a good place to look: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/12596-Can-t-save-mobile-project-to-IIS-web-server"&gt;http://forums.arcgis.com/threads/12596-Can-t-save-mobile-project-to-IIS-web-server&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Downloading projects/Connecting to server from ArcGIS Mobile on Juno:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At first the Juno would not connect to the server when "Secured Server" checkbox was checked.&amp;nbsp; If I left it unchecked, I could download a project with a secure service (after entering token credentials) and get data, but when the project opened,&amp;nbsp; I would get a "Error opening mobile cache" message.&amp;nbsp; It turns out our SSL certificate (Thawte) was not validating properly on the server (though it appeared to be fine in the web browser).&amp;nbsp; A check with this tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://ssl-tools.verisign.com/#certChecker"&gt;https://ssl-tools.verisign.com/#certChecker&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and installation of intermediate certificate:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://search.thawte.com/support/ssl-digital-certificates/index?page=content&amp;amp;id=AR1384&amp;amp;actp=RELATED_RESOURCE"&gt;https://search.thawte.com/support/ssl-digital-certificates/index?page=content&amp;amp;id=AR1384&amp;amp;actp=RELATED_RESOURCE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;solved the issues for the Juno.&amp;nbsp; After installed the intermediate certificate, the Juno is able to connect with "Secured Server" checked and download/open the project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Posting updates to server:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Posting updates to the server was failing because I had the geodatabase version used in the mobile service set to protected instead of public, so the user in the service did not have edit permissions on the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps someone, not an easy task to get set up!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 15:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/arcgis-for-windows-mobile-secure-services-issues/m-p/367322#M1593</guid>
      <dc:creator>JoshWerts</dc:creator>
      <dc:date>2012-04-09T15:44:14Z</dc:date>
    </item>
  </channel>
</rss>

