Select to view content in your preferred language

Exception from HRESULT: 0x80040154

3233
4
09-16-2010 11:37 AM
EmilianoDelucia
Deactivated User
Hi,
I'm deploying a silverlight project in a Windows xp machine. This project is calling a WCF Web Service to get data from a GeoDatabase and it is using arcobjects.
When it is going through the web service, I'm getting an error after excecute this line:

serverconn = new ESRI.ArcGIS.Server.GISServerConnection();

Retrieving the COM class factory for component with CLSID {CD57B642-1B4A-4E02-A1D0-FFDBCF0E5A41} failed due to the following error:
80040154 Clase no registrada (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).


I have installed ADF for .Net in the server.

What could be happening?

Thank you!
ED
0 Kudos
4 Replies
ScottFriedrich
Regular Contributor
Try using ESRI.ArcGIS.ADF.Connection.AGSServerConnection

Look at this thread:
0 Kudos
EmilianoDelucia
Deactivated User
Still a problem.
In my laptop it works fine, but when I'm implementing the web service in the clean server it doesn't work. Actually is not a server, it is an other XP machine.
I think that I have to register something or install something to make the arcobjects of the web service works , but I couldn't figure out what. I've intalled ADF .Net, tried regasm of the esri dlls in the server but it didn't help.
Some idea?

Thank you in advance.
ED.
0 Kudos
JimBridge
Deactivated User
I'm runing into a similar issue. Did you ever figure out what was going on?

Thanks
Jim
0 Kudos
JimBridge
Deactivated User
Installing the Server Object Container solved this issue for me.
0 Kudos