Hello,
I have come accross the same problem, and I am already using the last dotconnect v5.70.140.0
I use the ASP.NET memberprovidership but connected to SQL (didn't know I could use oracle for that btw). So no oracle connection (not for roles, not for the data is used)
But in my machin.config I still have the following lines:
MACHINE.CONFIG code
And when I acces the ASP.NET config site from within VS.NET 2008, and try to
add new users, I got an error logged (see at the end of post) in the event log which points to an unknown connection parameter.
Remark:
adding new roles through the admin-website works without errors !!!, it happens only when creating new users
Unknown connection string parameter . (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 163)
When I put the "AspNetOracleMembershipProvider" in comments in machine.config, everythings works fine again.
Is there something wrong in my machine.config, because I use version v5.70.140 already and there the problem should be solved ?
In my web.config I have the following info.
I have taken the code from an example, and It works. Maybe the problem is because I first "clear" the providers and then "add" a totally new one configured in web.config, and make no use of the machine.config settings...
do you have any tips ?
thx
Fred
WEB.CONFIG CODE
EVENT LOG ERROR
Code: Select all
Type gebeurtenis: Waarschuwing
Bron van gebeurtenis: ASP.NET 2.0.50727.0
Categorie van gebeurtenis: Webgebeurtenis
Gebeurtenis-ID: 1310
Datum: 8/06/2010
Tijd: 8:39:03
Beschrijving:
Gebeurteniscode: 3008 Gebeurtenisbericht: Er is een configuratiefout opgetreden. Gebeurtenistijd: 8/06/2010 8:39:03 Gebeurtenistijd (UTC): 8/06/2010 6:39:03 Gebeurtenis-id: 87d3c3b9fcbc40938f289e236e2157fb Gebeurtenisreeks: 92 Gebeurtenisinstantie: 1 Gebeurtenisdetailcode: 0 Toepassingsinformatie: Toepassingsdomein: c8e2c347-1-129204527198652015 Vertrouwensniveau: Full Virtueel pad toepassing: /asp.netwebadminfiles Toepassingspad: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\asp.netwebadminfiles\ Procesinformatie: Proces-id: 6108 Procesnaam: WebDev.WebServer.EXE Uitzonderingsinformatie: Uitzonderingstype: ConfigurationErrorsException Uitzonderingsbericht: Unknown connection string parameter . (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 163) Aanvraaginformatie: Aanvraag-URL: http://localhost:4779/asp.netwebadminfiles/security/users/addUser.aspx Aanvraagpad: /asp.netwebadminfiles/security/users/addUser.aspx Threadinformatie: Thread-id: 8 Imiteert: True Stacktracering: bij System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
bij System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)
bij System.Web.Security.Membership.Initialize()
bij System.Web.UI.WebControls.LoginUtil.GetProvider(String providerName)
bij System.Web.UI.WebControls.CreateUserWizard.get_QuestionAndAnswerRequired()
bij System.Web.UI.WebControls.CreateUserWizard.UpdateValidators()
bij System.Web.UI.WebControls.CreateUserWizard.CreateChildControls()
bij System.Web.UI.Control.EnsureChildControls()
bij System.Web.UI.WebControls.Wizard.OnInit(EventArgs e)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Control.InitRecursive(Control namingContainer)
bij System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
bij System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
bij System.Web.UI.Page.ProcessRequest()
bij System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
bij System.Web.UI.Page.ProcessRequest(HttpContext context)
bij 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_rzp4agwt.0.cs:regel 0
bij System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
bij System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)