Dedicated SQL Server Hosting Specialist Dedicated SQL Server Hosting Specialist

hexadecimal value 0x00 is an invalid character, web site carshed when upgraded to .NET 3.5

Problem

When we upgraded to Microsotf .NET Framework 3.5, some web sites crashed. Here are error messages.

     Description: An error occurred during the parsing of a resource required to service this request.   
    Please review the following specific parse error details and modify your source file appropriately.
    

Parser Error Message: '.', hexadecimal value 0x00, is an invalid character. Line 2, position 1.

Source Error:

Line 1: <?xml version="1.0" encoding="utf-8"?>
Line 2: <xs:schema id="DataSetAdmin"
Line 3: <xs:annotation>
Line 4: <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Solution

Remove encoding attribute from your xml document.

From
<?xml version="1.0" encoding="utf-8"?>
To
<?xml version="1.0"?>

Navigator

Other How-Tos
External Windows Resources
External SQL Server Resources
External Webmaster Resources
External Developer Resources

Questions?

Please email to webmaster[$]dedicatedsqlserver.com.

Lite SQL Server

CPU: Intel Core 2 Duo E6320
CPU Speed: 1.86GHz
Cache: 4MB
RAM: 1GB RAM
Disk: 2x160B SATA
RAID: RAID 1
Bandwidth: 1000GB
Win2008 Web or Win2003 STD: Free
IP Addresses: 8
Monthly: $119.00

Detail...

Standard SQL Server

CPU: Quad-Core Xeon E5410
CPU Speed: 2.33GHz
Cache: 12MB
RAM: 2GB RAM
Disk: 2x146GB SCSI
RAID: RAID 1
Bandwidth: 1500GB
Win2008 Web or Win2003 STD: Free
IP Addresses: 8
Monthly: $259.00

Detail...