none
Activation context generation failed RRS feed

  • Question

  • Recieved this error from a program that was developed and compiled on one machine and and ran properly on that one but when moving the executable to another machine the sxs error comes up.

    This is what I got from the event logger:

    Activation context generation failed for "C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\XFilter.dll". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found. Please use sxstrace.exe for detailed diagnosis.

    Here's the sxstrace log:

    =================
    Begin Activation Context Generation.
    Input Parameter:
        Flags = 0
        ProcessorArchitecture = AMD64
        CultureFallBacks = en-US;en
        ManifestPath = C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\XFilter.dll
        AssemblyDirectory = C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\
        Application Config File =
    -----------------
    INFO: Parsing Manifest File C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\XFilter.dll.
        INFO: Manifest Definition Identity is (null).
        INFO: Reference: Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
        INFO: Reference: Microsoft.VC80.DebugMFC,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
    INFO: Resolving reference Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
        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 C:\Windows\assembly\GAC_64\Microsoft.VC80.DebugCRT\8.0.50727.6195__1fc8b3b9a1e18e3b\Microsoft.VC80.DebugCRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\Microsoft.VC80.DebugCRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\Microsoft.VC80.DebugCRT.MANIFEST.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\Microsoft.VC80.DebugCRT\Microsoft.VC80.DebugCRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\Microsoft.VC80.DebugCRT\Microsoft.VC80.DebugCRT.MANIFEST.
                    INFO: Did not find manifest for culture Neutral.
                INFO: End assembly probing.
        ERROR: Cannot resolve reference Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
    ERROR: Activation Context generation failed.
    End Activation Context Generation.

    Any help is greatly appreciated.

    Wednesday, June 12, 2013 1:50 PM

Answers

