Using ASP.NET 3.5 and MySQL (thru DevArt MyDirect.NET).. .
On the production server I get a "Parser Error" for every XSD dataset. It
works perfect on my dev machine. But, on the production server I get the
error.
To troubleshoot the issue I went back to my dev machine and changed all the
connectionstrin gs from localhost to the remote/production server db and made
sure everything works fine. I then uploaded all the files to the production
server and this is the error I get... (It happens with all my XSD
datasets...)
Server Error in '/' Application.
Parser Error
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: Failed to generate code. Exception of type
'System.Data.De sign.InternalEx ception' was thrown.
Source Error:
Line 1: <?xml version="1.0" encoding="utf-8"?>
Line 2: <xs:schema id="dsCompanyTy pes"
targetNamespace ="http://tempuri.org/dsCompanyTypes. xsd"
xmlns:mstns="ht tp://tempuri.org/dsCompanyTypes. xsd"
xmlns="http://tempuri.org/dsCompanyTypes. xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="u rn:schemas-microsoft-com:xml-msdata"
xmlns:msprop="u rn:schemas-microsoft-com:xml-msprop"
attributeFormDe fault="qualifie d" elementFormDefa ult="qualified" >
Line 3: <xs:annotatio n>
Source File: /App_Code/DAL/dsCompanyTypes. xsd Line: 1
Version Information: Microsoft .NET Framework Version:2.0.507 27.3053;
ASP.NET Version:2.0.507 27.3053
On the production server I get a "Parser Error" for every XSD dataset. It
works perfect on my dev machine. But, on the production server I get the
error.
To troubleshoot the issue I went back to my dev machine and changed all the
connectionstrin gs from localhost to the remote/production server db and made
sure everything works fine. I then uploaded all the files to the production
server and this is the error I get... (It happens with all my XSD
datasets...)
Server Error in '/' Application.
Parser Error
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: Failed to generate code. Exception of type
'System.Data.De sign.InternalEx ception' was thrown.
Source Error:
Line 1: <?xml version="1.0" encoding="utf-8"?>
Line 2: <xs:schema id="dsCompanyTy pes"
targetNamespace ="http://tempuri.org/dsCompanyTypes. xsd"
xmlns:mstns="ht tp://tempuri.org/dsCompanyTypes. xsd"
xmlns="http://tempuri.org/dsCompanyTypes. xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="u rn:schemas-microsoft-com:xml-msdata"
xmlns:msprop="u rn:schemas-microsoft-com:xml-msprop"
attributeFormDe fault="qualifie d" elementFormDefa ult="qualified" >
Line 3: <xs:annotatio n>
Source File: /App_Code/DAL/dsCompanyTypes. xsd Line: 1
Version Information: Microsoft .NET Framework Version:2.0.507 27.3053;
ASP.NET Version:2.0.507 27.3053
Comment