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

  • Parallels Operations Automation 5.x
  • Parallels 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 88f03d534768583cdc338be1ee1bf0ef 64cafed7cc15bceb3b240d8c2f92dce3 c65eaff5333f2b87eda32041b8ac987f bb8d08f557ff7e4b314b6bbaa846b034

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