<?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 Re: LocalServer.Initialize() throws error 267 -The directory name is invalid in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/localserver-initialize-throws-error-267-the/m-p/623440#M3194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike, thanks for the response, you pointed me to the right place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had copied files from a deployment that had been built without ticking the "Local Server" checkbox.&amp;nbsp; Calling LocalServer.Initialize() then threw the Error 267 "The directory name is invalid".&amp;nbsp; Using a deployment built with that box checked, all is well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2012 12:22:54 GMT</pubDate>
    <dc:creator>VincentDolan</dc:creator>
    <dc:date>2012-09-19T12:22:54Z</dc:date>
    <item>
      <title>LocalServer.Initialize() throws error 267 -The directory name is invalid</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/localserver-initialize-throws-error-267-the/m-p/623438#M3192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I call LocalServer.Initialize(), it throws: "The directory name is invalid" (error # 267)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used ProcessMonitor and see the last entry before the errror occurs is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Operation&lt;/SPAN&gt;&lt;SPAN&gt;: CreateFile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Path&lt;/SPAN&gt;&lt;SPAN&gt;: C:\longpathtomyproject\MyProject\bin\Debug\ArcGISRuntime1.0\LocalServer64\bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Result&lt;/SPAN&gt;&lt;SPAN&gt;: PATH NOT FOUND&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;Detail&lt;/SPAN&gt;&lt;SPAN&gt;: Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My deploment folder has the expected structure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGISRuntime1.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp; Client32&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp; Client64&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp; Resources&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;I've tried to manually create the LocalServer64\bin folder being complained about above, with no better results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 20:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/localserver-initialize-throws-error-267-the/m-p/623438#M3192</guid>
      <dc:creator>VincentDolan</dc:creator>
      <dc:date>2012-09-18T20:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: LocalServer.Initialize() throws error 267 -The directory name is invalid</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/localserver-initialize-throws-error-267-the/m-p/623439#M3193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are you building your application as?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x86 =&amp;gt; Will require Client32 and LocalServer32 directories within the ArcGISRuntime1.0 directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x64 =&amp;gt; Will require Client64 and LocalServer64 directories within the ArcGISRuntime1.0 directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any CPU =&amp;gt; Will require Client32 &amp;amp; LocalServer32 OR Client64 &amp;amp; LocalServer64 directories within the ArcGISRuntime1.0 directory depending on the OS architecture of the machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But you should not be manually creating those directories - you use the Deployment Tool to build your runtime deployment with the appropriate components for your chosen architecture(s).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 08:07:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/localserver-initialize-throws-error-267-the/m-p/623439#M3193</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2012-09-19T08:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: LocalServer.Initialize() throws error 267 -The directory name is invalid</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/localserver-initialize-throws-error-267-the/m-p/623440#M3194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike, thanks for the response, you pointed me to the right place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had copied files from a deployment that had been built without ticking the "Local Server" checkbox.&amp;nbsp; Calling LocalServer.Initialize() then threw the Error 267 "The directory name is invalid".&amp;nbsp; Using a deployment built with that box checked, all is well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 12:22:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/localserver-initialize-throws-error-267-the/m-p/623440#M3194</guid>
      <dc:creator>VincentDolan</dc:creator>
      <dc:date>2012-09-19T12:22:54Z</dc:date>
    </item>
  </channel>
</rss>

