Wimpie
wzl-lid
Sinds 24/9/2004
T: 39
R: 152
|
26/9/2007 -
10:13u
| Quote
|
Ik heb een website met asp.net 2.0 gemaakt. Lokaal werkt deze perfect maar wanneer ik het test op de server krijg ik volgende melding. (ik krijg mijn inlogvenster wel te zien maar na het inloggen verschijnt er dit)
Server Error in '/KKI' Application. --------------------------------------------------------------------------------
An exception occurred. Please check the Event Log. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Configuration.Provider.ProviderException: An exception occurred. Please check the Event Log.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ProviderException: An exception occurred. Please check the Event Log.] MySqlProviders.MySqlMembershipProvider.ValidateUser(String username, String password) +817 System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +160 System.Web.UI.WebControls.Login.AttemptLogin() +105 System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +99 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
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Heeft er iemand enig idee wat hier het probleem is en hoe ik het kan oplossen?
|
Quagmire
wzl-lid
Sinds 18/11/2003
T:62 -
R:1458
|
26/9/2007 -
17:33u
| Quote
|
review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Configuration.Provider.ProviderException: An exception occurred
In uwe stacktrace kunt ge kijken in welke method de fout zich bevindt....
Als ge dan in uwe stacktrace gaat kijken ziet ge als method waar hij gefaald heeft:
MySqlProviders.MySqlMembershipProvider.ValidateUser(String username, String password) +817
Er scheelt precies ergens iets bij het benaderen van uw database....
Lokaal gaat het zegt ge, maar op de server.... Kunt ge daar wel aan een database? Uwe connectiestring moet misschien ook anders opgebouwd worden daar....
|
Wimpie
wzl-lid
Sinds 24/9/2004
T:39 -
R:152
|
27/9/2007 -
12:58u
| Quote
|
Je connectionstring is idd anders op de server. Andere db-naam en andere user. Maar web.config is ongewijzigd op de server dus zou niet weten waarom hij plots niet meer aan de db geraakt.
|