Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Unable to initialize provider. Missing or incorrect schema. (no replies)

$
0
0
Hello,


I have upgraded my server machine to use MySQL Connector 6.3.4 and in our website we also added Membership role provider.

When I run the website I am getting this error.

Configuration Error
Description: An 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: Unable to initialize provider. Missing or incorrect schema.
<remove name="MySQLRoleProvider" />
<add connectionStringName="MySqlUserManagement" applicationName="projectsss"
name="MySQLRoleProvider" type="MySql.Web.Security.MySQLRoleProvider, MySql.Web, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c9990990909909" />
</providers>
</roleManager>


My sql server is version 5.0.90 community-net.

Is there any setting which have to be changes on server side while upgrading connector

This is tag in my web.config file.
<membership defaultProvider="MySQLMembershipProvider">
<providers>
<remove name="MySQLMembershipProvider" />
<add connectionStringName="MySqlUserManagement" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="false"
applicationName="projectsss" requiresUniqueEmail="true"
passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
passwordStrengthRegularExpression="" name="MySQLMembershipProvider"
type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c9990990909909" />
</providers>
</membership>


Since when I run the website on local machine it will run successfully, but on server I am not able to run it and getting above error.


What are server side setting which we to do while upgrading the connector....

thanks

Viewing all articles
Browse latest Browse all 1451

Trending Articles