1.
C:\WINDOWS\system32>SxsTrace Trace -logfile:SxsTrace.etl
Tracing started. Trace will be saved to file SxsTrace.etl.
Press Enter to stop tracing...
2.
然后运行会出错的软件,出错之后,stop tracing
3.
C:\WINDOWS\system32>sxstrace Parse -logfile:SxSTrace.etl -outfile:SxSTrace.txt
Parsing log file SxSTrace.etl...
Parsing finished! Output saved to file SxSTrace.txt.
4.打开文本文件
=================Begin Activation Context Generation.Input Parameter: Flags = 0 ProcessorArchitecture = AMD64 CultureFallBacks = en-US;en ManifestPath = C:\Program Files (x86)\Google\Chrome\Application\chrome.exe AssemblyDirectory = C:\Program Files (x86)\Google\Chrome\Application\ Application Config File = -----------------INFO: Parsing Manifest File C:\Program Files (x86)\Google\Chrome\Application\chrome.exe. INFO: Manifest Definition Identity is (null). INFO: Reference: Microsoft.Windows.Common-Controls,language="*",processorArchitecture="*",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0" INFO: Reference: 72.0.3626.119,language="*",type="win32",version="72.0.3626.119"INFO: Resolving reference Microsoft.Windows.Common-Controls,language="*",processorArchitecture="*",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0". INFO: Resolving reference for ProcessorArchitecture AMD64. 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 probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\WINDOWS\assembly\GAC_64\Microsoft.Windows.Common-Controls\6.0.0.0_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.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_64\Microsoft.Windows.Common-Controls\6.0.0.0_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL. INFO: Did not find manifest for culture en. INFO: End assembly probing. INFO: Resolving reference for culture Neutral. INFO: Applying Binding Policy. INFO: Auto Servicing Policy redirected assembly version. INFO: Post policy assembly identity is Microsoft.Windows.Common-Controls,processorArchitecture="AMD64",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.16299.967". INFO: Begin assembly probing. INFO: Attempt to probe manifest at C:\WINDOWS\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.967_none_15cddebc93602933.manifest. INFO: Manifest found at C:\WINDOWS\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.967_none_15cddebc93602933.manifest. INFO: End assembly probing.INFO: Resolving reference Microsoft.Windows.Common-Controls.mui,language="*",processorArchitecture="AMD64",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.16299.967". INFO: Resolving reference for ProcessorArchitecture AMD64. 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 probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\WINDOWS\assembly\GAC_64\Microsoft.Windows.Common-Controls.mui\6.0.16299.967_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.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_64\Microsoft.Windows.Common-Controls.mui\6.0.16299.967_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.mui.DLL. INFO: Did not find manifest for culture en. INFO: End assembly probing.INFO: Resolving reference 72.0.3626.119,language="*",type="win32",version="72.0.3626.119". INFO: Resolving reference for ProcessorArchitecture 72.0.3626.119,language="*",type="win32",version="72.0.3626.119". INFO: Resolving reference for culture en-US. INFO: Applying Binding Policy. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. 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 binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Did not find manifest for culture en. INFO: End assembly probing. 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 C:\Program Files (x86)\Google\Chrome\Application\72.0.3626.119.DLL. INFO: Attempt to probe manifest at C:\Program Files (x86)\Google\Chrome\Application\72.0.3626.119.MANIFEST. INFO: Attempt to probe manifest at C:\Program Files (x86)\Google\Chrome\Application\72.0.3626.119\72.0.3626.119.DLL. INFO: Attempt to probe manifest at C:\Program Files (x86)\Google\Chrome\Application\72.0.3626.119\72.0.3626.119.MANIFEST. INFO: Did not find manifest for culture Neutral. INFO: End assembly probing. ERROR: Cannot resolve reference 72.0.3626.119,language="*",type="win32",version="72.0.3626.119".ERROR: Activation Context generation failed.End Activation Context Generation.