Re: Application error: Attention Cutesoft support

  •  07-12-2005, 4:56 PM

    Re: Application error: Attention Cutesoft support

    Hello,
     
    I can get the login screen now. When I try to login using username "admin" and password "admin", It says wrong username and/or password.
     
    If I try to create a new account, I get the following error
     
     
     
     

    Server Error in '/cutechatstandalone/Web' Application.

    Invalid object name 'Users'.

    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.Data.SqlClient.SqlException: Invalid object name 'Users'.

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

      <%@ Page Language="C#" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:

    [SqlException: Invalid object name 'Users'.]
       System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +723
       System.Data.SqlClient.SqlCommand.ExecuteScalar() +177
       _ASP.register_aspx.IsUsernameExists(String username) +142
       _ASP.register_aspx.DoRegNewUser(String username, String password, String location, String occupation, String interests, Boolean gender, Int32 age) +35
       _ASP.register_aspx.btnReg_Click(Object sender, EventArgs e) +210
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain() +1277
    

    Now I ran the sql script in an already existing database. As ultimately  I want to implement it with my existing login username and column.
     
    Thank you
View Complete Thread