BugNET

Open source issue tracking & project management

Forums

HomeHomeSupportSupportUpgrading BugNE...Upgrading BugNE...0.7.921 to 0.7.942 SQL errors 0.7.921 to 0.7.942 SQL errors
Previous
 
Next
New Post
6/28/2009 7:00 PM
 

carlowahlstedt wrote

Looks like you may not have the latest version of the script. I helped Davin test this and these are the same errors I had that he fixed. Make sure your script matches the latest one.

http://bugnet.svn.sourceforge.net/viewvc/bugnet/trunk/BugNET/src/BugNET_WAP/Install/dbscripts/Latest.SqlDataProvider.sql?view=log

 

The script you linked to actually gets renamed during the build process for the release packages.  The final script is here.


Davin Dubeau

follow us on twitter facebook users group google plus
 
New Post
6/29/2009 4:25 AM
 

I downloaded BugNET 0.7.942.0 Final (http://downloads.sourceforge.net/bugnet/BugNET-0.7.942-Install.zip)

Are there any suggestions as to how I can move forward with this error?

 

Damien

 
New Post
6/29/2009 10:11 AM
 

dmcgiv wrote

I downloaded BugNET 0.7.942.0 Final (http://downloads.sourceforge.net/bugnet/BugNET-0.7.942-Install.zip)

Are there any suggestions as to how I can move forward with this error?

 

Damien

You can try to run the upgrade script against the database directly through the sql server management studio. That may give a clue to why it is not working.


Davin Dubeau

follow us on twitter facebook users group google plus
 
New Post
6/30/2009 4:46 PM
 

I am getting similar but not the same errors.

 

Upgrade Status Report


 

Upgrading To Version: 0.7.942.0


Running Upgrade Script: 0.7.942.0.SqlDataProvider - 00:00:00
Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:'FK_Component_Component' is not a constraint. Could not drop constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:Column already has a DEFAULT bound to it. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:Table 'HostSettings' already has a primary key defined on it. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:Table 'Log' already has a primary key defined on it. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_ProjectMailBox_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_ProjectMailBox_Type' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_UserProjects_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_UserProjects_Project' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_aspnet_Users1' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_aspnet_Users2' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_Component' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_FixedInVersionId' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_Priority' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_Project' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_ProjectID' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_Resolution' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_Status' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_Type' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Bug_Version' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Component_Project' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_UserRoles_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_BugAttachment_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_BugTimeEntry_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_BugNotification_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_BugHistory_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_ProjectCustomFieldValues_ProjectCustomFields' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:String or binary data would be truncated.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Project_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_Project_aspnet_Users1' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:There is already an object named 'FK_BugComment_aspnet_Users' in the database. Could not create constraint. See previous errors.


Error!

Error in file:D:\inetpub\wwwroot\LocalUser\SupportBugNet\Install\dbscripts\0.7.942.0.SqlDataProvider.sql
Message:Violation of PRIMARY KEY constraint 'PK_HostSettings'. Cannot insert duplicate key in object 'dbo.HostSettings'.

 
New Post
6/30/2009 5:24 PM
 

I did the script against db and cleaned it up.  Since all the errors were such that keys already existed and such, I just deleted all that.  Got it to run.  Ran install again and now got yellow screen of death.

 

Server Error in '/' Application.

Input string was not in a correct format.

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.FormatException: Input string was not in a correct format.

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:

[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2755599
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +112
   BugNET.Install.Install.UpgradeBugNET() +833
   BugNET.Install.Install.UpgradeApplication() +395
   BugNET.Install.Install.Page_Load(Object sender, EventArgs e) +270
   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

 
Previous
 
Next
HomeHomeSupportSupportUpgrading BugNE...Upgrading BugNE...0.7.921 to 0.7.942 SQL errors 0.7.921 to 0.7.942 SQL errors


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.