Select to view content in your preferred language

Binding stand alone application to ArcGIS for Server

902
1
02-25-2013 01:05 PM
GhassanKarwchan
Occasional Contributor
I am building a stand alone .NET applications using ArcObjects.
I want to run it on the server, where I have ArcGIS for Server.

I am trying to bind the license at runtime to the ArcGIS server runtime.
But the application giving an error message "Invalid ArcGIS Runtime Binding"

I am using this command

RuntimeManager.Bind(ProductCode.Server)

I don't want to install the engine there or have a license for the engine, because the application run at night when there is no activity , so I want to use the server license

Is that possible?
0 Kudos
1 Reply
RichardWatson
Deactivated User
If you are using 10.1 then the application you build/run must be 64 bit.

A trivial way of checking this is:

Console.WriteLine(Environment.Is64BitProcess);

If you running a version prior to 10.1 then the application you build/run must be 32 bit.
0 Kudos