Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

i am using 'arcgis server 10' and 'visual web developer 2010 express'. now, i opened a 'web mapping application' then wanted to 'add a reference' to 'esri arcmap object library 10.0' it says:

 A reference to 'ESRI ArcMap Object Library 10.0' could not be added.
 Converting the type library to a .NET assembly failed. No process is
 associated with this object.

it said the same for 'esri 3danalyst object library 10.0', 'esri geoanalyst object library 10.0', 'esri geostatisticalanalyst object library 10.0', 'esri spatialanalyst object library 10.0'...

but for this one it says:

 A reference to 'ESRI Display Object Library 10.0' could not be added.    
 Converting the type library to a .NET assembly failed. The type library
 importer encountered an error during type verification. Try importing
 without class members.

i tried this with target .net frameworks 3.5 and 4.0. plz can you explain how can i add these references successfully? thanks!

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

You really need to make sure the ESRI AGS SDK is installed properly; you will want to use the 'Add ArcGIS Reference' (not sure of exact name, not at work pc) versus the usual add reference tool. This is because there are nested dependencies and how the DLLs are loaded that ESRI handles for you.

This will get them all to load right. If you run the SDK installer, things should register to Visual Studio properly and you will see it in the context menus.

share|improve this answer
add comment

Your Answer

 
discard

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.