BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  General Support  Object reference not set to an instance of an object.
Previous Previous
 
Next Next
New Post 4/30/2007 2:59 AM
User is offline kvanzyl
1 posts
No Ranking


Object reference not set to an instance of an object. 

BugNet version 0.7.832

The install seems to work fine.  Database was created.

Problem start when I want to start the app to get to the login screen.

I am doing a new install on a Windows 2003 server with the database on a separate server SQL 2000. 

I also tryed to install Bugnet om my laptop, XP Pro, and the database on the laptop SQL 2005, getting the same error...

I hope someone can point me in the correct direction.

This is the error.... 

Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   BugNET.DataAccessLayer.GenericDataAccessLayer.get_ConnectionString() +23
   BugNET.DataAccessLayer.GenericDataAccessLayer.GetHostSettings() +42
   BugNET.BusinessLogicLayer.HostSettings.GetHostSettings() +133
   BugNET.BusinessLogicLayer.HostSettings.GetHostSetting(String key) +7
   BugNET.UserInterfaceLayer.BasePage.OnInit(EventArgs e) +22
   BugNET._Default.OnInit(EventArgs e) +61
   System.Web.UI.Control.InitRecursive(Control namingContainer) +321
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 
New Post 4/6/2008 5:31 AM
User is offline suchtm2
6 posts
No Ranking


Re: Object reference not set to an instance of an object. 

I have the same issue - any help would be appreciated!

 
New Post 4/9/2008 4:02 AM
User is offline suchtm2
6 posts
No Ranking


Re: Object reference not set to an instance of an object. 

Have a look at your connection string - this is probably the issue.  Also ensure that you did not alter any particulars in the web.config except the connection string.  I changed the LocalSqlServer setting which called the same error to come up.  Good luck

 
New Post 4/18/2008 2:14 AM
User is offline smoss
114 posts
www.orbitsolutions.co.za
5th Level Poster


Re: Object reference not set to an instance of an object. 

Please post the connection string settings in your web.config file.

For example:

    <connectionStrings>
        <clear />
        <add name="LocalSqlServer" connectionString="server=dbserver;database=BugNET;uid=dbuser;pwd=myreallybadpassword"
   providerName="" />
    </connectionStrings>

You can edit out the user and password details I dont need that.

 
Previous Previous
 
Next Next
  Forum  Support  General Support  Object reference not set to an instance of an object.

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.