Could not load type 'System.Web.Security.MySqlRoleProvider'.

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
urchin
Posts: 5
Joined: Sat 11 Mar 2006 16:12

Could not load type 'System.Web.Security.MySqlRoleProvider'.

Post by urchin » Thu 16 Mar 2006 09:41

Hi,

Followed the instructions in:
ms-help://MS.VSCC.v80/CoreLab.MySql/MySqlDirect/AspProviders.html

and get above message.

Have added references to corelab.mysql.dll and corelab.mysql.web.dll in to the project.

Garrett

urchin
Posts: 5
Joined: Sat 11 Mar 2006 16:12

Post by urchin » Thu 16 Mar 2006 11:11

Fixed that by changing:
type="System.Web.Security.MySqlProfileProvider"

to
type = "CoreLab.MySql.Web.Providers.MySqlRoleProvider"

However when creating a new user using the standard wizard I get:
Object reference not set to an instance of an object.

The tables were created with your InstallWebTables.sql script.

Garrett
///
[NullReferenceException: Object reference not set to an instance of an object.]
CoreLab.Common.Web.Providers.DbMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object userId, MembershipCreateStatus& status) +1933
System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() +305
System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) +105
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +453
System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) +149
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Fri 17 Mar 2006 06:54

We have fixed this problem for the MySQLDirect .NET.
Look forward to the next build.

urchin
Posts: 5
Joined: Sat 11 Mar 2006 16:12

Post by urchin » Sun 19 Mar 2006 18:11

>>Look forward to the next build.
When will the next build be released?

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 20 Mar 2006 08:16

Hopefully, in the middle of the week

Post Reply