BugNET

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

BugNET Forums

 
  Forum  Support  Installation pr...  Nearly Installed
Previous Previous
 
Next Next
New Post 4/6/2008 5:37 AM
User is offline suchtm2
6 posts
No Ranking


Nearly Installed 

Hello,

 

I have set everything up and the install runs but it stops with the following error:  can anyone assist?

 

Version: 0.7.899.0

 

Installation Status Report


Installing Version: 0.7.899.0
Installing Membership Provider... - 00:00:00
Installing BugNET Database... - 00:00:01.3437500
Installing BugNET Default Data... - 00:00:02.7656250
Creating Administrator Account... - 00:00:02.7968750

 

 

 


Server Error in '/sucha/BugNET' 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.AddUserToRole(String userName, Int32 roleId) +83
   BugNET.BusinessLogicLayer.Role.AddUserToRole(String userName, Int32 roleId) +84
   BugNET.Install.Install.InstallBugNET() +389
   BugNET.Install.Install.InstallApplication() +1471
   BugNET.Install.Install.Page_Load(Object sender, EventArgs e) +260
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

 
New Post 4/6/2008 7:36 AM
User is offline admin
641 posts
bugnetproject.com
1st Level Poster




Re: Nearly Installed 

It looks to be throwing an error due to the connection string but you installed the database which is strange.  I would double check the connection string exists and it is very important that it remains with the name LocalSqlServer.  Many of the settings in the BugNET web.config are dependent on each other so if you change them it may not work properly.

I hope that helps.

 


Davin Dubeau
BugNET - Core Developer

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


Re: Nearly Installed 

You are absolutely right I replaced the variable LocalSqlServer with my server IP.  This was the absolutely wrong thing to do.  The connection strig is the only thing that needs to be updated in the web.config file.  I thought I would come back and repost my mistake so that if anyone else comes across this issue they can resolve it.

Excellent product!

 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Nearly Installed

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.