SYMPTOMS
.NET Service Pack1 installation on the WSS host fails, the following error mesage is logged in the Event Log (debuging needs to be enabled):Event Type: Error
Event Source: System.ServiceModel.Install 3.0.0.0
Event Category: None
Event ID: 0
Date: 3/3/2008
Time: 11:43:03 PM
User: N/A
Computer: PEMWSSFE01
Description:
System.Configuration.ConfigurationErrorsException: There is no Unicode byte order mark. Cannot switch to Unicode. (c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config) ---> System.Xml.XmlException: There is no Unicode byte order mark. Cannot switch to Unicode. CAUSE
Most probably the following file has wrong encoding:c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config RESOLUTION
Check encoding of the web.config and adjust the first line accordingly, it should be:<?xml version="1.0" encoding="UTF-8"?>
or
<?xml version="1.0" encoding="UTF-16"?> Additional information
By default, debugging is disabled, so you do not receive any informative error message when msi installation fails, to enable verbose logging, follow the steps below:1. Open Start->Run, type cmd and press enter
2. Run these commands in the cmd prompt:
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Debug /t REG_DWORD /d 7 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Logging /t REG_SZ /d voicewarmupx! /f reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Debug /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Logging /f Keywords: wss .net sp1