Workarounds for some .NET Framework 3.5 beta 2 install issues we have seen so far
Since the release of the .NET Framework 3.5 beta 2 a couple of weeks ago, we have run into a few installation issues that I wanted to let folks know about. The good news is that all of these issues will be fixed in time for the final release of the .NET Framework 3.5, but the bad news is that they can cause beta 2 to fail to install and you may need to apply one of the workarounds listed below.
Issue 1: The IIS Admin Service is disabled
The .NET Framework 3.5 beta 2 will fail to install if setup is being run on a system that has IIS installed, but the IIS Admin service is set to the disabled state.
This issue will cause the following information to be written to the verbose MSI log file for the .NET Framework 3.5 component (named %temp%\dd_net_framework35_MSI*.txt):
DDSet_Error: CFxInstaller::SetupComponents SetupScriptMaps failed. Error code: 0x80070422
You can use the following steps to work around this issue:
- Click on the Start menu, choose Run, type services.msc and click OK
- In the Services snap-in that appears, locate the service named IIS Admin Service, right-click on it and choose Properties
- In the Startup type drop-down, change the value from Disabled to Automatic and click OK to save the changes
- Re-run .NET Framework 3.5 beta 2 setup
- (optionally) Change the Startup type back to Disabled after .NET Framework 3.5 beta 2 setup completes
Issue 2: The IIS Admin Service is not installed
The .NET Framework 3.5 beta 2 will fail to install if setup is being run on a system that has parts of IIS installed, but does not have the IIS Admin Service installed.
This issue will cause the following information to be written to the verbose MSI log file for the .NET Framework 3.5 component (named %temp%\dd_net_framework35_MSI*.txt):
DDSet_Error: CFxInstaller::SetupComponents SetupScriptMaps failed. Error code: 0x80070424
You can use the following steps to work around this issue:
- Click on the Start menu, choose Run, type appwiz.cpl and click OK
- In the Add/Remove Programs control panel (or the Programs and Features control panel in Windows Vista), choose the item on the left side that is named Add/Remove Windows Features (or Turn Windows Features on or off in Windows Vista)
- Locate the Internet Information Services (IIS) feature and choose to either fully uninstall IIS, or choose to install the World Wide Web Service feature of IIS
- Re-run .NET Framework 3.5 beta 2 setup
- (optionally) Go back to the Add/Remove Windows Features control panel and change the install state of IIS features back to what they were before step 3 above after .NET Framework 3.5 beta 2 setup completes
Issue 3: Insufficient privileges to modify application host config file
In some cases, the .NET Framework 3.5 beta 2 will fail to install if the user account that setup is running under does not have permission to modify IIS configuration files located at %windir%\system32\inetsrv\config.
This issue can cause one of the following entries to be written to the verbose MSI log file for the .NET Framework 3.5 component (named %temp%\dd_net_framework35_MSI*.txt):
DDSet_Error: CWebServerHandlers::Install m_spAppHostAdminManager->CommitChanges failed. Error code: 0x80070002
DDSet_Error: CWebServerHandlers::Install m_spAppHostAdminManager->CommitChanges failed. Error code: 0x80070005
We know of an issue with the NoImpersonate attribute not being set for this custom action that could cause this type of error, but have had trouble reproducing this issue in our test labs. In most cases, you can use the following steps to work around this issue:
- Click on the Start menu, choose All Programs, then Accessories, then right-click on the Command Prompt item and choose Run as administrator
- Run .NET Framework 3.5 beta 2 setup from the administrator cmd prompt that appears
If the above work around does not help, you can use the following steps as an alternative:
- Click on the Start menu, choose Run, type appwiz.cpl and click OK
- In the Add/Remove Programs control panel (or the Programs and Features control panel in Windows Vista), choose the item on the left side that is named Add/Remove Windows Features (or Turn Windows Features on or off in Windows Vista)
- Locate the Internet Information Services (IIS) feature and choose to fully uninstall IIS
- Re-run .NET Framework 3.5 beta 2 setup
- (optionally) Go back to the Add/Remove Windows Features control panel and re-install IIS after .NET Framework 3.5 beta 2 setup completes
Comments
Anonymous
August 08, 2007
PingBack from http://msdnrss.thecoderblogs.com/2007/08/09/workarounds-for-some-net-framework-35-beta-2-install-issues-we-have-seen-so-far/Anonymous
August 08, 2007
PingBack from http://testsubdomain.netmoviehost.com/workarounds-for-some-net-framework-35-beta-2-install-issues-we/Anonymous
August 10, 2007
Aaron, I just wanted to thank you for all the excellent information you are putting forth on this! Especially how to find the debug and what to do once you have your specific error! By far you have provided the best info!! Thanks!! a slightly fustrated installerAnonymous
August 20, 2007
My team owns the installation experience for Visual Studio 2008 and the .NET Framework 3.5. One difficultyAnonymous
August 20, 2007
PingBack from http://msdnrss.thecoderblogs.com/2007/08/20/how-to-report-an-installation-or-setup-problem-with-vs2008-beta-or-net-framework-35-beta/