ERROR: Cannot resolve reference Microsoft.VC80.CRT

Discussion in 'Windows 64bit' started by pankajtakawale, Apr 20, 2007.

  1. I've built simple C program on MSVC8 (2005) with platform setting-x64
    and code-generation: /MD.
    /MD: is to link CRT dynamically.
    >From dependency walker i can see hello.exe depending upon MSVC80.dll


    depending upon MSVCRT.dll.....

    Im trying to run this program from WInPE 2.0.
    It gives me error:
    "The application has failed to start because its side-by-side
    configuration is incorrect, Please see the application event log for
    detail."

    When i build program with /MT (statically link with runtime), it runs
    fine.
    On WInPE using depends-walker, i can see MSVCR80.dll is missing.
    I copied only MSVCR80.dll to WinPE, depends-walker now shows valid
    dependency; but still program showes same error.

    After googling I found that I need to install vcredist_x64.exe on
    target computer.
    but vcredist_x64.exe cant run on WinPE, error is "specified program
    can not be run"

    Following is trace from sxstrace utility.....

    Please advice.....

    =================
    Begin Activation Context Generation.
    Input Parameter:
    Flags = 0
    ProcessorArchitecture = AMD64
    CultureFallBacks = en-US;en
    ManifestPath = X:\Windows\System32\Sample\hello.exe
    AssemblyDirectory = X:\Windows\System32\Sample\
    Application Config File =
    -----------------
    INFO: Parsing Manifest File X:\Windows\System32\Sample\hello.exe.
    INFO: Manifest Definition Identity is (null).
    INFO: Reference:
    Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"
    INFO: Resolving reference
    Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
    INFO: Resolving reference for ProcessorArchitecture amd64.
    INFO: Resolving reference for culture Neutral.
    INFO: Applying Binding Policy.
    INFO: No publisher policy found.
    INFO: No binding policy redirect
    found.
    INFO: Begin assembly probing.
    INFO: Did not find the assembly in
    WinSxS.
    INFO: Attempt to probe manifest at X:
    \Windows\assembly
    \GAC_64\Microsoft.VC80.CRT\8.0.50727.762__1fc8b3b9a1e18e3b
    \Microsoft.VC80.CRT.DLL.
    INFO: Attempt to probe manifest at X:
    \Windows\System32\Sample
    \Microsoft.VC80.CRT.DLL.
    INFO: Attempt to probe manifest at X:
    \Windows\System32\Sample
    \Microsoft.VC80.CRT.MANIFEST.
    INFO: Attempt to probe manifest at X:
    \Windows\System32\Sample
    \Microsoft.VC80.CRT\Microsoft.VC80.CRT.DLL.
    INFO: Attempt to probe manifest at X:
    \Windows\System32\Sample
    \Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST.
    INFO: Did not find manifest for
    culture Neutral.
    INFO: End assembly probing.
    ERROR: Cannot resolve reference
    Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
    ERROR: Activation Context generation failed.
    End Activation Context Generation.

    The application has failed to start because its side-by-side
    configuration is incorrect
    http://msdn2.microsoft.com/en-us/library/ms235291(VS.80).aspx
     
    pankajtakawale, Apr 20, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter Welk

    DHCP will not resolve

    Peter Welk, Oct 13, 2004, in forum: Wireless Networking
    Replies:
    8
    Views:
    3,360
    =?Utf-8?B?QW5kcmVz?=
    Nov 22, 2004
  2. Arawak
    Replies:
    2
    Views:
    628
    Governor Swill
    Feb 4, 2005
  3. GRL

    Error reference in the guide of Excel

    GRL, Oct 23, 2005, in forum: Computer Support
    Replies:
    5
    Views:
    2,342
  4. Bob
    Replies:
    3
    Views:
    852
    Paige D'Winter
    Oct 23, 2007
  5. Andy Barkl
    Replies:
    3
    Views:
    336
Loading...

Share This Page