2017-01-26 66 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。 –

相關問題