Description:
MySql.Web.dll throws an exception while using the built in ASP.NET configuration web page (VS2005 Web Site Administration Tool) and trying to add a new member.
How to repeat:
1. Open the Asp.net configuration (Web Site Administration Tool)
2. Click the security link.
3. Click Create user or (Use the security Setup Wizard to configure security step by step.)
4. You will receive an error message of "An error was encountered. Please return to the previous page and try again."
Look in the Application event log to see the full error message:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 5/28/2007
Time: 9:47:48 AM
User: N/A
Computer: PAUL-LAPTOP
Description:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 5/28/2007 9:47:48 AM
Event time (UTC): 5/27/2007 11:47:48 PM
Event ID: a76aba7610d74d909203bf8a7b73a738
Event sequence: 56
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: c8e2c347-1-128247830158906250
Trust level: Full
Application Virtual Path: /asp.netwebadminfiles
Application Path: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\asp.netwebadminfiles\
Machine name: PAUL-LAPTOP
Process information:
Process ID: 2332
Process name: WebDev.WebServer.EXE
Account name: PAUL-LAPTOP\Paul
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Connection string cannot be blank. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 122)
Request information:
Request URL: http://localhost:1565/asp.netwebadminfiles/security/users/addUser.aspx
Request path: /asp.netwebadminfiles/security/users/addUser.aspx
User host address: 127.0.0.1
User: PAUL-LAPTOP\Paul
Is authenticated: True
Authentication Type: NTLM
Thread account name: PAUL-LAPTOP\Paul
Thread information:
Thread ID: 8
Thread account name: PAUL-LAPTOP\Paul
Is impersonating: True
Stack trace: at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)
at System.Web.Security.Membership.Initialize()
at System.Web.UI.WebControls.LoginUtil.GetProvider(String providerName)
at System.Web.UI.WebControls.CreateUserWizard.get_QuestionAndAnswerRequired()
at System.Web.UI.WebControls.CreateUserWizard.UpdateValidators()
at System.Web.UI.WebControls.CreateUserWizard.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.WebControls.Wizard.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.security_users_adduser_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\asp.netwebadminfiles\9d4caaa4\c2ae7372\App_Web_9bkzf8vw.1.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Suggested fix:
Not sure?