Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80053 --- shadow/80053 2006-11-26 06:23:39.000000000 -0500 +++ shadow/80053.tmp.4236 2006-11-26 06:23:39.000000000 -0500 @@ -0,0 +1,103 @@ +Bug#: 80053 +Product: Mono: Class Libraries +Version: 1.2 +OS: GNU/Linux [Other] +OS Details: Ubuntu 6.10 +Status: NEW +Resolution: +Severity: +Priority: Blocker +Component: Sys.Web +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: ASP.NET can't find a custom MembershipProvider + +Description of Problem: + +Using a custom Memberhip Provider does not work an Mono 1.2.1 with XSP2. + +XSP2 can't find that type and throws a exception. + +Steps to reproduce the problem: +1. Add your custom Membership and Role Provider to your Web.config and put +the assembly in ~/bin +2. Start XSP2 +3. Open Login.aspx or any other page that needs authorization + +Actual Results: +Server error in '/' application +Description: Error processing request. + +Error Message: HTTP 500. + +Stack Trace: + +System.TypeInitializationException: An exception was thrown by the type +initializer for System.Web.Security.Membership ---> +System.Configuration.ConfigurationErrorsException: Could not find type: +NauckIT.PostgreSQLProvider.PgMembershipProvider () () + at System.Web.Configuration.ProvidersHelper.InstantiateProvider +(System.Configuration.ProviderSettings providerSettings, System.Type +providerType) [0x00000] + at System.Web.Configuration.ProvidersHelper.InstantiateProviders +(System.Configuration.ProviderSettingsCollection configProviders, +System.Configuration.Provider.ProviderCollection providers, System.Type +providerType) [0x00000] + at System.Web.Security.Membership..cctor () [0x00000] --- End of inner +exception stack trace --- + + at <0x00000> <unknown method> + at System.Web.UI.WebControls.CreateUserWizard.InitMemberShipProvider () +[0x00000] + at +System.Web.UI.WebControls.CreateUserWizard.get_MembershipProviderInternal +() [0x00000] + at +System.Web.UI.WebControls.CreateUserWizard.get_QuestionAndAnswerRequired () +[0x00000] + at +System.Web.UI.WebControls.CreateUserStepTemplate.System.Web.UI.ITemplate.InstantiateIn +(System.Web.UI.Control container) [0x00000] + at System.Web.UI.WebControls.BaseWizardContainer.InstatiateTemplate +(ITemplate template) [0x00000] + at System.Web.UI.WebControls.TemplatedWizardStep.InstantiateInContainer +() [0x00000] + at System.Web.UI.WebControls.Wizard.InstantiateTemplateStep +(System.Web.UI.WebControls.TemplatedWizardStep step) [0x00000] + at System.Web.UI.WebControls.CreateUserWizard.InstantiateTemplateStep +(System.Web.UI.WebControls.TemplatedWizardStep step) [0x00000] + at System.Web.UI.WebControls.Wizard.CreateControlHierarchy () [0x00000] + at System.Web.UI.WebControls.CreateUserWizard.CreateControlHierarchy () +[0x00000] + at System.Web.UI.WebControls.Wizard.CreateChildControls () [0x00000] + at System.Web.UI.WebControls.CreateUserWizard.CreateChildControls () +[0x00000] + at System.Web.UI.Control.EnsureChildControls () [0x00000] + at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] + at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] + at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000] + at System.Web.UI.Page.InternalProcessRequest () [0x00000] + at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) +[0x00000] + +Expected Results: +that the membership provider is loaded correctly. +(This provider works well on .NET) + +How often does this happen? +every time + +Additional Information: + +Example custom membership provider: + +http://www.eggheadcafe.com/articles/20051119.asp +http://www.codeproject.com/aspnet/MySQLMembershipProvider.asp +http://msdn2.microsoft.com/en-us/library/6tc47t75(VS.80).aspx + + +With a "hello world" membership provider this exception is thrown, too. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
