Search for:

Available article translations:

Installation of Microsoft .NET Framework 3.0 Service pack 1 fails

Article ID: 3986, created on Mar 5, 2008, last review on May 11, 2014

  • Operations Automation 5.x
  • Operations Automation 2.x



.NET Service Pack1 installation on the WSS host fails, and the following error message is logged in the Event Log (debugging needs to be enabled):

Event Type:     Error
Event Source:   System.ServiceModel.Install
Event Category: None
Event ID:       0
Date:           3/3/2008
Time:           11:43:03 PM
User:           N/A
Computer:       PEMWSSFE01
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.



The most likely explanation is that the following file has an incorrect encoding type:

e.g., it is in UTF-8, but UTF-16 is specified in the first line. The declared encoding type and the actual encoding type should not differ.



Check the encoding of web.config and adjust the first line accordingly. It should be as follows:

<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-16"?>
depending on the actual encoding.


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 hit 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
3. After you finish, remove verbose logging using the following commands:
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Debug /f
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Logging /f

caea8340e2d186a540518d08602aa065 80fcf07a72a3fc2739554dff85ce8fe7 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 614fd0b754f34d5efe9627f2057b8642

Was this article helpful?
Tell us how we may improve it.
Yes No
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification