Параллельная ошибка при запуске программы с манифестом и с другого компьютера - PullRequest
0 голосов
/ 08 февраля 2019

У меня есть приложение VB6, в котором используется пакет библиотек VB, созданных с использованием платформы .NET 4.7.2.

Всякий раз, когда я пытаюсь запустить приложение с другого компьютера при наличии манифеста приложения, я получаю сообщение об ошибке «неправильная конфигурация бок о бок».Когда я говорю «другой компьютер», я имею в виду запуск программы с помощью ярлыка на центральном сервере приложений, на котором находится приложение (т. Е. \ 192 .... \ c $ \ appFolder).

Я попытался встроитьпроявляются в .exe, но безрезультатно.

Вот мой файл sxstrace.

=================
Begin Activation Context Generation.
Input Parameter:
    Flags = 0
    ProcessorArchitecture = AMD64
    CultureFallBacks = en-US;en
    ManifestPath = \\192.168.9.9\c$\Run\VB-RX\WMS\WMS.exe.Manifest
    AssemblyDirectory = \\192.168.9.9\Run\VB-RX\WMS\
    Application Config File = 
-----------------
INFO: Parsing Manifest File \\192.168.9.9\c$\Run\VB-RX\WMS\WMS.exe.Manifest.
    INFO: Manifest Definition Identity is WMS.exe,processorArchitecture="ia64",version="1.0.0.0".
    INFO: Reference: RXCOMM,processorArchitecture="ia64",version="1.0.0.0"
    INFO: Reference: Integracao,processorArchitecture="ia64",version="1.0.0.0"
    INFO: Reference: PNXML,processorArchitecture="ia64",version="1.0.0.0"
    INFO: Reference: RSPrint,processorArchitecture="ia64",version="1.0.0.0"
INFO: Resolving reference RXCOMM,processorArchitecture="ia64",version="1.0.0.0".
    INFO: Resolving reference for ProcessorArchitecture ia64.
        INFO: Resolving reference for culture Neutral.
            INFO: Applying Binding Policy.
                INFO: No binding policy redirect found.
            INFO: Begin assembly probing.
                INFO: Did not find the assembly in WinSxS.
                INFO: Attempt to probe manifest at \\192.168.9.9\c$\Run\VB-RX\WMS\RXCOMM.DLL.
                INFO: Attempt to probe manifest at \\192.168.9.9\c$\Run\VB-RX\WMS\RXCOMM.MANIFEST.
                INFO: Attempt to probe manifest at \\192.168.9.9\c$\Run\VB-RX\WMS\RXCOMM\RXCOMM.DLL.
                INFO: Attempt to probe manifest at \\192.168.9.9\c$\Run\VB-RX\WMS\RXCOMM\RXCOMM.MANIFEST.
                INFO: Did not find manifest for culture Neutral.
            INFO: End assembly probing.
    ERROR: Cannot resolve reference RXCOMM,processorArchitecture="ia64",version="1.0.0.0".
ERROR: Activation Context generation failed.
End Activation Context Generation.

=================
Begin Activation Context Generation.
Input Parameter:
    Flags = 0
    ProcessorArchitecture = Wow32
    CultureFallBacks = en-US;en
    ManifestPath = \\192.168.9.9\c$\Run\VB-RX\WMS\WMS.exe.Manifest
    AssemblyDirectory = \\192.168.9.9\c$\Run\VB-RX\WMS\
    Application Config File = 
-----------------
INFO: Parsing Manifest File \\192.168.9.9\c$\Run\VB-RX\WMS\WMS.exe.Manifest.
    INFO: Manifest Definition Identity is WMS.exe,processorArchitecture="ia64",version="1.0.0.0".
    INFO: Reference: RXCOMM,processorArchitecture="ia64",version="1.0.0.0"
    INFO: Reference: Integracao,processorArchitecture="ia64",version="1.0.0.0"
    INFO: Reference: PNXML,processorArchitecture="ia64",version="1.0.0.0"
    INFO: Reference: RSPrint,processorArchitecture="ia64",version="1.0.0.0"
INFO: Resolving reference RXCOMM,processorArchitecture="ia64",version="1.0.0.0".
    INFO: Resolving reference for ProcessorArchitecture ia64.
        INFO: Resolving reference for culture Neutral.
            INFO: Applying Binding Policy.
                INFO: No binding policy redirect found.
            INFO: Begin assembly probing.
                INFO: Did not find the assembly in WinSxS.
                INFO: Attempt to probe manifest at \\192.168.9.9\c$\Run\VB-RX\WMS\RXCOMM.DLL.
                INFO: Attempt to probe manifest at \\192.168.9.9\c$\Run\VB-RX\WMS\RXCOMM.MANIFEST.
                INFO: Attempt to probe manifest at \\192.168.9.9\c$\Run\VB-RX\WMS\RXCOMM\RXCOMM.DLL.
                INFO: Attempt to probe manifest at \\192.168.9.9\c$\Run\VB-RX\WMS\RXCOMM\RXCOMM.MANIFEST.
                INFO: Did not find manifest for culture Neutral.
            INFO: End assembly probing.
    ERROR: Cannot resolve reference RXCOMM,processorArchitecture="ia64",version="1.0.0.0".
ERROR: Activation Context generation failed.
End Activation Context Generation.


А вот мой манифест:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <assemblyIdentity
        name="WMS.exe"
        version="1.0.0.0"
        processorArchitecture="ia64" />
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                    name="RXCOMM"
                    version="1.0.0.0"
            processorArchitecture="ia64" />
        </dependentAssembly>
    </dependency>           
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                    name="Integracao"
                    version="1.0.0.0"
            processorArchitecture="ia64" />
        </dependentAssembly>
    </dependency>           
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                    name="PNXML"
                    version="1.0.0.0"
            processorArchitecture="ia64" />
        </dependentAssembly>
    </dependency>           
    <dependency>
        <dependentAssembly>
            <assemblyIdentity
                    name="RSPrint"
                    version="1.0.0.0"
            processorArchitecture="ia64" />
        </dependentAssembly>
    </dependency>           
</assembly>
...