OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

Last post 08-03-2008 11:25 PM by chetan.sarode. 55 replies.

Sort Posts:

  • OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-09-2008, 7:24 PM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    I copied a typical the typical TimeTracker starter kit but I cannot view the contents of the MDF file.  Can any one help - thanks

    I get the following error - OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
    Filed under:
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-09-2008, 11:23 PM
    Answer

    1) in VWD create a new Web Site and point it directly to your IIS local web server call it TimeTracker e.g. http://localhost/TimeTracker (since I have problem getting VWD web server to work using the Beta release) this step will create a web site on your local IIS, you can do this manually too.
    2) Unzip the file downloaded into the C:\Inetpub\wwwroot\TimeTracker and overwrite any files there.
    3) Launch the site in IE e.g. http://localhost/TimeTracker/Default.aspx

    Check in web.config for connectionString, configure it according to your server name, password etc.

    In Time Tracking System, it uses inbuild Membership classes for user creation, updation etc..

    You have to register your DB with ASP.NET Membership classes by executing the command line utility in VS prompt

    aspnet_regsql, it will open one window, where you  have to configure DB.

    If thsi helpful to you please mark it as answer, So it will help for other people 

    Hope it will help you, let me know.

    http://forums.asp.net/p/941943/1128558.aspx

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-10-2008, 11:08 AM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    thanks for your help. This is a good work around the problem.

     Do you think it is an error which needs to be fixed by microsoft engineers.

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-10-2008, 11:17 PM

    No, It is the matter of setup the website

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-16-2008, 3:55 PM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    Just for a test I created a brand new website and then went and defined Securty/Roles/Users etc.   The software created a MDB file in my folder under App_Data.  When I click the MDB file I do not see the contents but the error as "OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT"

     

    Please tell me steps I needs to take to be able to see the mdb file. thanks

    I am following the following videw. 

    http://download.microsoft.com/download/5/E/B/5EBF4D5A-8B55-482A-A322-675EED8B7F45/hilo_membership-roles_final.wmv

    Ken

    870-247-4459

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-16-2008, 11:29 PM

    Check sql server express is installed or not 

    You can attached mdb file in sql server by creating database or attach file

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-17-2008, 11:13 AM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    SQL Express and SQL Server both are running.  The MDF file is, to OPEN with, SQL File Bootstraper as a default.  Do you think this may be an issue of configuring SQL?  What do you think I should try?

     

    thanks

    Ken

    870-247-4459

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-17-2008, 11:27 AM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    It is a MDF file

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-17-2008, 11:23 PM

    Try to configure the DB with sql by using

    aspnet_regsql in VS command prompt

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-19-2008, 11:17 AM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    Could I use the SQL Service Configuration Manager.  What am I configuiring?  Am I the only one having this problem, I wonder? 

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-20-2008, 4:36 PM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    All the links to DB in database explorere in VWD 2005 do not work!!

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-23-2008, 12:57 PM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    still looking for help on this issue, please!

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-23-2008, 11:25 PM

    This works at my side, try to reinstall SQL server or run only one instance of sql server

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-24-2008, 11:19 PM

    What is the status, have u tried what I suggested

    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT

    06-25-2008, 3:58 PM
    • Loading...
    • kenbati
    • Joined on 01-30-2007, 12:54 AM
    • Posts 264

    I tried your steps but it has not helped. I have MS SQL server 2005. May be I need a help in finding an upgrade (or service pack) to the software. I looked under http://www.microsoft.com/express/sql/register/ but there is none.  Do I need to go to the same website and simply reinstall?  thanks

    Without your help I can do nothing. When I help you and you can do something then do not forget to mark it as answer!!
Page 1 of 4 (56 items) 1 2 3 4 Next >