From: pankajtakawale on 20 Apr 2007 08:37 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
|
Pages: 1 Prev: UAC has to be turned off to run MS Office 2007 Next: Primary and Secondary IDE Channel |