BugNET

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

BugNET Forums

 
  Forum  Support  Installation pr...  Crash on New Install.
Previous Previous
 
Next Next
New Post 9/13/2006 9:36 AM
User is offline JamesCurran
3 posts
No Ranking


Crash on New Install. 

I'll post this on the issue tracker once I get reporter access, but in the mean time, I'll post it here.

The installation crashed for me when I tried to install for the first time.  I unfortunately was keeping notes, but as far as I could see, the Application_OnBegin event needs a functioning connection string, even to run the Installation page (whose job it is to create the connection string).   (On my setup, the BugNet database is neither on the local machine, nor uses a trusted connection, so the default connection string --- which I assume most testers are using --- is completely wrong for me)

 
New Post 9/13/2006 9:38 AM
User is offline JamesCurran
3 posts
No Ranking


Re: Crash on New Install. 
 JamesCurran wrote

 I unfortunately was keeping notes, but as far as I could see,

that should read " I unfortunately wasN'T keeping notes"

 
New Post 9/13/2006 10:05 AM
User is offline admin
544 posts
bugnetproject.com
1st Level Poster




Re: Crash on New Install. 
From my testing it does not require a functioning connection string but does require something in the field in the web.config.   You must only hit the install.aspx page when installing otherwise it will error trying to load settings from the database.

Davin Dubeau
BugNET - Core Developer

 
New Post 11/10/2006 4:29 AM
User is offline fdelaporte
2 posts
No Ranking


Re: Crash on New Install. 
Hello,
I have got the same trouble today.
http://localhost/BugNet/Install/Installer.aspx was crashing, saying it was unable to locate SQL Server (I have no local SQL Server). I was forced to fix it by editing the Web.config in order to specify in advance which SQL Server and database to use.
It has not be sufficient : it then crashes saying it can not find some BugNet storedprocs on the database. It was a blank one.
To fix this trouble, I have run the scripts BugNet.Schema and BugNet.Data manually.
And that is only after those steps that I had been able of browsing http://localhost/BugNet/Install/Installer.aspx.

(And by the way, I have first tried to install it through FireFox. But I encountered an other trouble : the installer was not able of registering the event log source (security permission error)).

System info : win2k, .Net 1.1 and 2.0 installed, 1.1 used on BugNet virtual directory. No anonymous access, only integrated windows authentication.
 
New Post 11/10/2006 4:38 AM
User is offline fdelaporte
2 posts
No Ranking


Re: Crash on New Install. 
Some precsion : stack trace on first crash when loading installer.aspx with no valid connection string :

[SqlException: SQL Server n'existe pas ou l'accès est refusé.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
BugNet.ApplicationBlocks.Data.DataHelper.PrepareCommand(IDbCommand command, IDbConnection connection, IDbTransaction transaction, CommandType commandType, String commandText, IDbDataParameter[] commandParameters) +45
BugNet.ApplicationBlocks.Data.DataHelper.ExecuteReader(IDbConnection connection, IDbTransaction transaction, CommandType commandType, String commandText, IDbDataParameter[] commandParameters, ConnectionOwnership connectionOwnership) +37
BugNet.DataAccessLayer.GenericDataAccessLayer.GetHostSettings() +316
BugNet.BusinessLogicLayer.HostSettings.GetHostSettings() +119
BugNet.BusinessLogicLayer.HostSettings.GetHostSetting(String key) +8
BugNet.Global.Application_Start(Object sender, EventArgs e) +15


This stack trace changes if you activate identity impersonation and windows authentication.



Stack trace on second crash when loading installer.aspx with a blank db :
[SqlException: Could not find stored procedure 'BugNet_HostSettings_GetHostSettings'.]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +742
System.Data.SqlClient.SqlCommand.ExecuteReader() +42
System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader() +5
BugNet.ApplicationBlocks.Data.DataHelper.ExecuteReader(IDbConnection connection, IDbTransaction transaction, CommandType commandType, String commandText, IDbDataParameter[] commandParameters, ConnectionOwnership connectionOwnership) +60
BugNet.DataAccessLayer.GenericDataAccessLayer.GetHostSettings() +316
BugNet.BusinessLogicLayer.HostSettings.GetHostSettings() +119
BugNet.BusinessLogicLayer.HostSettings.GetHostSetting(String key) +8
BugNet.Global.Application_Start(Object sender, EventArgs e) +15

This crash appears to occur only if you have activated identity impersonation and commented the authentication mode form in the web.config file.
 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Crash on New Install.

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.