Checking for missing VC runtime components with System Tools Sxstrace

Source: Internet
Author: User
Tags vc runtime

Enter sxstrace at a command prompt that is run by the administrator to obtain the following help:

C:\>sxstracewinsxs tracing Utility.Usage:SxsTrace [options]options:   trace-logfile:filename [-nostop]       Enabling tracing for SxS.       Tracing log is saved to FileName.       If-nostop is specified, won't prompt to stop tracing.   Parse-logfile:filename-outfile:parsedfile  [-filter:appname]       Translate The raw trace file into a human readable Format and save the result to Parsedfile.       Use-filter option to filter the output.   Stoptrace       Stop The trace if it is not stopped before. Example:  sxstrace trace-logfile:sxstrace.etl          sxstrace parse-logfile:sxstrace.etl-outfile:sxstrace.txt

Options:

Trace starts tracing and generates a trace log file.

Parse parses the trace log file as a text file.

Stoptrace stop tracking.

How to use:

1) at the command prompt that the administrator runs, enter the following command to start the trace

C:\>sxstrace Trace-logfile:sxstrace.etltracing started. Trace would be saved-file sxstrace.etl.Press Enter to stop tracing ...

2) Start a problematic program (here is an example of a Thunder.exe)

Click OK to close the error prompt.

3) Return to the command prompt and press ENTER to stop the trace. Sxstrace.etl file has been generated, then enter the following command to parse Sxstrace.etl

C:\>sxstrace parse-logfile:sxstrace.etl-outfile:sxstrace.txtparsing log File Sxstrace.etl ... Parsing finished! Output saved to file Sxstrace.txt.c:\>notepad sxstrace.txtc:\>

Open Sxstrace.txt

