Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I developed a program using the ArcGIS Engine 10.0. On my development computer it runs nicely, but when I deploy the binary to the customer computer the program throws an exception when trying to initialize the license.

The exception: "ArcGIS version not specified. You must call RuntimeManager.Bind before creating any ArcGIS components."

This error does show after I called RuntimeManager.Bind, and I'm quite sure I did not accidentially instanciate any other ArcGIS objects before calling RuntimeManager.Bind.

How can I find the source of this problem? Why does it only show up at the customer?

The code I'm using to initialise:

ESRI::ArcGIS::esriSystem::AoInitialize^  aoi = gcnew ESRI::ArcGIS::esriSystem::AoInitializeClass();

ESRI::ArcGIS::esriSystem::esriLicenseProductCode productCode = ESRI::ArcGIS::esriSystem::esriLicenseProductCode::esriLicenseProductCodeEngine;
if (aoi->IsProductCodeAvailable(productCode) == ESRI::ArcGIS::esriSystem::esriLicenseStatus::esriLicenseAvailable)
share|improve this question
Have you deployed the runtime on client's machine? You might also want to look at the [online help] (…) – ujjwalesri Jun 21 '11 at 12:00
Interesting comment in Esri's blog post about Bind returning a void. Are you calling Bind in a try/catch? – Kirk Kuykendall Jun 21 '11 at 17:18
Am calling the whole init in a try catch. I will check the result of bind, thanks for the hint! – Sam Jun 22 '11 at 7:20
up vote 2 down vote accepted

Does the client have ArcGIS 10? Maybe you're trying to bind a Runtime product when the client has desktop installed? Do you use the RuntimeManager::InstalledRuntimes property to determine which product to bind?

share|improve this answer
Great idea, I'll check the InstalledRuntimes! – Sam Jun 22 '11 at 7:26
You hit gold! The client had desktop installed, and the ESRI support #1 told me there is no difference while #2 told me "well, they might need to be initialized differently, using a different bind or product". Now am checking with the customer how to resolve this. – Sam Jun 24 '11 at 14:32

I would check to see what license the customer's computers runs. I would run ArcGIS Administrator on both machines and compare the licenses installed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.