Dedicated SQL Server Hosting Specialist LiveZilla Live Help
Sales: sales@dedicatedsqlserver.com
Support: support@dedicatedsqlserver.com
Phone: 409-877-4238



hexadecimal value 0x00 is an invalid character, web site crashed 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

Express SQL Server

CPU: Intel Core 2 Duo E8400
CPU Speed: 3.00GHz
Cache: 6MB
RAM: 4GB RAM
Disk: 2x320GB SATA
RAID: RAID 1
Bandwidth: 1000GB
Win2008 Web or Win2003 STD: Free
IP Addresses: 8
Monthly: $149.00

Detail...

Standard SQL Server

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

Detail...