程序无法启动:访问冲突错误(已解决) [英] Program Fails to Start: Access Violation Error (SOLVED)

查看:218
本文介绍了程序无法启动:访问冲突错误(已解决)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们的应用程序当前无法在客户端的64位Windows 7工作站上启动.没有错误对话框,但是幸运的是,使用依赖遍历程序,我们发现了一些日志,似乎暗示了第二次机会发生访问冲突错误.

我们已经对防火墙进行了一系列测试,例如DEP,管理员权限和安全设置.我们程序的过去版本运行得很好,我们已经重复安装了几次,所以我们排除了硬件.

在上一个版本和当前版本之间进行的更改包括添加了一些DLL,其中一个是混合DLL.我们正在使用VS 2003,但实际上并没有满足MS记录的混合DLL问题中指定的任何条件.这尚未发生,并且无法在我们的本地64位Windows 7计算机上复制.

任何有类似问题/调试建议的经验将不胜感激!

提前谢谢!

编辑(解决方案)===============


通过在我们的应用程序中延迟加载某些混合的DLL,似乎可以解决该问题.以防万一有人遇到类似问题.

Hi guys,

Our application is currently failing to start up on a client''s 64-bit Windows 7 workstation. There are no error dialogs, but fortunately, using dependency walker, we''ve got some logs that seem to suggest a second-chance Access Violation error.

We have done an array of tests, such as DEP, administrator privileges, and security settings with the firewall. The past version of our program runs perfectly fine, and we''ve repeated the installation a few times, so we''ve ruled out hardware.

Changes between the last build and the current build include the addition of some DLLs, one of which is a mixed DLL. We are using VS 2003, but we don''t really meet any of the conditions specified in the mixed DLL problem documented by MS. This has not happened, and can''t be reproduced on our local 64-bit Windows 7 machine.

Any experience with similar problems/advices for debugging would be appreciated!

Thanks in advance!

EDIT (SOLUTION) ===============


The problem appears to be resolved with the delay loading of some of the mixed DLLs in our application. Just in case someone else runs into a similar problem.

推荐答案

hello;您是否尝试过在装有Windows 7的其他计算机上运行它?
如果他升级了RAM,有时会出现此错误...
使较旧的程序在此版本的Windows(Windows 7)中运行
http://windows.microsoft.com/zh-cn/windows7/Make-older-programs-run-in-in-this-version-of-windows
对于访问冲突消息,如果右键单击该程序的快捷方式或.exe并选择以管理员身份运行"选项,可能会有所帮助.
其他Access错误消息可能会通过此方法解决.
如何通过在Windows Vista或Windows 7中执行干净启动来解决问题
http://support.microsoft.com/default.aspx/kb/929135 它也可能会向您付款做一点恶意软件检查.

还要检查 Link1 [链接2 [
hello; have you tried running it on other machine having windows 7?
some times this error comming if he upgraded the RAM...
Make older programs run in this version of Windows (Windows 7)
http://windows.microsoft.com/en-us/windows7/Make-older-programs-run-in-this-version-of-Windows
As to the Access Violation message, what might help is if you right-click on the shortcut or .exe for the program and select the "Run As Administrator" option.
The other Access error messages might be solved via this.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.microsoft.com/default.aspx/kb/929135It also might pay you to do a bit of a malware check.

check that also Link1[^]
link2[^]
hope this will help...


对于Visual Studio 2010,有一个可以使用该工具的远程调试器. 并且在以64位构建项目之前,请始终在解决方案资源管理器"中检查参考",以查看参考是否支持64位环境.
For visual studio 2010 , there is a Remote Debugger you can use that tool.
And before building your project in 64bit always check your "References" in "Solution Explorer", to see the reference do support 64bit environment or not.


请确保您客户的.Net配置符合您的要求.如果它在您的本地计算机上运行良好,那一定是问题所在.也许GAC中不需要的东西-记住也要检查.
Make sure your client''s .Net configuration matches yours. If it runs fine on your local machines, that''s got to be the problem. maybe something isn''t in the GAC that needs to be - remember to check that too.


这篇关于程序无法启动:访问冲突错误(已解决)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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