Last post Mar 06, 2014 01:24 AM by Angie xu - MSFT
Mar 04, 2014 12:29 PM|istakoza|LINK
I have set up my site and everything works fine on my production machine. However after deploying to numerous webhosts I get an error everytime my site attempts to connect to the database. So for I am only using connections to the DB for authentication login
If anyone has had a similar issue please help. Everything works on my machine, the connection string is correct, my asp pages just can't connect to the MYSQL DB.
Here is the error I think it has something to do with the MYSQL connector or permissions but I am not sure:
error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The type initializer for 'MySql.Data.MySqlClient.MySqlPoolManager' threw an exception.
Line 49: <providers>
Line 50: <clear />
Line 51: <add name="MySQLMembershipProvider" type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=220.127.116.11, Culture=neutral, PublicKeyToken=c5687fc88969c44d" connectionStringName="iwantyoutoodbConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
Line 52: </providers>
Line 53: </membership>
Mar 06, 2014 01:24 AM|Angie xu - MSFT|LINK
The type initializer for 'MySql.Data.MySqlClient.MySqlPoolManager' threw an exception.
According to the error message above, this issue is related to MySql, it's recommended to get precise troubleshooting in MySql forum.
MySql forum: http://forums.mysql.com/