VB6应用程序-运行时错误429:ActiveX组件可以';无法在Windows Server 2008 R2标准件上创建对象
我遇到运行时错误429:ActiveX组件无法在运行于Windows Server 2008 r2标准版x64上的vb6应用程序上创建对象 使用相同的步骤,我可以在Windows7、10和WindowsServer2003上运行它VB6应用程序-运行时错误429:ActiveX组件可以';无法在Windows Server 2008 R2标准件上创建对象,vb6,runtime-error,activex,windows-server-2008-r2,Vb6,Runtime Error,Activex,Windows Server 2008 R2,我遇到运行时错误429:ActiveX组件无法在运行于Windows Server 2008 r2标准版x64上的vb6应用程序上创建对象 使用相同的步骤,我可以在Windows7、10和WindowsServer2003上运行它 复制程序文件夹 使用%systemroot%/syswow64/regsvr32使用admin cmd注册所有dll和ocx文件 我使用了一个名为“listdlls.exe”的工具,比较了应用程序在Windows7和WindowsServer2008R2上加载的DLL
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操作系统获取数据执行预防\u支持策略
数据执行预防支持策略
0
我还禁用了UAC(用户帐户控制)
有什么想法吗?版本差异是否足以导致这种情况,或者我还遗漏了什么
干杯 请使用
ProcessMonitor
来识别Windows Server 2008 r2标准版x64上的VB6程序未找到哪个COM组件
我使用了这个工具,也没有任何状态未找到或被拒绝。另一种可能是,您的COM组件已找到,但无法加载。仍然使用
ProcessMonitor
,您是否发现DLL加载有任何问题?可能您的某些COM组件还依赖于某些无法加载的DLL…您是否让listdlls.exe显示COM引用。。。???顺便说一句,只是猜测一下:您可以尝试运行MDAC安装程序。。。