Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid object name 'User'
Message
De
28/04/2004 09:45:48
Bill Benton
North Florida Software Services
Middleburg, Floride, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00898606
Message ID:
00898913
Vues:
17
>>This .NET is all new to me, after working in Fox for the past 9 years. I am trying to use the UserLogin object that was shipped with the Mere Mortals Framework, and continue to get the following error message. Any help you could provide would be greatly appreciated,
>
>It sounds like you haven't created the Users table in your database yet. In the "Application Security" section of MM .NET, check out the topic "Enabling Security in a Web Forms Application". Step 1 shows you how to add security tables to your database.
>
>Regards,

Hi again Kevin,

I got past that hurdle, and am now running into another obstacle. Am I supposed to be passing another parameter to Login()?

The error message is reading:


Value cannot be null. Parameter name: url
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.ArgumentNullException: Value cannot be null. Parameter name: url

Source Error:


Line 62: this.Username = this.txtUsername.Text;
Line 63: this.Password = this.txtPassword.Text;
Line 64: if (!this.Login())
Line 65: this.lblErrorMessage.Text = this.ErrorMessage;
Line 66:


Source File: c:\inetpub\wwwroot\pmr\userlogin.aspx.cs Line: 64

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: url]
System.Web.HttpResponse.Redirect(String url, Boolean endResponse)
System.Web.HttpResponse.Redirect(String url)
OakLeaf.MM.Main.Web.UI.mmBaseUserLogin.Login()
PMR.UserLogin.btnLogin_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\pmr\userlogin.aspx.cs:64
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Bill Benton
Senior Systems Analyst
Nuvell Financial Services
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform