OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECThttp://forums.asp.net/t/1273032.aspx/1?OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTWed, 24 Dec 2008 02:25:17 -050012730322411934http://forums.asp.net/p/1273032/2411934.aspx/1?OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTOBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>I copied a typical the typical TimeTracker starter kit but I cannot view the contents of the MDF file.&nbsp; Can any one help - thanks</p> <p>I get the following error - OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT</p> 2008-06-09T23:24:13-04:002412112http://forums.asp.net/p/1273032/2412112.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>1) in VWD create a new Web Site and point it directly to your IIS local web server call it TimeTracker e.g. <a href="http://localhost/TimeTracker"><font color="#034efa">http://localhost/TimeTracker</font></a>&nbsp;(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.<br> 2) Unzip the file downloaded into the C:\Inetpub\wwwroot\TimeTracker and overwrite any files there.<br> 3) Launch the site in IE e.g. <a href="http://localhost/TimeTracker/Default.aspx"> <font color="#034efa">http://localhost/TimeTracker/Default.aspx</font></a></p> <p>Check in web.config for connectionString, configure it according to your server name, password etc.</p> <p>In Time Tracking System, it uses inbuild Membership classes for user creation, updation etc..</p> <p>You have to register your DB with ASP.NET Membership classes by executing the command line utility in VS prompt</p> <p>aspnet_regsql, it will open one window, where you&nbsp; have to configure DB.</p> <p>If thsi helpful to you please mark it as answer, So it will help for other people&nbsp;</p> <p>Hope it will help you, let me know.</p> <p><a href="http://forums.asp.net/p/941943/1128558.aspx">http://forums.asp.net/p/941943/1128558.aspx</a></p> 2008-06-10T03:23:54-04:002413637http://forums.asp.net/p/1273032/2413637.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>thanks for your help. This is a good work around the problem.</p> <p>&nbsp;Do you think it is an error which needs to be fixed by microsoft engineers.</p> 2008-06-10T15:08:48-04:002414881http://forums.asp.net/p/1273032/2414881.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>No, It is the matter of setup the website</p> 2008-06-11T03:17:40-04:002426609http://forums.asp.net/p/1273032/2426609.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>Just for a test I created a brand new website and then went and defined Securty/Roles/Users etc.&nbsp;&nbsp; The software created a MDB file in my folder under App_Data.&nbsp; When I click the MDB file I do not see the contents but the error as &quot;OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT&quot;</p> <p>&nbsp;</p> <p>Please tell me steps I needs to take to be able to see the mdb file. thanks</p> <p>I am following the following videw.&nbsp;</p> <p><a href="http://download.microsoft.com/download/5/E/B/5EBF4D5A-8B55-482A-A322-675EED8B7F45/hilo_membership-roles_final.wmv">http://download.microsoft.com/download/5/E/B/5EBF4D5A-8B55-482A-A322-675EED8B7F45/hilo_membership-roles_final.wmv</a></p> <p>Ken</p> <p>870-247-4459</p> 2008-06-16T19:55:30-04:002427084http://forums.asp.net/p/1273032/2427084.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>Check sql server express is installed or not&nbsp;</p> <p>You can attached mdb file in sql server by creating database or attach file</p> 2008-06-17T03:29:26-04:002428645http://forums.asp.net/p/1273032/2428645.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>SQL Express and SQL Server both are running.&nbsp; The MDF file is,&nbsp;to OPEN with, SQL File Bootstraper as a default.&nbsp; Do you think this may be an issue of configuring SQL?&nbsp; What do you think I should try?</p> <p>&nbsp;</p> <p>thanks</p> <p>Ken</p> <p>870-247-4459</p> 2008-06-17T15:13:23-04:002428672http://forums.asp.net/p/1273032/2428672.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>It is a&nbsp;MDF file</p> 2008-06-17T15:27:08-04:002429743http://forums.asp.net/p/1273032/2429743.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>Try to configure the DB with sql by using</p> <p>aspnet_regsql in VS command prompt</p> 2008-06-18T03:23:38-04:002434180http://forums.asp.net/p/1273032/2434180.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>Could I use the SQL Service Configuration Manager.&nbsp; What am I configuiring?&nbsp; Am I the only one having this problem, I wonder?&nbsp;</p> 2008-06-19T15:17:49-04:002437265http://forums.asp.net/p/1273032/2437265.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>All the links to DB in database explorere in VWD 2005 do not work!!</p> 2008-06-20T20:36:10-04:002440918http://forums.asp.net/p/1273032/2440918.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>still looking for help on this issue,&nbsp;please!</p> 2008-06-23T16:57:04-04:002441895http://forums.asp.net/p/1273032/2441895.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>This works at my side, try to reinstall SQL server or run only one instance of sql server</p> 2008-06-24T03:25:22-04:002444773http://forums.asp.net/p/1273032/2444773.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>What is the status, have u tried what I suggested</p> 2008-06-25T03:19:41-04:002447200http://forums.asp.net/p/1273032/2447200.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>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)&nbsp;to the software. I looked under <a href="http://www.microsoft.com/express/sql/register/">http://www.microsoft.com/express/sql/register/</a>&nbsp;but there is none.&nbsp; Do I need to go to the same website and simply reinstall?&nbsp; thanks</p> 2008-06-25T19:58:53-04:002447775http://forums.asp.net/p/1273032/2447775.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>Just try with service pack, may it will solve the issue</p> 2008-06-26T03:23:02-04:002469051http://forums.asp.net/p/1273032/2469051.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>I tried the service pack and it&nbsp;did install but did solve the problem.&nbsp; I think&nbsp;this&nbsp;may be a simple problem with the server setup.&nbsp; Also, when I tried to add new mdf file it says that the server timed out due to no response.</p> <p>&nbsp;</p> <p>Please help</p> 2008-07-05T16:35:21-04:002470390http://forums.asp.net/p/1273032/2470390.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>Solve the problem or not</p> 2008-07-07T03:31:09-04:002470447http://forums.asp.net/p/1273032/2470447.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>the problem is not resolved - please help</p> 2008-07-07T04:08:03-04:002473200http://forums.asp.net/p/1273032/2473200.aspx/1?Re+OBJECT+REFERENCE+NOT+SET+TO+AN+INSTANCE+OF+AN+OBJECTRe: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT <p>The solution what I provided is working for me</p> <p>I tried it on my m/c may, on my m/c only one instance of sql is running i.e. mssql (sql 2005 developer edition)</p> 2008-07-08T03:26:46-04:00