Hellou,
I'm using the MySql.Data assembly which was installed with the "MySQL Connector Net 5.2.5".
As soon as I include this assembly in my Web.Config I get the following error message:
Parser Error
Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.
Parser Error Message: Assembly MySql.Data, Version=5.2.5.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D not found
I think this resource isn't installed on the x10hosting. How can I access the MYSQL Database with ASP.NET? Isn't it possible?
Thanks for your help!:happysad:
Regards
Edit:
After changing the version to "MySQL Connector Net 1.0.7" there's no problem with the reference but it's still not working. Now I get the following error message when I try to open a connection:
Server Error in '/' Application
Connection unexpectedly terminated
Description: HTTP 500. Error processing request.
Stack Trace:
MySql.Data.MySqlClient.MySqlException: Connection unexpectedly terminated at MySql.Data.MySqlClient.PacketReader.ReadHeader () [0x00000] at MySql.Data.MySqlClient.PacketReader.OpenPacket () [0x00000] at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionString settings) [0x00000] at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000]
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
Edit:
Help?????
I'm using the MySql.Data assembly which was installed with the "MySQL Connector Net 5.2.5".
As soon as I include this assembly in my Web.Config I get the following error message:
Parser Error
Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.
Parser Error Message: Assembly MySql.Data, Version=5.2.5.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D not found
I think this resource isn't installed on the x10hosting. How can I access the MYSQL Database with ASP.NET? Isn't it possible?
Thanks for your help!:happysad:
Regards
Edit:
After changing the version to "MySQL Connector Net 1.0.7" there's no problem with the reference but it's still not working. Now I get the following error message when I try to open a connection:
Server Error in '/' Application
Connection unexpectedly terminated
Description: HTTP 500. Error processing request.
Stack Trace:
MySql.Data.MySqlClient.MySqlException: Connection unexpectedly terminated at MySql.Data.MySqlClient.PacketReader.ReadHeader () [0x00000] at MySql.Data.MySqlClient.PacketReader.OpenPacket () [0x00000] at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionString settings) [0x00000] at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000]
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
Edit:
Help?????
Last edited: