Error connecting to mssql database

Discussion in 'Databases' started by abiodunode, Jan 3, 2011.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Subject: ERROR CONNECTING TO MSSQL DATABASE

    I was able to upload the web application successfully.
    However, i am having challenges connecting to ythe database esp logging in to the aplication.
    It seems that the application could not get data from the database. Anytime i put the login details i get error message " Unable to get records. Object reference not set to an instance of an object."

    You can get the details from this link www.domkay.com/domkaynew_deploy .

    Username: [email protected]
    password: ******

    Thanks and please revert urgently.
    Please note that I copied the connection string from the sql manager at the control panel.

    thanks.
     
  2. Can you tell us more about the SQL Server and how you pumped the data to it?
    Reason: Many times the user having trouble like this is trying to connect to an express DB they uploaded to the site.
     
  3. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    abiodunode,

    It's difficult to tell what the problem is as the error doesn't say too much:

    "Unable to get records. Object reference not set to an instance of an object."

    It could mean that in your source code you forgot to instantiate an object (i.e. forgot to create an instance of the class).

    Since it's being generated in your login control, I would look there.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page