BugNET

Open source issue tracking & project management
| Login

Import Update!

We are currently in transition and have moved our discussions to CodePlex. These forums will remain as reference until we launch of our new site in the upcoming weeks. After that they will be removed.

Thank you for your patience during our transition.

Forums

HomeHomeSupportSupportInstalling BugN...Installing BugN...Errors on upgrading from 0.7.921.0 to 0.8.193.0Errors on upgrading from 0.7.921.0 to 0.8.193.0
Previous
 
Next
New Post
5/25/2010 2:23 AM
 
I got two different types of error during the upgrade process:-
1) Fails with exception about BugNet_UserProfiles table. Stack details gives the error in the module BugNET.HttpModules.LocalizationModule in the method
context_PreRequestHandlerExecute. I disabled the two occurances of lines in the web.config which mention LocalizationModule. This then fixes the problem and I see what I would expect. As in a normal running verison of bug net. This enabled me to run the install.aspx which I couldn't before disabling these two lines. Of course, I don't think that this table exists before the upgrade process runs.
The error may be due to the fact that we run this strange non-US locale here in the UK. Even if I change the default PreferredLocale in this table from en-US to en-GB, it still fails to display with those two lines enabled in the web.config. BugNet tells me by displaying on the page that I am in the en-GB locale. So at present I am running with this disabled.

2) 00:00:00.0570057 - Executing Script: 0.8.140.0.SqlDataProvider.sql Error!
Error Details
File 0.8.140.0.SqlDataProvider.sql
Error 'FK_ProjectMailBox_aspnet_Users' is not a constraint. Could not drop constraint. See previous errors.
This happened to me on the previous running of this script on our database. I have therefore edited the script to remove most of these contraint drop statements. This fixes this problem and the upgrade runs to end. I'm not sure whether this is just a consequence of the very old database that we have which has been through most versions of BugNet.

So I am running the latest 193 RC version.
 
New Post
5/25/2010 2:50 AM
 
As a follow up for the localisation error. If you change the code in the context_PreRequestHandlerExecute method to be:-
if (HttpContext.Current.User.Identity.IsAuthenticated && HttpContext.Current.Profile != null)
This then works. The extra relevant information may be that we run windows authentication here. So this is why the user will be authenticated but the current profile may be null. Maybe due to the database not being upgraded yet!
With this fix in place, I now seem to be running with the web.config settings for the LocalizationModule in place.
 
New Post
5/25/2010 7:13 AM
 
Logged the issue at support.bugnetproject.com issue # BGN-1351

Follow me on twitter: @stewartmoss http://www.twitter.com/stewartmoss
Follow BugNETProject on twitter: @bugnetproject http://www.twitter.com/bugnetproject
 
Previous
 
Next
HomeHomeSupportSupportInstalling BugN...Installing BugN...Errors on upgrading from 0.7.921.0 to 0.8.193.0Errors on upgrading from 0.7.921.0 to 0.8.193.0


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.