Lost connection to MySQL server during query - 2
Posted: Fri 04 Apr 2008 18:11
Using VS2008, C#, ASP.Net 2 with AspNetMySqlMembershipProvider / AspNetMySqlRoleProvider / AspNetMySqlProfileProvider / CoreLab.Data 4.50.21 and CoreLab.MySql(.Web) 4.50.25.
The web.config is copy/paste from the examples.
Every 20-25 pageviews I get a
"Lost connection to MySQL server during query" - Server Error
Where the source points to the row with:
MembershipUser user = Membership.GetUser();
I have to use a shared MySQL 5 server and have no influence whatsoever on the configuration (My ISP says it works for thousends of sites without problems, so the problem is on your site).
In my testserver/environment it works without problem I can do hunderds requests a minute without any problem.
Is there something I can configure on 'my' site so the providers start working as they should or can I better use MsSQL Express for the provider part and for the other databasestuff MySQL. I can program around lost connections in my normal pages, but don't know if I or how I can do that for the provider part.
Any help/suggestions are welcome!
The web.config is copy/paste from the examples.
Every 20-25 pageviews I get a
"Lost connection to MySQL server during query" - Server Error
Where the source points to the row with:
MembershipUser user = Membership.GetUser();
I have to use a shared MySQL 5 server and have no influence whatsoever on the configuration (My ISP says it works for thousends of sites without problems, so the problem is on your site).
In my testserver/environment it works without problem I can do hunderds requests a minute without any problem.
Is there something I can configure on 'my' site so the providers start working as they should or can I better use MsSQL Express for the provider part and for the other databasestuff MySQL. I can program around lost connections in my normal pages, but don't know if I or how I can do that for the provider part.
Any help/suggestions are welcome!