Visual Studio 2008 SP1 on Windows Server 2008 X64
- Hi,
I am currently running Windows Server 2008 on an x64 machine, together with Visual Studio 2008 9.0.21022.8 RTM and .Net 3.5.
I am in process of upgrading both to SP1. During the installation of VS90sp1-KB945140-ENU.exe the .Net 3.5 sp1 framework update keeps failing (also if the standalone 3.5 sp1 update is used, the error message is the same).
This is the dd_dotnetfx35error.txt log:
[08/13/08,12:39:50] Microsoft .NET Framework 2.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (x64) (CBS). MSI returned error code 1
[08/13/08,12:40:00] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (x64) (CBS) is not installed.
[08/13/08,12:55:26] Microsoft .NET Framework 2.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (x64) (CBS). MSI returned error code 1
[08/13/08,12:55:35] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (x64) (CBS) is not installed.
[08/13/08,13:02:46] Microsoft .NET Framework 2.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (x64) (CBS). MSI returned error code 1
[08/13/08,13:02:54] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (x64) (CBS) is not installed.
[08/13/08,15:28:59] Microsoft .NET Framework 2.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (x64) (CBS). MSI returned error code 1
---
I tried to install 2.0 sp1 on my machine but this is not allowed since windows server 2008 as Vista does not allow the install of that .net version. I also did the update to sp1 on my Vista 32bit machine and all worked fine there.
What am I missing and how do we get this fixed?
Many thanks for your help.
- Edited byBenedikt Kratz Wednesday, August 13, 2008 2:03 PMforgot to add number in title
Answers
- From what I've been able to tell so far, the .NET Framework 2.0 SP2 and 3.0 SP2 OS update packages do not support installing on checked builds of Windows Vista or Windows Server 2008. Please let us know if you're able to install on a release build of Windows Server 2008 on your system.
Error code 14098 (which translates to 0x80073712 in hexadecimal) means that there is some kind of corruption in the OS component store, which is used to keep track of the install state of OS updates. Since the .NET Framework 2.0 and 3.0 are OS components on Windows Vista and Windows Server 2008, they rely on the OS component store to be in a good state to be able to install correctly. There is a tool at http://support.microsoft.com/kb/947821 that is designed to help fix this type of corruption, so I'd suggest trying that out for that error case.
Thanks!- Marked As Answer byBenedikt Kratz Tuesday, August 19, 2008 1:39 PM
All Replies
- Is the Windows Server 2008 Release version?
Error code 1 indicates that some package is not applicable on the system, due to beta product or corrupted registry
Please double check if you have installed any prereleased (beta or CTP) versions on the machine, remove them first.
And also Aaron Stebner has a blog regarding this kind of problem: http://blogs.msdn.com/astebner/archive/2007/08/24/4548657.aspx
Thanks.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Edited byFigo FeiMSFT, ModeratorFriday, August 15, 2008 5:07 AMadd link
- I am using Windows Server 2008 Enterprise: Windows Server 6.0 (Build 6001: Service Pack 1) (Debug)
I did a clean install and installed no beta's or CTPs. I looked at Aaron's blog and did the things that are suggested there. I even removed all the frameworks from my installation also the features and roles from Windows 2008.
What I find interesting is that apparently in 2008 .Net 2.0 SP2 is installed. This is also the only .Net framework that remained after my big cleanup. (C:\Windows\Microsoft.NET\Framework64\v2.0.50727 and C:\Windows\Microsoft.NET\Framework\v2.0.50727).
When trying to install the .net 2.0 separately from the .net 3.5 sp1 redistributable package using info from http://dmitrysotnikov.wordpress.com/2008/05/15/powershell-on-server-core/ the installer tells me that it cannot alter the existing .net 2.0 sp2 installation since it is a part of the operating system. It tells me to use windows update for all future updates to .Net Framework.
What I think is happening here is that the installer for 3.5 is desperately seeking for 2.0 sp1 whereas on 2008 systems that version is not available at all since it uses 2.0 sp2! Is this a bug of the installer?
Thanks Benedikt
The .NET Framework 2.0 SP1 and 3.0 SP1 are part of the OS on Windows Server 2008 and you cannot remove them. However, you do not need to remove them in order to install the .NET Framework 3.5 SP1. This scenario is somewhat confusing because the .NET Framework 3.5 SP1 log file states that it is trying to install the .NET Framework 2.0 SP1, but it is actually trying to install .NET 2.0 SP2. The name used in the log file was not changed between the .NET Framework 3.5 and 3.5 SP1.
For this error code 1, we typically need to look at the following log files:
- %temp%\dd_dotnetfx35install.txt
- %windir%\logs\cbs\cbs.log
Could you please zip those logs, upload them to a file server somewhere, and post a link to where you uploaded them so we can take a further look?
Thanks!- Thans for your answer,
the files can be found here:
http://maximus.uvt.nl/~bkratz/net35sp1/
Thanks for your help!
Benedikt
- Thank you for posting these log files. The CBS log looks much shorter than we are used to seeing. Could you please try to reproduce the installation failure once more and see if the file cbs.log contains new information from this new installation session, and if so, upload an updated copy of it?
Also, you mentioned previously that you have Windows Server 6.0 (Build 6001: Service Pack 1) (Debug) - does this mean you are running a debug version of Windows Server 2008? Could you check and see what information is reported when you run winver.exe and if possible, post a screenshot of what is listed there?
Thanks! - I get the same error, but instead of error code 1 I get the erro code 14098.
The server here runs the Windows Server 2008 Enterprise Edition (Portuguese). There's no third part software installed since this a brand new server machine and the only software installed are those provided as updates by Windows Update.
And, as Benedikt said, my log also shows that the installer wants to install .NET Framework 2.0 SP1 when, as Aaron said, it is actually trying to install .NET 2.0 SP2.
Is there a way to download .NET 2.0 SP2? That, I guess, should fix this problem, doesn't it?
- Hi Aaron,
thanks again. I copied a new version of the cbs to the above url and added a screenshot of winver .
I installed the checked version of Windows Server 2008 Enterprise from our MSDN subscription. That is how the (Debug) ended up in my version.
Details:
File Name: en_windows_server_2008_enterprise_edition _checked_build_x64_dvd_72462.iso
Date Posted (UTC): 7/10/2008 7:06:42 AM
SHA1: C84FF67963519EA3F72DF77FC352B09B1FCC8D48 ISO/CRC: 61678AC3
Just to give you the complete picture of the current situation: I have Visual Studio Team System Development 2008 (x64) and SQL 2005 Enterprise Server (x64) installed together with McAfee VirusScan Enterprise 8.5. I also tried the install with the VirusScan removed and not running, it did not make any difference.
I think however that irrespective of the installed Windows version the upgrade should work, but since I tried a lot of solutions to this problem I think it might be better to try a clean install of the free build Windows version.
Regards and many thanks,
Benedikt
- Dear Aaron,
thank you for clearing up this issue. I'll install a release version and let you know here whether that worked for me.
Regards,
Benedikt
- Hi. I think I am having the same problem, just on 32-bit Windows 2008. I started from a fresh Windows 2008 install on my Dell D820 laptop. I got drivers installed, added the .NET/IIS features and laid down VS2008 and Team Explorer. Next, I tried to install VS SP1, and it failed, so I decided to try to get .NET 3.5 SP1 installed and it's failing. Here's dd_dotnetfx35error:
[08/18/08,12:28:21] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code 23
[08/18/08,12:34:06] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI returned error code 1
[08/18/08,13:07:52] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code 23
[08/18/08,13:39:54] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code 23
[08/18/08,13:40:16] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0SP1 (CBS) is not installed.
[08/18/08,13:44:26] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code 23
[08/18/08,13:44:54] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0SP1 (CBS) is not installed.
[08/18/08,14:23:20] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code 23
[08/18/08,14:23:49] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0SP1 (CBS) is not installed.
I tried running the MSU from KB947821, but it says "This update does not apply to your system." I tried the .NET 2.0- KB110806 update I saw others mentioning, and I get the same "does not apply". I ran the .NET Framework check tool, and I get this:
WINDOWS VERSION: 6.0.6001
POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLM\SOFTWARE\Microsoft\NET Framework
Setup\NDP\v2.0.50727" /v "SP"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
SP REG_DWORD 0x2ERROR: NetFx2.0 SP1 is not installed
I re-installed .NET 3.5 RTM to no avail.
What should I try next? I don't have much invested (apart from VS 2008 setup) in this machine, so I'm not against re-installing Windows 2008 if that'll help. But since it's a fresh install, I can't see what would be messed up about my system.
Thanks a million for your hard work on these setup issues (and frustrated users). Windows Server 2008 comes with the .NET Framework 2.0 SP1 and 3.0 SP1, and the KB110806 package is the standalone .NET Framework 2.0 SP1 package. That is why you cannot install that package on Windows Server 2008 - it is already there and you don't need to install it separately.
The interesting thing here is that it looks like you have the .NET Framework 2.0 SP2 registry value already set on your system. Could you please try the 2nd set of steps listed at http://blogs.msdn.com/astebner/archive/2008/08/01/8803442.aspx to see if you already have a version of the .NET Framework 2.0 SP2 and/or 3.0 SP2 on your system, and if so, remove them and try to install the .NET Framework 3.5 SP1 again. Running VS 2008 SP1 setup will attempt to install the .NET Framework 3.5 SP1 for you.
If this still fails, could you please gather the following log files and other information, zip them, upload them to a file server and post a link to where you uploaded them so we can take a further look:- %temp%\dd_dotnetfx35install.txt
- %windir%\logs\cbs\cbs.log
- A screenshot of what appears when you run WinVer.exe on your system
Thanks!- Hi Aaron, thanks for the fast response.
Only the KB for .NET 2 SP2 was installed. Removing that led me to the same place when I tried to install. I put the files in the cbs.zip here:
http://drop.io/help2008
Thanks! - Hello all,
I downloaded the System Update Readiness Tool for Windows Server 2008 x64 Edition (KB947821) [August 2008] and installed. After that, I rebooted the machine and tried to install the ASP.NET 3.5 SP1. And, guess what? It did install correctly this time on my Windows Server 2008 x64.
Thank you very much Mr. Aaron.
- Dear Nakahara,
just to inform the community here, the download you provide does not run on the checked version of windows server 2008.
regards,
Benedikt - Dear Aaron,
installing a clean release version of Windows Server 2008 resolved the issue.
Thanks again,
Benedikt - Hello Benedikt,
Strange... What message did you receive by trying to install the System Update Readiness Tool for Windows Server 2008 x64 (KB947821) [August 2008]? Because here I have downloaded and installed it perfectly. I'm using the Windows Server 2008 x64 and the only software installed were those provided by Microsoft as updates. And the link points to the update but for the x64 version of server 2008. Are you using that version or is it x86?
regards,
Nakahara
- Thanks for the updates.
I hadn't seen those links to download the Windows Server 2008 version of the System Update Readiness Tool, so I will update my blog with that information.
I will also update my blog to indicate that the checked/debug builds of Windows Vista and Windows Server 2008 will not allow you to install the .NET Framework 2.0 or 3.0 OS update packages that are packaged with the .NET Framework 3.5 and 3.5 SP1.
Thanks! Hi Michael - I'm sorry, I missed the link earlier with the logs for your scenario. The logs you posted show that the .NET Framework 3.0 SP2 is the package that is failing on your system. The CBS log shows the following error for each attempt to install:
2008-08-18 14:33:56, Error CBS Exec: Failed to commit CSI transaction to execute changes. hr: 0x80070017
I haven't encountered this type of error in the past. It appears to be having trouble reading from the file at the following location on your system:
\Device\HarddiskVolume2\Windows\winsxs\FileMaps\$$_system32_en-us_429cd25484dc6f94.cdf-ms
\SystemRoot\WinSxS\FileMaps\$$_system32_en-us_429cd25484dc6f94.cdf-ms
Could you try running a hard disk scanning tool to see if there are any bad files/sectors or anything like that?
Thanks! Aaron- Dear Nakahara,
I tried the x64 version from the link you provided. I have no doubt it worked for you given that you run a "Normal" (release) version of Windows 2008 server, but it did not work for me on the DEBUG (CHECKED) version of Windows 2008 server. Just to inform you: the error it gave was something like this update does not apply to your system or something similar.
After I did a fresh install of a release version of Windows Server 2008 I did not need to install the update readiness tool as the update for 3.5sp1 worked like a charm out of the box.
Regards,
Benedikt
- Yea, it appears that the disk is starting to become toast. I'll get a new drive and re-install everything and hopefully it'll all Just Work. Thanks for helping me out here!
- I am running a virgin Windows Server 2008 x64 but it is an MSDN download and then tried to install SQL Server which tried to install .Net 3.5 SP1 and the same errors as everyone else. The log entries are:
[09/24/08,15:10:35] Microsoft .NET Framework 2.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (x64) (CBS). MSI returned error code 1
[09/24/08,15:10:39] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (x64) (CBS) is not installed.
[09/24/08,15:13:36] Microsoft .NET Framework 2.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (x64) (CBS). MSI returned error code 1
[09/24/08,15:13:39] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (x64) (CBS) is not installed.
[09/24/08,15:22:36] Microsoft .NET Framework 2.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (x64) (CBS). MSI returned error code 1
[09/24/08,15:22:38] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (x64) (CBS) is not installed.
Is the problem the result of running an MSDN version of the O/S?
Ken - The .NET Framework 2.0 and 3.0 service packs will not install on Windows Vista or Windows Server 2008 if you installed the checked/debug build of the OS. They should install fine on retail/release versions of Windows though, regardless of whether or not you downloaded it from MSDN.
I posted some more information about this issue at http://blogs.msdn.com/astebner/archive/2008/08/25/8895729.aspx, including a list of log files that can help narrow this down if your OS is not a checked/debug version of Windows.
Can you take a look at that and see if it matches your scenario? If it doesn't, please upload your log files and provide a link to where we can download them on this forum post so we can take a further look.
Thanks! Aaron - After reading all of the above, and checking my winver and discovering it is Windows Server 2008 (Debug), I am inclined to think the confusion may stem from the download site at the Microsoft Subscription center. The build I am currenly using is the Standard_Enterprise_x64... and after installing, it is incapable of updating from the Windows Update site. It will say it has checked for updates, but it does not download them. Perhaps the build is only a debug build although it doesn't appear so on the subscription site. I was unable to install SQL 2008 on this copy, but after installing IIS7, the system accepted SQL 2005. After running SP3 against 2005, the sql service will no longer start.
Since this type of failure is so wide-spread, I am guessing that the download build on the subscription site is bad. I'll verify. I re-downloaded last night (3/23/09) and will try to run it as a clean install again to see if the issue repeats.
Jamie