All replies

  • ERROR: Cannot resolve reference Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
    ERROR: Activation Context generation failed.
    End Activation Context Generation.

    Any help is greatly appreciated.

    Microsoft.VC80.DebugCRT ,version="8.0.50727.6195" is missing on the target machine. The dll name should be msvcr80d.dll. You're running a debug binary on a production machine? Normally we install a release binary on a production machine and then we install the redistributable for this version of CRT.

    If its absolutely necessary to run a debug build you can find the redist for debug builds in the folder: C:\Program Files (x86)\Microsoft Visual Studio 8\VC\redist\Debug_NonRedist. Pick up one based on your application's architecture and bundle it along with your application.


    Blog: http://ntcoder.com/bab


    Posts are provided as is without warranties or guaranties.

    Wednesday, June 12, 2013 2:09 PM
    Moderator
  • Hi Nibu, thanks for your response. Now I have installed the release binary and still facing the issues.

    event logger:

    Activation context generation failed for "C:\Program Files (x86)\XXXXXX\XXXXX\ISAPIFilters\XFilter.dll". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found. Please use sxstrace.exe for detailed diagnosis.

    sxstrace log:

    =================
    Begin Activation Context Generation.
    Input Parameter:
        Flags = 0
        ProcessorArchitecture = AMD64
        CultureFallBacks = en-US;en
        ManifestPath = C:\Program Files (x86)\XXXXXX\XXXXXX\ISAPIFilters\XFilter.dll
        AssemblyDirectory = C:\Program Files (x86)\XXXXXX\XXXXXX\ISAPIFilters\
        Application Config File =
    -----------------
    INFO: Parsing Manifest File C:\Program Files (x86)\XXXXXX\XXXXXX\ISAPIFilters\XFilter.dll.
        INFO: Manifest Definition Identity is (null).
        INFO: Reference: Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
        INFO: Reference: Microsoft.VC80.MFC,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
    INFO: Resolving reference Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
        INFO: Resolving reference for ProcessorArchitecture amd64.
            INFO: Resolving reference for culture Neutral.
                INFO: Applying Binding Policy.
                    INFO: Find publisher policy at C:\Windows\WinSxS\manifests\amd64_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_09bd9a47facfb1f8.manifest
                    INFO: No binding policy redirect found.
                INFO: Begin assembly probing.
                    INFO: Did not find the assembly in WinSxS.
                    INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC80.CRT\8.0.50727.6195__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXXXX\XXXXXX\ISAPIFilters\Microsoft.VC80.CRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXXXX\XXXXXX\ISAPIFilters\Microsoft.VC80.CRT.MANIFEST.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXXXX\XXXXXX\ISAPIFilters\Microsoft.VC80.CRT\Microsoft.VC80.CRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXXXX\XXXXXX\ISAPIFilters\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.6195".
    ERROR: Activation Context generation failed.
    End Activation Context Generation.

    Please Advise.

    Thursday, June 13, 2013 9:03 AM
  • Hi,

    Its still looking for debugcrt!

    ==========================================

    Activation context generation failed for "C:\Program Files (x86)\XXXXXX\XXXXX\ISAPIFilters\XFilter.dll". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found. Please use sxstrace.exe for detailed diagnosis.

    ==========================================

    To be specific its searching for a 64 bit debug CRT having version 8.0.50727.6195. Are you sure you're doing things correctly here?


    Blog: http://ntcoder.com/bab


    Posts are provided as is without warranties or guaranties.

    Thursday, June 13, 2013 10:21 AM
    Moderator
  • Recieved this error from a program that was developed and compiled on one machine and and ran properly on that one but when moving the executable to another machine the sxs error comes up.

    This is what I got from the event logger:

    Activation context generation failed for "C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\XFilter.dll". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found. Please use sxstrace.exe for detailed diagnosis.

    Here's the sxstrace log:

    =================
    Begin Activation Context Generation.
    Input Parameter:
        Flags = 0
        ProcessorArchitecture = AMD64
        CultureFallBacks = en-US;en
        ManifestPath = C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\XFilter.dll
        AssemblyDirectory = C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\
        Application Config File =
    -----------------
    INFO: Parsing Manifest File C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\XFilter.dll.
        INFO: Manifest Definition Identity is (null).
        INFO: Reference: Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
        INFO: Reference: Microsoft.VC80.DebugMFC,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
    INFO: Resolving reference Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
        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 C:\Windows\assembly\GAC_64\Microsoft.VC80.DebugCRT\8.0.50727.6195__1fc8b3b9a1e18e3b\Microsoft.VC80.DebugCRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\Microsoft.VC80.DebugCRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\Microsoft.VC80.DebugCRT.MANIFEST.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\Microsoft.VC80.DebugCRT\Microsoft.VC80.DebugCRT.DLL.
                    INFO: Attempt to probe manifest at C:\Program Files (x86)\XXXX\XXXXX\ISAPIFilters\Microsoft.VC80.DebugCRT\Microsoft.VC80.DebugCRT.MANIFEST.
                    INFO: Did not find manifest for culture Neutral.
                INFO: End assembly probing.
        ERROR: Cannot resolve reference Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
    ERROR: Activation Context generation failed.
    End Activation Context Generation.

    Any help is greatly appreciated.

    You should install Visual studio in target machine. Debug binaries are not allowed to redistribute.

    Preparing a Test Machine To Run a Debug Executable


    Thanks, Renjith V R

    Thursday, June 13, 2013 10:44 AM
  • Sorry, I have copied the old log by mistake.

    Please find below the event log after changing the binary from debug to release.

    Activation context generation failed for "C:\Program Files (x86)\xxxxxx\xxxxxx\ISAPIFilters\xFilter.dll". Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found. Please use sxstrace.exe for detailed diagnosis.

    sxstrace log is same as above.

    Thursday, June 13, 2013 11:02 AM
  • Did you install the 64 bit runtimes? The error message says: I cannot find 64 bit msvcr80.dll having version 8.0.50727.6195.

    The above version is a security update...

    http://support.microsoft.com/kb/2538242?wa=wsignin1.0.

    You can download the VC8 redist for the update from here...

    http://www.microsoft.com/en-us/download/details.aspx?id=26347


    Blog: http://ntcoder.com/bab


    Posts are provided as is without warranties or guaranties.


    Thursday, June 13, 2013 12:07 PM
    Moderator