<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGis Server 10.3.1: &amp;quot;Class not registered&amp;quot; when accessing MXD in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-server-10-3-1-quot-class-not-registered/m-p/403543#M10785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use an MXD which I call upon from ArcObjects (.NET) to generate a PDF.&lt;/P&gt;&lt;P&gt;The MXD is build with ArcMap (10.3.1).&lt;/P&gt;&lt;P&gt;When adding layers&amp;nbsp;to the MXD trough&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;“Catalog” -&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;“GIS Servers” -&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;“Add WMS Server”, everything works both in ArcMap as through the ArcObjects call.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;When I add a layer through “Catalog” -&amp;gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;“GIS Servers” -&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;“Add ArcGIS Server”, it still works in ArcMap, but I get an error when calling through ArcObjects:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;StackTrace:&amp;nbsp;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Carto.MapDocumentClass.get_PageLayout()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error "Class not registered", makes me consider registering a DLL would be the answer, but wouldn't know which one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2018 13:31:04 GMT</pubDate>
    <dc:creator>SamNeefs</dc:creator>
    <dc:date>2018-01-10T13:31:04Z</dc:date>
    <item>
      <title>ArcGis Server 10.3.1: "Class not registered" when accessing MXD</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-server-10-3-1-quot-class-not-registered/m-p/403543#M10785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use an MXD which I call upon from ArcObjects (.NET) to generate a PDF.&lt;/P&gt;&lt;P&gt;The MXD is build with ArcMap (10.3.1).&lt;/P&gt;&lt;P&gt;When adding layers&amp;nbsp;to the MXD trough&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;“Catalog” -&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;“GIS Servers” -&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;“Add WMS Server”, everything works both in ArcMap as through the ArcObjects call.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;When I add a layer through “Catalog” -&amp;gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;“GIS Servers” -&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;“Add ArcGIS Server”, it still works in ArcMap, but I get an error when calling through ArcObjects:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;StackTrace:&amp;nbsp;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Carto.MapDocumentClass.get_PageLayout()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error "Class not registered", makes me consider registering a DLL would be the answer, but wouldn't know which one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 13:31:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-server-10-3-1-quot-class-not-registered/m-p/403543#M10785</guid>
      <dc:creator>SamNeefs</dc:creator>
      <dc:date>2018-01-10T13:31:04Z</dc:date>
    </item>
  </channel>
</rss>

