|
| ||||||||||
| Tags: visual c 2005 |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Problem installing Microsoft Visual C++ 2005
'vcredist_x86.exe' on my Windows Vista computer, I got the following error: "Error 1935 An error occurred during the installation of assembly component Microsoft Visual C++ 2005 Redistributable. Microsoft VC80.ATL.type="win32".version="8.0.50.727.762".publicKeyTOken="1fc8b9a1e183b".processor Architecture="x86". Please refer to Help and Support for more information". Although the Microsoft web site does not indicate that 'vcredist_x86.exe' is supported under Vista, the company that wrote the application that requires 'vcredist_x86.exe' to run assures me that it does run under Vista, that it is part of their normal instal package for their application, and that something is wrong with my computer. Can anyone shed any light on this please? Wfeg |
|
#2
| |||
| |||
| Re: Problem installing Microsoft Visual C++ 2005
Hi Wfeg, Did you see an HRESULT in the error message? (usually comes after the "Please refer to Help and Support for more information", will be a number like 0x800736FD) In broad terms, the VCRedist_x86.exe package is supported on Vista and should install without error. So, your vendor is basically correct. However, it is having trouble installing on this particular machine (or machines). The "1935" is a standard MSI installer error. These error messages are documented here: http://msdn2.microsoft.com/en-us/library/aa372835.aspx Error 1935 is "An error occurred during the installation of assembly '[6]'. Please refer to Help and Support for more information. HRESULT: [3]. {{assembly interface: [4], function: [5], component: [2]}}" MSI running on Windows Vista and Windows XP can install "side-by-side" assemblies. Assemblies can be COM components, or Win32 DLLs. The concept behind Side-by-side assemblies is that several versions of the same DLL can exist on the system at the same time, "side by side". In the past , updating shared DLLs with newer versions caused many application errors and lead to the so-called "DLL Hell". With Side-by-Side, each app gets the version of the shared DLL it likes best. These Side-by-Side files are stored under C:\Windows\winsxs ("SxS" is the common abbreviation for Side-by-Side). The problem you're seeing is that the VC Redist package is trying to install the Active Template Library version 8.0 DLL (ATL80.DLL) into the Side-by-Side Assembly cache (C:\Windows\winsxs). For some reason, it cannot do so. The exact reason will probably be indicated by the HRESULT. If you don't see an HRESULT in the visible error message, look in the Windows Event Log (under Administrative Tools) for events with a source of "SideBySide" - these might shed more light on the exact nature of the error. In Vista, there is a diagnostic tool for troubleshooting Side-by-Side errors, called sxstrace. This might also shed some light on the problem. To use sxstrace: - open a command prompt as Administrator and cd to a scratch directory - start tracing running, with a log file you specify: C:\TEMP>sxstrace trace -logfile:myvctrace.etl - run VCRedist_x86.exe and observe the point of failure (error message); - alt-tab back to Command Prompt and stop tracing: C:\TEMP>sxstrace stoptrace The myvctrace.etl file is a binary file, in Event Tracing for Windows (ETW) format ("etl" extension = event trace log). You need to run it through a parse command to turn it into readable text: C:\TEMP>sxstrace parse -logfile:myvctrace.etl -outfile:myvctrace.txt Now open myvctrace.txt in Notepad or other text editor, and see what it says. I have to give a caveat here: sxstrace is good for detecting problems when an application cannot locate a side-by-side assembly, such as if there is a missing DLL. I don't know how well it works for problems *installing* a DLL into the cache, rather than accessing the DLLs from an application. But it's definitely worth a shot. The other thing you'd want to check is what versions of ATL80.DLL are already installed, under C:\Windows\winsxs. Many applications will want to install ATL80.DLL; so it is quite possible the version the Redist is trying to install is already on the system. The problem could be that it cannot overwrite the existing files. This would only apply if they have the same Public Key token - versions of ATL80.DLL with a different token should not be a problem (I think). Other folks might have extra ideas for you ... hope this helps a bit. Good luck! -- Andrew McLaren amclar (at) optusnet dot com dot au |
|
#3
| |||
| |||
|
Andrew Thank you for your very detailed reply. I really appreciate the effort you went to in explaining the problem to me. I get a very similar error trying to instal Apple iTunes updates now (they used to instal OK). In this case, I get the HRESULT 0x8007054F. The event log for the C++ Redistributable package vcredist_x86.exe says: 'Product: Microsoft Visual C++ 2005 Redistributable -- Error 1935.An error occurred during the installation of assembly 'Microsoft.VC80.ATL,type="win32",version="8.0.50727.762",publicKeyToken="1fc8b3b9a1e18e3b",processor Architecture="x86"'. Please refer to Help and Support for more information. HRESULT: 0x8007054F. assembly interface: IAssemblyCacheItem, function: Commit, component: {97F81AF1-0E47-DC99-A01F-C8B3B9A1E18E}' The HRESULT is exactly the same as in the case of iTunes instal, i.e. HRESULT: 0x8007054F. I have tried sxstrace.exe, but I got no alphanumeric output when I saved it to a text file, so it gave me no help. Maybe I should try it again and wait a lot longer time for it to complete? There are 2 versions of ATL80.DLL installed on my Vista computer dated 03-Apr-07 and 12-Jul-07, located in folders C:\Windows\winsxs\x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.42_none_dc990e4797f81af1, and C:\Windows\winsxs\x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.762_none_11ecb0ab9b2caf3c, respectively. Thanks for your assistance- maybe you could comment on the above information for me. |
|
#4
| |||
| |||
| Re: Problem installing Microsoft Visual C++ 2005
Hi, I have exactly the same problem - I have .NET Framework SP 1 installed, the 'empirical' method did not work for me and I will try the forensic method and post the results when I have finished. Michael |
|
#5
| |||
| |||
| Re: Problem installing Microsoft Visual C++ 2005
I am having the same problem and have done the 'forensic' method; At the end I still received the error however I do have a large log file that will hopefully tell us what is going on. How do you want the log file? Thanks Michael |
|
#6
| |||
| |||
| Re: Problem installing Microsoft Visual C++ 2005
Hi Michael, Well personally, I don't want the log file at all :-) What I was suggesting for the OP was that he create a log file and then examine it *himself*. What you'll be looking for are indications of what Visual Studio Installer was doing at the time it stopped. So you'll see error messages like "access denied", "file not found", etc. Some of the errors may be in the form of Winerror codes such as 0x00000005, or HRESULTs such as 0x80070005, for "Access denied". Your corrective actions will depend on what errors you find. If you want to compile programs with Visual Studio, you will need to get pretty good at understanding inscrutable errors in masses of compile and link messages. So this is a good head start. The log file is a plain text file so you can open it using Notepad or your favourite text editor. Hope it helps, - |
|
#7
| |||
| |||
| Re: Problem installing Microsoft Visual C++ 2005
Sorry about the misunderstanding ;) There seem to be two errors codes; MSI (c) (30:EC) [22:46:41:132]: Note: 1: 1708 This note is the line under --logging stopped-- and therefore I thought it might have something to do with the problem and why setup failes. The last file it accesed was ; c:\Users\Michael\AppData\Local\Temp\22e61a.msi Setup deletes this file when it fails and so I have no access to it. and Installation success or error status: 1603 I have Googled both errors and I have tried all of the 'work arounds' I could find - any ideas?? |
|
#8
| |||
| |||
| Re: Problem installing Microsoft Visual C++ 2005
I have found nothing yet... Thanks for the advice on microsoft.public.vstudio.general - I will check there soon. Do you think reinstalling Vista solve the problem? Thanks |
|
#9
| |||
| |||
| Possible Solution
Anyone need a possible solution? I ran into the same issue this weekend and figured out what the root cause was. It really had nothing to do with Visual C++ or the other applications that you guys were trying to install. It was really a problem with Windows Update and possibly Windows Installer. In my scenario windows update thought that it was in the middle of installing updates for about 5 months on this particular PC, and was preventing the installation of anything else that would need the resources that it uses to do its installations. I had to remove the pending.xml file to stop it from doing that and from there it was pretty much smooth sailing. My advice to anyone who has this problem is to first check to see if the can install Windows updates as well as run sfc /scannow. |
|
#10
| ||||
| ||||
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Problem installing Microsoft Visual C++ 2005" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming in Visual Studio 2005 for Microsoft Project | mannuraama | Microsoft Project | 7 | 29-06-2011 09:02 PM |
| Vista 64 problem installing Visual Studio 2005 | Kiran123 | Software Development | 5 | 19-05-2009 09:43 PM |
| problem installing visual studio 2005 in windows server 2003 | prachi | Windows Software | 3 | 17-10-2008 09:51 AM |
| Microsoft Visual C++ Redistributable 2005 error | Dasaecor | Vista Help | 2 | 21-10-2007 05:01 PM |
| Problem Installing Visual Studio 2005 Service Pack 1 | Ringo | Small Business Server | 1 | 13-02-2007 03:26 PM |