Iis互操作COM DLL问题; Microsoft vbscript运行时错误'800a01ad'activex组件无法创建对象:'connman.connman' [英] Iis interop COM DLL issue; Microsoft vbscript runtime error '800a01ad' activex component can't create object: 'connman.connman'

查看:159
本文介绍了Iis互操作COM DLL问题; Microsoft vbscript运行时错误'800a01ad'activex组件无法创建对象:'connman.connman'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这最后8个小时之后,我想我会在这里发帖,以防万一有类似的问题。我已经搜索了与DLL的权限和注册相关的解决方案的答案,但是,由于这一切都在晚上的某个时间进行,我不知道是否自动安装了Server 2012 R2更新(我不管理服务器) ,一个异地工程师,谁正在查看事件日志)



首先出错:



After spending the last 8 hours on this,I thought I would post here, just in case somone has had a similar issue. I have googled for answers with solutions relating to permissions and registration of the DLL, however, since this was all working up until sometime during the night, I have no clue whether a Server 2012 R2 update was installed automatically (I dont look after the server, an off-site engineer does who is currently looking at event logs)

First the error:

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'Connman.ConnMan'





Connman是一个自定义VB.NET V4.0类DLL,它是互操作COM-Visible,可以进入我们的网络服务器。



< b>我尝试了什么:



通过Regasm在框架v4.0.30319文件夹中重新注册DLL,成功注册类型。



在IIS中,为网站启用了应用程序池中的32位,因为我们运行的是具有32位DLL的64位服务器。另外





检查DLLL的文件夹是否包含权限,包括IUSR,IWAM,当然还有网络匿名等。



剥离出与Connman类一起使用的命令,这里有几行代码,它只是在CreateObject上。





Connman is a custom VB.NET V4.0 Class DLL that is interop COM-Visible that goes onto our web server.

What I have tried:

Re-registered the DLL via Regasm in the framework v4.0.30319 folder, successfully registered types.

In IIS, enabled the 32bit in the application pool for the website, as we are running a 64bit server with 32bit DLLs. Also


Checking the folder of the DLLL to see is permissions have included IUSR, IWAM and of course web anonymous etc..

Stripping out the commands being used with Connman class, here are the several lines of code, of which it just falls over on the CreateObject.

Dim CONN
     Set  CONN = CreateObject("Connman.ConnMan")
        CONN.Dispose
     Set CONN = Nothing
     response.end()







所以代码只是创建对象并处理它。然而,在返回800a01ad错误之前,它并没有比创建对象更进一步。



使用VBS文件并运行CSCRIPT,我能够运行脚本而不会出现问题,不会返回任何错误,并且在创建和部署之后会有一些命令,它应该按照应有的方式运行 - 但尝试在ASP中运行它并且它只是摔倒了。



如果有人有任何建议我会很乐意看到它们当然,我感谢您花时间阅读本文和/或提出可能会有所改变的事情。







**添加一件事,Windows更新< has>安装了几个今天更新,我将调查他们,但KB的是4338815,4339093,433824,4338613。4338605,4338419和4338424 - 所以其中一个可能是干扰,但在卸载任何东西之前,我将有一个阅读,看看是否它们中有任何.net或IIS相关的东西。我读完后会更新这个问题**




So the code just create the object and disposes it. It doesnt get further than creating the object however before returning the 800a01ad error.

Using a VBS file and running through CSCRIPT, I am able to run the script without an issue, no error is returned and with some commands betewen the create and dispose, it operates as it should - but try and run it in ASP itself and it just falls over.

If anyone has any suggestions I would be happy to look at them and of course, I appreciate your time just reading this and /or suggesting something that might get this going.



** One thing to add to this, Windows update <has> installed several updated today, I am going to investigate them but the KB's are 4338815, 4339093, 433824, 4338613. 4338605, 4338419 and 4338424 - so one of these could be interfering, but before uninstalling anything, I will have a read and see if there is anything .net or IIS related in them. Will update this question once I have taken a read **

推荐答案

找到它。它是安全更新。有些事情发生了变化,我必须进入IIS,选择网站,打开高级,进入身份验证并从USR更改它并选择ApplicationAppPool。



所有工作现在我希望这可以帮助其他在2012 r2上加载补丁的人。祝你好运!
Found it. It WAS the security updates. Something has made a change and I had to go into IIS, select the site, open advanced, go into authentication and change it from USR and select ApplicationAppPool.

All working now so I hope this helps anyone else who loads the patches on 2012 r2. Good Luck !


这篇关于Iis互操作COM DLL问题; Microsoft vbscript运行时错误'800a01ad'activex组件无法创建对象:'connman.connman'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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