Trouble Registering ESRI.ArcGIS.Server.dll

3694
1
03-05-2015 11:18 AM
ChrisWittenberg
New Contributor

Hi,

 

I am trying to use the ESRI.ArcGIS.Server.dll to publish a geocoding service to ArcGIS Server, but my code throws a COM exception and says the class ESRI.ArcGIS.Server  is not registered when I try to run it. I have tried registering and re-registering the dll a bunch of times manually with no results. I even re-installed ArcGIS Desktop, Background GP, and ArcGIS SDK while running Visual Studio as an Administrator and have had no luck.

 

Any thoughts? 

0 Kudos
1 Reply
ChrisWittenberg
New Contributor

Some clarification with my problem; when I try to instantiate the GISServerConnection class, all of the fields of the class throw a System.AccessViolationException, and when I try to call the Connect method on the class to connect to my server, it throws an HRESULT ESRI.ArcGIS.Server Class Not Registered exception. I don't know whether the latter causes the former, or the former causes the latter. 

0 Kudos