AnsweredAssumed Answered

Imports ESRI.ArcGIS.Geodatabase

Question asked by jsn on Jun 29, 2017

Good morning everyone,

 

I am using VS 2012 with ArcGIS 10.2.

 

I have a web service that uses the library ESRI.ArcGIS.Geodatabase. When I run this web service in my workstation most of the time I get an error message at this line:

 

    workspaceFactory = CType(Activator.CreateInstance(factoryType), IWorkspaceFactory)

 

and the only way I found to fix it is to remove the library from the references and reload it again using the option "Add References" not the option "Add GIS reference".

 

 Any ideas why I am getting this error ?

 

Is this library referenced in two different places? 

thanks

Outcomes