From: Preference on 14 Dec 2006 13:08 Hi, I'm having problems installing an application in Windows Vista related to finding VC80 libraries in the target system. In VS 2005 I have created an ATL dll (with MFC support), and I created a Setup project for this dll. The Setup detects the merge modules that the project needs (ATL, MFC, CRT, and their policy files ). The manifest file for my dll is generated and embeded by VS. On XP SP2 I install the msi and it works fine. The dll is registered. Now I try to install this msi in Windows Vista (Version 6.0.6000) but it fails registering the dll. I try to register it manually with regsvr32 and the same problem. The events log says: "Error generating context activation for "c:\program files\testvista\TESTVISTA.DLL". Couldn't find dependant assembly Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0"...." sxstrace says: from Spanish version (sorry for the translation): ================= Start activation context generation Input parameter: Flags = 0 ProcessorArchitecture = x86 CultureFallBacks = es-ES;es ManifestPath = C:\Program Files\Preference\TestVista\TestVista.dll AssemblyDirectory = C:\Program Files\Preference\TestVista\ Application Config File = ----------------- INFORMATION: analizing manifest file C:\Program Files\Preference\TestVista\TestVista.dll. INFORMATION: manifest definition identity is (null) INFORMATION: reference: Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" INFORMATION: reference: Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" INFORMATION: reference: Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" INFORMATION: resolving reference Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". INFORMATION: resolving reference of ProcessorArchitecture x86. INFORMATION: resolving reference culture Neutral. INFORMATION: applying binding directive. INFORMATION: seraching edit directive in C:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.312_none_91939f3c671de810.manifest INFORMATION: assembly version redirected by edit directive. INFORMATION: directive identity is Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.312". INFORMATION: start assembly search. INFORMATION: try search manifest C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.312_none_10b2ee7b9bffc2c7.manifest. INFORMATION: manifest found in C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.312_none_10b2ee7b9bffc2c7.manifest. INFORMATION: end manifest search. INFORMATION: resolving reference Microsoft.VC80.CRT.mui,language="*",processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.312". INFORMATION: resolving reference of ProcessorArchitecture x86. INFORMATION: resolving reference culture es-ES. INFORMATION: applying binding directive. INFORMATION: couldn't find edit directive. INFORMATION: couldn't find binding directive redirection. INFORMATION: start assembly search. INFORMATION: couldn't find assembly in WinSxS. INFORMATION: try search manifest in C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT.mui\8.0.50727.312_es-ES_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL. INFORMATION: couldn't find reference to manifest culture es-ES. INFORMATION: send assembly search. INFORMATION: resolving reference culture es. INFORMATION: applying binding directive. INFORMATION: couldn't find edit directive. INFORMATION: couldn't find binding directive redirection. INFORMATION: start assembly search. INFORMATION: couldn't find assembly in WinSxS. INFORMATION: try search manifest en C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT.mui\8.0.50727.312_es_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL. INFORMATION: couldn't find reference to manifest culture es. INFORMATION: end assembly search. INFORMATION: resolving reference Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". INFORMATION: resolving reference of de ProcessorArchitecture x86. INFORMATION: resolving reference culture Neutral. INFORMATION: applying binding directive. INFORMATION: couldn't find edit directive. INFORMATION: couldn't find binding directive redirection. INFORMATION: start assembly search. INFORMATION: couldn't find assembly in WinSxS. INFORMATION: try search manifest C:\Windows\assembly\GAC_32\Microsoft.VC80.MFC\8.0.50608.0__1fc8b3b9a1e18e3b\Microsoft.VC80.MFC.DLL. INFORMATION: try search manifest C:\Program Files\Preference\TestVista\Microsoft.VC80.MFC.DLL. INFORMATION: try search manifest C:\Program Files\Preference\TestVista\Microsoft.VC80.MFC.MANIFEST. INFORMATION: try search manifest C:\Program Files\Preference\TestVista\Microsoft.VC80.MFC\Microsoft.VC80.MFC.DLL. INFORMATION: try search manifest C:\Program Files\Preference\TestVista\Microsoft.VC80.MFC\Microsoft.VC80.MFC.MANIFEST. INFORMATION: couldn't find reference to manifest culture Neutral. INFORMATION: end assembly search. ERROR: couldn't resolve reference Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". ERROR: error in activation context generation. End activation context generation Any idea about this problem? Thanks
From: Brian Muth on 14 Dec 2006 16:19 Try linking statically to your libraries. Your MFC runtime appears to be missing. Brian "Preference" <preference(a)newsgroup.nospam> wrote in message news:D9C0F4B0-BFD3-429A-A353-07C2B320A3CC(a)microsoft.com... > Hi, > > I'm having problems installing an application in Windows Vista related to > finding VC80 libraries in the target system. > > In VS 2005 I have created an ATL dll (with MFC support), and I created a > Setup project for this dll. The Setup detects the merge modules that the > project needs (ATL, MFC, CRT, and their policy files ). The manifest file > for > my dll is generated and embeded by VS. > > On XP SP2 I install the msi and it works fine. The dll is registered. > > Now I try to install this msi in Windows Vista (Version 6.0.6000) but it > fails registering the dll. I try to register it manually with regsvr32 and > the same problem. > > The events log says: "Error generating context activation for "c:\program > files\testvista\TESTVISTA.DLL". Couldn't find dependant assembly > Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0"...." > > sxstrace says: from Spanish version (sorry for the translation): > > ================= > Start activation context generation > Input parameter: > Flags = 0 > ProcessorArchitecture = x86 > CultureFallBacks = es-ES;es > ManifestPath = C:\Program Files\Preference\TestVista\TestVista.dll > AssemblyDirectory = C:\Program Files\Preference\TestVista\ > Application Config File = > ----------------- > INFORMATION: analizing manifest file C:\Program > Files\Preference\TestVista\TestVista.dll. > INFORMATION: manifest definition identity is (null) > INFORMATION: reference: > Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" > INFORMATION: reference: > Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" > INFORMATION: reference: > Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" > INFORMATION: resolving reference > Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". > INFORMATION: resolving reference of ProcessorArchitecture x86. > INFORMATION: resolving reference culture Neutral. > INFORMATION: applying binding directive. > INFORMATION: seraching edit directive in > C:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.312_none_91939f3c671de810.manifest > INFORMATION: assembly version redirected by edit directive. > INFORMATION: directive identity is > Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.312". > INFORMATION: start assembly search. > INFORMATION: try search manifest > C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.312_none_10b2ee7b9bffc2c7.manifest. > INFORMATION: manifest found in > C:\Windows\WinSxS\manifests\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.312_none_10b2ee7b9bffc2c7.manifest. > INFORMATION: end manifest search. > INFORMATION: resolving reference > Microsoft.VC80.CRT.mui,language="*",processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.312". > INFORMATION: resolving reference of ProcessorArchitecture x86. > INFORMATION: resolving reference culture es-ES. > INFORMATION: applying binding directive. > INFORMATION: couldn't find edit directive. > INFORMATION: couldn't find binding directive redirection. > INFORMATION: start assembly search. > INFORMATION: couldn't find assembly in WinSxS. > INFORMATION: try search manifest in > C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT.mui\8.0.50727.312_es-ES_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL. > INFORMATION: couldn't find reference to manifest culture es-ES. > INFORMATION: send assembly search. > INFORMATION: resolving reference culture es. > INFORMATION: applying binding directive. > INFORMATION: couldn't find edit directive. > INFORMATION: couldn't find binding directive redirection. > INFORMATION: start assembly search. > INFORMATION: couldn't find assembly in WinSxS. > INFORMATION: try search manifest en > C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT.mui\8.0.50727.312_es_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL. > INFORMATION: couldn't find reference to manifest culture es. > INFORMATION: end assembly search. > > INFORMATION: resolving reference > Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". > INFORMATION: resolving reference of de ProcessorArchitecture x86. > INFORMATION: resolving reference culture Neutral. > INFORMATION: applying binding directive. > INFORMATION: couldn't find edit directive. > INFORMATION: couldn't find binding directive redirection. > INFORMATION: start assembly search. > INFORMATION: couldn't find assembly in WinSxS. > INFORMATION: try search manifest > C:\Windows\assembly\GAC_32\Microsoft.VC80.MFC\8.0.50608.0__1fc8b3b9a1e18e3b\Microsoft.VC80.MFC.DLL. > INFORMATION: try search manifest C:\Program > Files\Preference\TestVista\Microsoft.VC80.MFC.DLL. > INFORMATION: try search manifest C:\Program > Files\Preference\TestVista\Microsoft.VC80.MFC.MANIFEST. > INFORMATION: try search manifest C:\Program > Files\Preference\TestVista\Microsoft.VC80.MFC\Microsoft.VC80.MFC.DLL. > INFORMATION: try search manifest C:\Program > Files\Preference\TestVista\Microsoft.VC80.MFC\Microsoft.VC80.MFC.MANIFEST. > INFORMATION: couldn't find reference to manifest culture Neutral. > INFORMATION: end assembly search. > ERROR: couldn't resolve reference > Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". > ERROR: error in activation context generation. > End activation context generation > > > Any idea about this problem? > > Thanks >
From: Walter Wang [MSFT] on 14 Dec 2006 22:49 Hi, This might be a problem in the merge module of vc 8.0 redist. Would you please try to download the standalone redist package and installed it on Vista: #Download details: Visual C++ 2005 Redistributable Package (x86) http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13- 9C99-220B62A191EE&displaylang=en and try to manually register your dll manually to see if it works. If this works, then we can continue the troubleshooting of the merge modules. Thanks. Sincerely, Walter Wang (wawang(a)online.microsoft.com, remove 'online.') Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications. If you are using Outlook Express, please make sure you clear the check box "Tools/Options/Read: Get 300 headers at a time" to see your reply promptly. Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights.
From: Preference on 15 Dec 2006 03:45 Hi, Before installing VC++ Redistributable package, Dependency walker says that MFC80U.DLL, MSVCR80.DLL and ATL80.DLL are missing. The msi and manual registration fails. After installing VC++ Redistributable package the msi works. But if I try to register manually the dll fails again. Dependency walker says that only MSVCR80.DLL is missing. The version of the installed MFC80U.dll and ATL80 ..dll is 8.0.50727.42, but the version of MSVCR80.dll is 8.0.50727.312.
From: Tim Roberts on 16 Dec 2006 02:02 Preference <preference(a)newsgroup.nospam> wrote: > > I'm having problems installing an application in Windows Vista related to >finding VC80 libraries in the target system. >... > Now I try to install this msi in Windows Vista (Version 6.0.6000) but it >fails registering the dll. I try to register it manually with regsvr32 and >the same problem. > > The events log says: "Error generating context activation for "c:\program >files\testvista\TESTVISTA.DLL". Couldn't find dependant assembly >Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0"...." In the one year since the release of VS2005, the side-by-side stuff has already caused me, personally, FAR more aggravation, frustration, hair-pulling and headaches than ANY case of DLL hell since the Microsoft's comctl version stupidity during te Windows 3.1 days. SxS is a bizarre and baroque solution to a problem that has been adequately solved for at least a decade. It is a huge and unnecessary complication. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
|
Next
|
Last
Pages: 1 2 3 Prev: Difference in isatty() between VC7 and VC8 Next: Strange error, "LNK2005: already defined??" |