B
Bobby Edward
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
connectionstrings 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.Design.InternalException' was thrown.
Source Error:
Line 1: <?xml version="1.0" encoding="utf-8"?>
Line 2: <xs:schema id="dsCompanyTypes"
targetNamespace="http://tempuri.org/dsCompanyTypes.xsd"
xmlns:mstns="http://tempuri.org/dsCompanyTypes.xsd"
xmlns="http://tempuri.org/dsCompanyTypes.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:msprop="urn:schemas-microsoft-com:xml-msprop"
attributeFormDefault="qualified" elementFormDefault="qualified">
Line 3: <xs:annotation>
Source File: /App_Code/DAL/dsCompanyTypes.xsd Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.3053;
ASP.NET Version:2.0.50727.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
connectionstrings 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.Design.InternalException' was thrown.
Source Error:
Line 1: <?xml version="1.0" encoding="utf-8"?>
Line 2: <xs:schema id="dsCompanyTypes"
targetNamespace="http://tempuri.org/dsCompanyTypes.xsd"
xmlns:mstns="http://tempuri.org/dsCompanyTypes.xsd"
xmlns="http://tempuri.org/dsCompanyTypes.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:msprop="urn:schemas-microsoft-com:xml-msprop"
attributeFormDefault="qualified" elementFormDefault="qualified">
Line 3: <xs:annotation>
Source File: /App_Code/DAL/dsCompanyTypes.xsd Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.3053;
ASP.NET Version:2.0.50727.3053