Select to view content in your preferred language

ArcGis Server 10.3.1: "Class not registered" when accessing MXD

631
0
01-10-2018 05:31 AM
SamNeefs
Emerging Contributor

I use an MXD which I call upon from ArcObjects (.NET) to generate a PDF.

The MXD is build with ArcMap (10.3.1).

When adding layers to the MXD trough “Catalog” -> “GIS Servers” -> “Add WMS Server”, everything works both in ArcMap as through the ArcObjects call.

When I add a layer through “Catalog” -> “GIS Servers” -> “Add ArcGIS Server”, it still works in ArcMap, but I get an error when calling through ArcObjects:

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

StackTrace:    at ESRI.ArcGIS.Carto.MapDocumentClass.get_PageLayout()

The error "Class not registered", makes me consider registering a DLL would be the answer, but wouldn't know which one.

Can someone help me out?

0 Kudos
0 Replies