“尝试读取或写入受保护的内存.这通常表示其他存储器已损坏. [英] "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

查看:81
本文介绍了“尝试读取或写入受保护的内存.这通常表示其他存储器已损坏.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在.NetFramework 3.5中部署了一个C#.Net应用程序.这是一个Windows应用程序,主要处理成像.单击我们的Windows控件之一时,出现以下错误.

"尝试读取或写入受保护的内存.这通常表明其他内存已损坏."

这是间歇性错误,不能每次都复制.这是随机发生的.请建议!


sql server

We have a C#.Net application deleoped in .NetFramework 3.5. It is a windows application which mainly deals with imaging. We are getting the following error while clicking one of our windows control.

"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

This is intermittent error and could not be reproduced at everytime. This occurs randomly. Kindly suggest!!!


sql server

推荐答案

此错误意味着您的应用程序可能正在尝试访问其外部的内存托管域.如果没有看到任何代码(或至少是堆栈跟踪),就无法找到错误.

This error means that your application is probably trying to access memory outside of it's managed domain.  Without seeing any code (or at least a stack trace), there's no way to hunt down the error. 


这篇关于“尝试读取或写入受保护的内存.这通常表示其他存储器已损坏.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