Select to view content in your preferred language

ArcGis runtime deployment

2899
2
06-03-2014 12:03 PM
Labels (1)
FrancoisGilbert
Deactivated User
Hello,

I have an application that is installed twice on the same server. The 2 applications are using the exact same user control version. This user control refers to the esri.ArcGis.Client.local.dll etc libraries. This user control loads 2 local map services. This setutp is working well on a 32 bits windows server.

On the 64 bits windows 2008, the first installation is working well. On the second installation, the 2 local map services are not starting but the "base map" is starting well. It seems that the gis application does not find the Runtime library folder  because the local maps are the same for both installation. This makes me believe that the application cannot find the folder that contains the 64 bit runtime library. I have placed the runtime librairy just a level below the application exe.  I am not sure where I need to locate the runtime library folder to make sure the exe finds it.
0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor
Hi,

Does you arcgisruntimeX.X.X deployment folder contain the following?:
- Client32
- Client64
- LocalServer32
- LocalServer64

The deployment folder should be placed alongside your application exe (option 1 below), or alternatively in one known location and referenced from both apps via the ArcGISRuntime.InstallPath property (must be set before the ArcGISRuntime.Initialize call is made) (option 2 below).

e.g.

## Option 1 ##

C:\MyApps\MyApp1\MyApp1.exe
C:\MyApps\MyApp1\arcgisruntime10.2.3\

...And...

C:\MyApps\MyApp2\MyApp2.exe
C:\MyApps\MyApp2\arcgisruntime10.2.3\

## Option 2 ##

C:\MyApps\MyApp1\MyApp1.exe
C:\MyApps\MyApp2\MyApp2.exe
C:\MyApps\arcgisruntime10.2.3

Note:
- Both apps must specify:
    - ArcGISRuntime.InstallPath = @"C:\MyApps";
    OR
    - ArcGISRuntime.InstallPath = @"@"..\..\MyApps"";
- The InstallPath property must be set before the ArcGISRuntime.Initialize call (and before any XAML initialization)


Cheers

Mike
FrancoisGilbert
Deactivated User
Thanks you Mike,

Putting the 32 and 64 bits together will be useful for me.

For my specific problem, I think I have found the answer. It comes from my vb project that allow to change the target platform to any cpu but you need to go in the advanced option button even if it is available directry in the main compile option screen.

François
0 Kudos