C# 4.0 GISServerConnectionClass()中的HRESULT:0x80040111(类\u E\u CLASSNOTAVAILABLE)的Esri.arcgis.server异常

C# 4.0 GISServerConnectionClass()中的HRESULT:0x80040111(类\u E\u CLASSNOTAVAILABLE)的Esri.arcgis.server异常,c#-4.0,esri,arcgis-server,arcgis-runtime-net,C# 4.0,Esri,Arcgis Server,Arcgis Runtime Net,使用ArcGIS Server 10.8执行以下语句时,我的DLL中出现以下错误: IGISServerConnection conn = new GISServerConnectionClass(); 如果我做错了什么,以下是一些其他信息,可以帮助您理解这个问题: 我使用的是.NETFramework 4.6.1 标记了Embed Interop Type=false以供参考esri.argis.server程序集 通过web处理程序(.ashx)文件调用dll 在IIS 7.5中,默认应用

使用ArcGIS Server 10.8执行以下语句时,我的DLL中出现以下错误:

IGISServerConnection conn = new GISServerConnectionClass();
如果我做错了什么,以下是一些其他信息,可以帮助您理解这个问题:

  • 我使用的是.NETFramework 4.6.1
  • 标记了
    Embed Interop Type=false
    以供参考esri.argis.server程序集
  • 通过web处理程序(.ashx)文件调用dll
  • 在IIS 7.5中,默认应用程序池将32位应用程序启用为true
  • 所有程序集都在我部署此dll的计算机中注册,我还使用ESRREGASM.exe注册了此dll
  • Esri.arcgis.server.dll版本为10.8
  • Esri server manager 10.8部署在Apache上
  • 如果有人能帮助解决这个问题,那就太好了。非常感谢