Deployment Issue

3923
5
05-21-2013 08:54 AM
Labels (1)
RyanNoble
New Contributor
I'm having a problem getting my deployed app to run on a different machine. Under license builder, I specified "Testing" as license type. I copied the SetLicense string and put it in my application. I ran deployment builder and generated a deployment folder. I selected both x86 and x64 versions. I suspect it may be a directory issue. This is how it is set up.


C:/ArcGISDemo/bin/Release/TestDeploy_1.0/ArcGISRuntime10.1.1

where my ArcGISDemo.exe is at:

C:/ArcGISDemo/bin/Release/ArcGISDemo.exe

With above configuration, I get an error when I launch that says: "System.Exception: Error initializing ArcGISRuntime. Unable to find ArcGISRuntime deployment folder..."

OK, so I tried putting ArcGISRuntime10.1.1 in the same folder as ArcGISDemo.exe, and the application just crashes. I've also tried building the application for x64 and it still crashes.
0 Kudos
5 Replies
SimonFisher
Occasional Contributor II
I'm having a problem getting my deployed app to run on a different machine. Under license builder, I specified "Testing" as license type. I copied the SetLicense string and put it in my application. I ran deployment builder and generated a deployment folder. I selected both x86 and x64 versions. I suspect it may be a directory issue. This is how it is set up.


C:/ArcGISDemo/bin/Release/TestDeploy_1.0/ArcGISRuntime10.1.1

where my ArcGISDemo.exe is at:

C:/ArcGISDemo/bin/Release/ArcGISDemo.exe

With above configuration, I get an error when I launch that says: "System.Exception: Error initializing ArcGISRuntime. Unable to find ArcGISRuntime deployment folder..."

OK, so I tried putting ArcGISRuntime10.1.1 in the same folder as ArcGISDemo.exe, and the application just crashes. I've also tried building the application for x64 and it still crashes.



Did you try putting the ArcGIS Runtime deployment folder at the same level as the application exe and without the top level deployment folder?
ie. C:/ArcGISDemo/bin/Release/ArcGISRuntime10.1.1

This is what works for me, although I am using 10.1 not 10.1.1, so perhaps something changed.

Simon
0 Kudos
RyanNoble
New Contributor
Yes, I tried that.

C:/ArcGISDemo/bin/Release/TestDeploy_1.0/ArcGISRuntime10.1.1

and

C:/ArcGISDemo/bin/Release/ArcGISRuntime10.1.1

The first one gives me an error telling me to put ArcGISRuntime10.1.1 in the same directory as the executable. The second one just causes my executable to crash when I launch it.
0 Kudos
MatthewSerbinski
New Contributor
i ran into the same issue a couple of days ago (after everything was working fine for a few weeks) and i had to specify the ArcGISRuntime.InstallPath for the arcgis runtime deployment folder. Check here for the documentation on that property:
http://resources.arcgis.com/en/help/runtime-wpf/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISR...

also, make sure to check out this guide on deploying your app:
http://resources.arcgis.com/en/help/runtime-wpf/concepts/0170/017000000058000000.htm
0 Kudos
RyanNoble
New Contributor
Problem solved. It turned out to be missing DLLs from a different product.
0 Kudos
adamloo
New Contributor
i ran into the same issue a couple of days ago (after everything was working fine for a few weeks) and i had to specify the ArcGISRuntime.InstallPath for the arcgis runtime deployment folder. Check here for the documentation on that property:
http://resources.arcgis.com/en/help/runtime-wpf/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISR...

also, make sure to check out this guide on deploying your app:
http://resources.arcgis.com/en/help/runtime-wpf/concepts/0170/017000000058000000.htm


hi aquaseal�?could you kindly show me the code snippet about how to set the ArcGISRuntime.InstallPath�?
0 Kudos