[英]ActiveX component can't create object in Classic ASP
The error is: 错误是:
ActiveX component can't create object for aBRR.Generator
The code on that line is: 该行上的代码是:
set taMaker = createObject("aBRR.Generator")
Classic-asp in the app pool has Enable 32 bit to true. 应用程序池中的Classic-asp具有启用32位为true。
What am I missing? 我想念什么? Thanks in advance. 提前致谢。
If your site is using Anonymous authentication: 如果您的站点使用匿名身份验证:
Note that if your site runs under a special user you created for that purpose, this may break other things. 请注意,如果您的网站在为此目的而创建的特殊用户下运行,则可能会破坏其他功能。 But for all of my standard sites with Anonymous auth, this fixed it. 但是对于我所有带有匿名身份验证的标准站点,此问题已得到修复。
In my case, I found that there was both a 32-bit and a 64-bit version of regasm.exe. 就我而言,我发现regasm.exe既有32位版本又有64位版本。 As in: 如:
C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\regasm.exe C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\ regasm.exe
vs. 与
C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\regasm.exe C:\\ WINDOWS \\ Microsoft.NET \\ Framework64 \\ v4.0.30319 \\ regasm.exe
I also had the AppPool set for 32 bit applications, so it was important that I use the 32bit regasm.exe to register the .dll in order to avoid the ActiveX error. 我还为32位应用程序设置了AppPool,因此使用32位regasm.exe注册.dll以避免ActiveX错误很重要。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.