使用 ArcGIS Server 10.8 执行以下语句时,我的 DLL 出现以下错误:
IGISServerConnection conn = new GISServerConnectionClass();
我是不是做错了什么,以下是一些可以帮助您理解问题的其他信息:
- 我正在使用 .NET Framework 4.6.1
- 标记
Embed Interop Type = false
为参考 esri.argis.server 程序集。 - 通过 web 处理程序 (.ashx) 文件调用 dll。
- 在 IIS 7.5 中,默认应用程序池将 32 位应用程序启用为 true。
- 所有程序集都在我部署此 dll 的机器中注册,我还使用 esriregasm.exe 注册了此 dll
- Esri.arcgis.server.dll 版本为 10.8
- Esri 服务器管理器 10.8 部署在 Apache 上
如果有人可以帮助解决这个问题,那就太好了。提前谢谢了。