Page 1 of 1

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

Posted: Thu 16 Mar 2006 09:41
by urchin
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

Posted: Thu 16 Mar 2006 11:11
by urchin
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

Posted: Fri 17 Mar 2006 06:54
by Alexey
We have fixed this problem for the MySQLDirect .NET.
Look forward to the next build.

Posted: Sun 19 Mar 2006 18:11
by urchin
>>Look forward to the next build.
When will the next build be released?

Posted: Mon 20 Mar 2006 08:16
by Alexey
Hopefully, in the middle of the week