Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
VB6应用程序-运行时错误429:ActiveX组件可以';无法在Windows Server 2008 R2标准件上创建对象_Vb6_Runtime Error_Activex_Windows Server 2008 R2 - Fatal编程技术网

VB6应用程序-运行时错误429:ActiveX组件可以';无法在Windows Server 2008 R2标准件上创建对象

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

我遇到运行时错误429:ActiveX组件无法在运行于Windows Server 2008 r2标准版x64上的vb6应用程序上创建对象

使用相同的步骤,我可以在Windows7、10和WindowsServer2003上运行它

  • 复制程序文件夹
  • 使用%systemroot%/syswow64/regsvr32使用admin cmd注册所有dll和ocx文件
  • 我使用了一个名为“listdlls.exe”的工具,比较了应用程序在Windows7和WindowsServer2008R2上加载的DLL和OCX文件-没有丢失的文件。以下是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操作系统获取数据执行预防\u支持策略

    数据执行预防支持策略

    0

    我还禁用了UAC(用户帐户控制)

    有什么想法吗?版本差异是否足以导致这种情况,或者我还遗漏了什么


    干杯

    请使用
    ProcessMonitor
    来识别Windows Server 2008 r2标准版x64上的VB6程序未找到哪个COM组件


    我使用了这个工具,也没有任何状态未找到或被拒绝。另一种可能是,您的COM组件已找到,但无法加载。仍然使用
    ProcessMonitor
    ,您是否发现DLL加载有任何问题?可能您的某些COM组件还依赖于某些无法加载的DLL…您是否让listdlls.exe显示COM引用。。。???顺便说一句,只是猜测一下:您可以尝试运行MDAC安装程序。。。