System.AccessViolationException:尝试读取或写入受保护的内存
我在 Visual Studio 2008 中使用 .net Framework 3.5 创建了一个 Windows 服务。 当我在 32 位 Windows XP 计算机上运行我的服务时,该服务运行正常。
但是,当我在 Windows 7 64 位计算机上安装相同的服务时,出现以下错误: “System.AccessViolationException:尝试读取或写入受保护的内存。这通常表明其他内存已损坏”
我已经检查了同一主题的其他线程,但提供的答案都没有帮助我。
请帮助我解决这个问题。
提前非常感谢
R/ 萨钦
I have a windows service created with .net framework 3.5 in visual studio 2008.
When i run my service on the 32 bit windows XP machine, the service runs properly.
However, when i install the same service on the windows 7 64 bit machine i get the following error:
"System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt"
I have checked out other threads on the same subject, but none of the answers provided have helped me.
Kindly help me on this.
Thanx a lot in advance
R/
Sachin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论