简体   繁体   English

Visual Studio 2010调试模式下的ArcObjects 10.2错误

[英]ArcObjects 10.2 Error Under Debug Mode of Visual Studio 2010

I get stuck with this ArcObjects 10.2.2 debug problem. 我陷入了这个ArcObjects 10.2.2调试问题。

My environment 我的环境

  • Win7 64 bit Win7 64位
  • ArcGIS Desktop (ArcInfo) 10.2.2.3553 ArcGIS Desktop(ArcInfo)10.2.2.3553
  • Visual Studio 2010 Pro Visual Studio 2010专业版

    Problem 问题
    My application use IMapDocument interface of ESRI.ArcGIS.Carto to open MXD document. 我的应用程序使用ESRI.ArcGIS.Carto的IMapDocument接口打开MXD文档。 If the document has a raster Map Service layer(Map Service Type: Cached;File Format:PNG32), I will get errors under debug mode of Visual Studio when the application try to open it. 如果文档具有栅格地图服务层(地图服务类型:已缓存;文件格式:PNG32),则在应用程序尝试将其打开时,在Visual Studio的调试模式下会出现错误。
    The exception message - "Access Denied. (Exception from HRESULT: 0x80030005 (STG_E_ACCESSDENIED))" 异常消息-“访问被拒绝。(来自HRESULT的异常:0x80030005(STG_E_ACCESSDENIED))”
    And the windows event viewer does come with an error about ESRI's RasterDB.dll Windows事件查看器确实带有有关ESRI的RasterDB.dll的错误
    see screenshot 截图

  • I tried on other virtual machine, same problem. 我试过其他虚拟机,同样的问题。
  • I tried to add the raster layer from other Map Server, same problem. 我试图从其他Map Server添加栅格图层,同样的问题。
  • I also tried to add other raster layer (open street base map), same problem. 我还尝试添加其他栅格图层(开放式街道底图),同样的问题。

    However, 然而,

  • this document can be opened properly with ArcMap 10.0, 10.2 and 10.2.2. 可以使用ArcMap 10.0、10.2和10.2.2正确打开此文档。
  • If I remove the raster layer from the MXD document, no problem in debug mode. 如果我从MXD文档中删除了栅格图层,则在调试模式下没有问题。
  • or if I just run the compiled exe file directly, everything is fine. 或者,如果我直接运行编译的exe文件,一切都很好。
  • If I change the raster layer into other type of Map Service layer (Map Service Type: Not Cached), no problem. 如果将栅格图层更改为其他类型的地图服务图层(地图服务类型:未缓存),则没问题。
    see screenshot 截图

    Thanks, 谢谢,

  • Problem solved. 问题解决了。
    This error should be related to a module (CSM.dll) conflict between ESRI's raster library and Microsoft's remote debugging library (VS7 Causality Stack Manager). 此错误应该与ESRI的栅格库和Microsoft的远程调试库(VS7因果关系堆栈管理器)之间的模块(CSM.dll)冲突有关。

    thanks John Simonitch​ for a [similar post][1] 感谢约翰·西蒙尼奇(John Simonitch)的[类似帖子] [1]

    [1]: https://geonet.esri.com/thread/68703 [1]: https//geonet.esri.com/thread/68703

    声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

    相关问题 在Visual Studio 2010调试模式下找不到合适的图形卡错误 - No suitable graphics card is found error in Visual Studio 2010 debug mode 选择要在 Visual Studio 2010 中调试或运行的解决方案下的项目 - Selecting which project under a solution to debug or run in Visual Studio 2010 Visual Studio 2010 Pro,不会在应用程序关闭时结束调试模式 - Visual Studio 2010 Pro, not ending debug mode on application close Visual Studio 2010-调试断点 - Visual Studio 2010 - Debug Breakpoint Visual Studio 2010调试DirectShow - Debug DirectShow by Visual Studio 2010 Visual Studio 2010 认为它处于调试模式(但它设置为发布模式) - Visual Studio 2010 Thinks it's in Debug Mode (but it's set to Release mode) Visual-studio扩展项目在“调试”模式下构建错误 - Visual-studio extension project build error in “Debug” mode 为什么Selenium InternetExplorerDriver Webdriver在调试模式下非常慢(visual studio 2010和IE9) - Why is Selenium InternetExplorerDriver Webdriver very slow in debug mode (visual studio 2010 and IE9) 如何在Visual Studio 2010中调试Nunit测试 - How to debug Nunit test in Visual Studio 2010 如何在Visual Studio 2010中调试Window服务 - how to debug Window service in visual studio 2010
     
    粤ICP备18138465号  © 2020-2024 STACKOOM.COM