=================begin Activation Context generation.input parameter:flags = 0ProcessorArchitecture = Wow32culturefallbacks = En-us;enmanifestpath = C:\Program Files (x86) \thunder\program\thunder.exeassemblydirectory = C : \program Files (x86) \thunder\programapplication Config file =-----------------info:parsing Manifest file C:\Program Fi Les (x86) \thunder\program\thunder.exe.info:manifest Definition Identity is (null). INFO:Reference:Microsoft.VC90.CRT , processorarchitecture= "x86", publickeytoken= "1fc8b3b9a1e18e3b", Type= "Win32", version= "9.0.21022.8" INFO: Reference:microsoft.vc90.atl,processorarchitecture= "x86", publickeytoken= "1fc8b3b9a1e18e3b", Type= "Win32", version= "9.0.21022.8" info:resolving reference microsoft.vc90.crt,processorarchitecture= "x86", publickeytoken= " 1fc8b3b9a1e18e3b ", type=" Win32 ", version=" 9.0.21022.8 ". Info:resolving Reference for ProcessorArchitecture WOW64.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 on WinSxS.INFO:Attempt to Probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.CRT\9.0.21022.8__1fc8b3b9a1e18e3b\ Microsoft.VC90.CRT.DLL.INFO:Did not find manifest for culture Neutral.INFO:End Assembly probing.INFO:Resolving Referenc E for processorarchitecture x86.INFO:Resolving reference for culture Neutral.INFO:Applying Binding Policy.INFO:Find Pub Lisher Policy at C:\Windows\WinSxS\manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9158_ None_f47f259ef656232a.manifestINFO:Publisher Policy redirected Assembly version.INFO:Post policy assembly identity is M Icrosoft. VC90. Crt,processorarchitecture= "x86", publickeytoken= "1fc8b3b9a1e18e3b", Type= "Win32", version= "9.0.30729.9158". INFO: Begin assembly probing.INFO:Attempt to probe manifest at C:\Windows\WinSxS\manifests\x86_microsoft.vc90.crt_ 1fc8b3b9a1e18e3b_9.0.30729.9158_none_5091b51ebcb97cdc.manifest.info:manifEST found at C:\Windows\WinSxS\manifests\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9158_none_ 5091b51ebcb97cdc.manifest.info:end Assembly probing.INFO:Resolving Reference microsoft.vc90.crt.mui,language= " & #x2a; ", processorarchitecture=" x86 ", publickeytoken=" 1fc8b3b9a1e18e3b ", Type=" Win32 ", version=" 9.0.30729.9158 ". Info:resolving reference for ProcessorArchitecture WOW64.INFO:Resolving reference for culture en-us.info:applying Bin Ding 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_32\Microsoft.VC90.CRT.mui\9.0. 30729.9158_en-us_1fc8b3b9a1e18e3b\microsoft.vc90.crt.mui.dll.info:did not find manifest for culture en-us.info:end Assembly probing.INFO:Resolving Reference for culture en.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_32\Microsoft.VC90.CRT.mui\9. 0.30729.9158_en_1fc8b3b9a1e18e3b\microsoft.vc90.crt.mui.dll.info:did not find manifest for culture en.INFO:End Assembly probing.INFO:Resolving Reference for ProcessorArchitecture x86.INFO:Resolving reference for Culture En-us.info : Applying binding Policy.INFO:No publisher policy Found.INFO:No binding policy redirect Found.INFO:Begin Assembly prob Ing.INFO:Did not find the assembly in WinSxS.INFO:Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90 . Crt.mui\9.0.30729.9158_en-us_1fc8b3b9a1e18e3b\microsoft.vc90.crt.mui.dll.info:did not find manifest for culture  En-us.info:end Assembly probing.INFO:Resolving Reference for culture en.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 WINSX S.info:attempt to probe manifest at C:\WiNdows\assembly\gac_32\microsoft.vc90.crt.mui\9.0.30729.9158_en_1fc8b3b9a1e18e3b\  Microsoft.VC90.CRT.mui.DLL.INFO:Did not find manifest for culture en.INFO:End Assembly probing.INFO:Resolving Reference Microsoft.vc90.atl,processorarchitecture= "x86", publickeytoken= "1fc8b3b9a1e18e3b", Type= "Win32", version= " 9.0.21022.8 ". Info:resolving reference for ProcessorArchitecture WOW64.INFO:Resolving reference for culture Neutral.INFO:Applying binding Policy.INFO:No publisher policy Found.INFO:No binding policy redirect Found.INFO:Begin a ssembly Probing.INFO:Did not find the assembly in WinSxS.INFO:Attempt to probe manifest at C:\Windows\assembly\GAC_32\Mi Crosoft. VC90. Atl\9.0.21022.8__1fc8b3b9a1e18e3b\microsoft.vc90.atl.dll.info:did not find manifest for culture Neutral.INFO:End Assembly probing.INFO:Resolving Reference for ProcessorArchitecture x86.INFO:Resolving reference for Culture neutral.in Fo: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:\Window S\assembly\gac_32\microsoft.vc90.atl\9.0.21022.8__1fc8b3b9a1e18e3b\microsoft.vc90.atl.dll.info:attempt to probe Manifest at C:\Program Files (x86) \thunder\program\microsoft.vc90.atl.dll.info:attempt to probe manifest at C:\Program F Iles (x86) \thunder\program\microsoft.vc90.atl.manifest.info:attempt to probe MANIFEST at C:\Program Files (x86) \ Thunder\program\microsoft.vc90.atl\microsoft.vc90.atl.dll.info:attempt to probe manifest at C:\Program Files (x86) \ Thunder\program\microsoft.vc90.atl\microsoft.vc90.atl.manifest.info:did not find MANIFEST for culture Neutral.info: END assembly probing. Error:cannot Resolve reference microsoft.vc90.atl,processorarchitecture= "x86", publickeytoken= "1fc8b3b9a1e18e3b", Type= "Win32", version= "9.0.21022.8". Error:activation Context generation failed. End Activation Context Generation.
Sxstrace.txt

Search for error, find description:

Error:cannot Resolve reference microsoft.vc90.atl,processorarchitecture= "x86", publickeytoken= "1fc8b3b9a1e18e3b", Type= "Win32", version= "9.0.21022.8". Error:activation Context generation failed.

This means that the VC90 runtime is missing. Then go to Microsoft to download this runtime installation to fix the runtime dependency problem.

All versions of VC + + Runtime: https://support.microsoft.com/en-us/kb/2977003

Excerpts are as follows:

Visual Studio (VC + + 12.0) Microsoft Visual C + + redistributable Packages for Visual Studio 2013http://www.microsoft.com /en-us/download/details.aspx?id=40784visual Studio (VC + + 11.0) Microsoft Visual C + + redistributable Packages for Visual Studio Update 4http://www.microsoft.com/en-us/download/details.aspx?id=30679visual Studio (VC + + 10.0) Sp1microsoft Visual C + + Service Pack 1 Redistributable Package MFC Security updatehttp://www.microsoft.com/download/ En/details.aspx?id=26999visual Studio (VC + + 9.0) Sp1microsoft Visual C + + Service Pack 1 Redistributable Package MFC Security updatehttp://www.microsoft.com/download/en/details.aspx?id=26368visual Studio 2005 (VC + + 8.0) Sp1microsoft Visual C + + 2005 Service Pack 1 Redistributable Package MFC Security updatehttp://www.microsoft.com/download/ en/details.aspx?id=26347

-

Checking for missing VC runtime components with System Tools Sxstrace

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.