昨天遇到一个比较奇怪的问题,运行VS2010调试程序的时候,总是会报一个错,然后程序就挂掉了:无可用源….,弹出一个窗口提示:System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt". 在网上搜索了好久也没有找到可以合适的解决方法,直到看到stackoverflow上一个帖子里的回复,…
场景: 使用 Oracle.DataAccess.dll 访问数据库时,OracleDataAdapter 执行失败. 异常: System.AccessViolationException was unhandled HResult=-2147467261 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source…
系统debug时出现错误,System.AccessViolationException: 尝试读取或写入受保护的内存.这通常指示其他内存已损坏. Attempted to read or write protected memory. This is often an indication that other memory is corrupt 从网上查阅,大多都是说因为调用C++等dll等等,但系统中确实没有关于其他dll的调用,很是郁闷.最后查得设置配置参数即可. 解决办法: Tools…