ASP应用程序无法在IIS7上创建COM对象 [英] ASP app failing to create COM objects on IIS7

查看:82
本文介绍了ASP应用程序无法在IIS7上创建COM对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP应用程序,我正在尝试在Vista / IIS7上运行。 ASP页面创建一个COM对象,为页面提供一些内容,但是无法使用错误创建:

I have an ASP app that I'm trying to run on Vista/IIS7. The ASP page creates a COM object that provides some content to the page but this is failing to create with the error:

Microsoft VBScript运行时错误'800a01ad '

ActiveX组件无法创建对象:'ProgID ....'

COM对象已安装/注册,可以使用oleview创建。如果我运行procmon(sysinternals)查看w3wp.exe的注册表访问,我会看到它正在查看HKCR / ProgID ....但返回NAME NOT FOUND。它显然存在,因为Oleview可以创建对象。

The COM object is installed/registered and can be created with oleview. If I run procmon (sysinternals) looking at the registry access for w3wp.exe, I get entries where it's looking at HKCR/ProgID.... but returns NAME NOT FOUND. It obviously exists because Oleview can create the object.

IIS网站启用了匿名身份验证,并且设置为我登录的用户。我已经使这个用户成为管理员 - 仍然失败,所有用户名/密码都已被检查并重新输入,但我无法运行iisreset,因为访问被拒绝。不确定接下来要做什么...

The IIS website has anonymous authentication enabled and this is set to the same user that I'm logged on as. I've made this user an administrator - still failed, all usernames/passwords have been checked and reentered although I can't run iisreset because access is denied. Not sure what to do next...

任何帮助都将不胜感激。

Any help would be appreciated.

推荐答案

我在Server 2008 64bit上的IIS7中遇到了同样的问题。我在Application Pools :: [AppPool] :: Advanced Settings ...

I ran into this very same issue in IIS7 on Server 2008 64bit. I found a setting under Application Pools::[AppPool]::Advanced Settings...

中找到了一个设置在设置对话框中,有一个"启用32位应用程序"布尔值。它的默认值为false。

In the Advanced Settings dialog, there is a "Enable 32-Bit Applications" boolean value. It's default is false.

将该值更改为true修复了我的所有ActiveX Server Create Object问题。

Changing that value to true fixed all my ActiveX Server Create Object problems.


这篇关于ASP应用程序无法在IIS7上创建COM对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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