经典 ASP:C0000005 执行错误 [英] Classic ASP : C0000005 Error on execution

查看:62
本文介绍了经典 ASP:C0000005 执行错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Windows 2008 64 位 R2 机器上执行经典 ASP 页面.

I'm trying to execute classic ASP pages on a windows 2008 64 bit R2 box.

最初的问题在于注册 dll;现在已经解决了.在 Windows Server 2008 R2 上注册 DLL 文件

Initially the problem was with registering dlls; that's now fixed. Register DLL file on Windows Server 2008 R2

现在当我尝试访问该页面时出现此错误

Now when I try to access the page I get this error

活动服务器页面错误ASP 0241"

Active Server Pages error 'ASP 0241'

创建对象异常

index.asp

'(null)' 的 CreateObject 导致异常 C0000005.

The CreateObject of '(null)' caused exception C0000005.

服务器对象错误ASP 0177:c0000005"

Server object error 'ASP 0177 : c0000005'

当我将代码从 Server.CreateObject 更改为 CreateObject 时,我最终会遇到此错误

When I change the code from Server.CreateObject to CreateObject, I end up with this error

Active Server Pages 错误ASP 0115"意外错误索引.asp

Active Server Pages error 'ASP 0115' Unexpected error index.asp

外部对象中出现可捕获错误 (C0000005).脚本无法继续运行.

A trappable error (C0000005) occurred in an external object. The script cannot continue running.

我检查了所有可能的内容 - 访问权限和管理员权限等.应用程序池设置为无托管代码 + 经典模式.

I checked everything I could - Access and admin rights etc. The application pool are set to No Managed Code + Classic mode.

有解决这个问题的想法吗?

Any ideas to fix this?

推荐答案

你不会在 ASP 中解决这个问题.C0000005 是访问冲突异常.当代码尝试读取它尚未分配的内存时会发生这种情况.

You're not going to fix this in ASP. The C0000005 is the Access Violation Exception. This occurs when code attempts to read memory that it hasn't allocated.

dll 在加载时或在对象的构造过程中做了一些坏事.

The dll is doing something bad when it loads or during the construction of the object.

您是否使用简单的 .vbs 文件测试过 dll?

Have you tested the dll with a simple .vbs file?

这篇关于经典 ASP:C0000005 执行错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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