2017-01-26 62 views
0

我得到运行时错误429:ActiveX组件无法创建对象在vb6上运行Windows Server 2008 r2标准版x64 - 在Virtual PC上全新安装。VB6应用程序 - 运行时错误429:ActiveX组件无法在Windows Server 2008 R2上创建对象标准

我可以在Windows 7中,10和Windows Server 2003没有问题,使用相同的步骤

运行
  1. 复制程序文件夹
  2. 注册使用%SYSTEMROOT%所有的DLL和OCX文件与管理CMD/SysWow64资料/ REGSVR32

我用了一个名为“listdlls.exe”的工具,我对比了什么DLL和OCX文件在Windows 7和Windows Server 2008 R2上的应用程序加载的 - 没有丢失的文件。只是这10个文件有不同的版本:该应用程序使用

ntdll.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23572) 

kernelbase.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23572) 

advapi32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23572) 

ole32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23392) 

msctf.dll on Windows 7 (6.1.7600.16385) and on Windows Server 2008 r2 (6.1.7601.23572) 

oleaut32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23569) 

cryptsp.dll on Windows 7 (6.1.7600.16385) and on Windows Server 2008 r2 (6.1.7601.23471) 

crypt32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23566) 

asycfilt.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23569) 

olepro32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23452) 

所有其他文件都是相同的版本和大小!所以没有其他区别。

程序以管理员身份在帐户集下以管理员身份运行。

设置我的DEP(数据执行保护),以0

C:\ WINDOWS \ Syswow64资料> WMIC OS获取DataExecutionPrevention_SupportPolicy

DataExecutionPrevention_SupportPolicy

而且我禁用UAC(用户帐户控制)

有什么想法?版本差异是否足以导致这种情况,或者是否有其他我缺少的东西?

干杯!

+0

...你有没有得到listdlls.exe来显示COM引用...?顺便说一句,你可以尝试运行一个MDAC安装程序... – deblocker

回答

0

请使用ProcessMonitor以确定您的Windows Server 2008 R2 R2标准版x64上的VB6程序未找到哪个COM组件。

https://technet.microsoft.com/en-gb/sysinternals/processmonitor.aspx

+0

我用这个工具也没有状态没有找到或被拒绝 –

+0

其他的可能性是你的COM组件被发现,但无法加载。仍然使用'ProcessMonitor',您是否发现DLL加载有问题?也许你的某些COM组件也依赖于某些无法加载的DLL。 –

相关问题