BugNET

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

BugNET Forums

 
  Forum  Support  Upgrading probl...  Problem in Bugnet 0.7.832.0 in Upgrading
Previous Previous
 
Next Next
New Post 6/29/2007 8:53 AM
User is offline rizvan
6 posts
No Ranking


Problem in Bugnet 0.7.832.0 in Upgrading 

Error in file:C:\Site\BugNET\Install\dbscripts\BugNET.Data.SqlDataProvider.sql
Message:Violation of PRIMARY KEY constraint 'PK_Permission'. Cannot insert duplicate key in object 'Permission'. Violation of PRIMARY KEY constraint 'PK_Permission'. Cannot insert duplicate key in object

The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. The statement has been terminated. Add Default Roles & Permissions

 

Dear Friends

                        I upgrade  Bugnet 0.7.832.0  then above errror occur ,Give me the solution above error ,

I have cop y old connection string in web.config file Then  i upgrade the bugnet .

 

 

Server Error in '/bugnet' Application.

The username is already in use.

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.Web.Security.MembershipCreateUserException: The username is already in use.

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:

[MembershipCreateUserException: The username is already in use.]
System.Web.Security.Membership.CreateUser(String username, String password, String email) +2255006
BugNET.Install.Install.InstallBugNET() +368
BugNET.Install.Install.InstallApplication() +1449
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) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

 

 
New Post 6/29/2007 12:22 PM
User is offline admin
641 posts
bugnetproject.com
1st Level Poster




Re: Problem in Bugnet 0.7.832.0 in Upgrading 
Modified By admin  on 6/29/2007 11:24:36 AM)

You will also need to copy over the InstallationDate app setting otherwise the installer will think you are creating a new install.  After copying this setting over from your previous installation  your upgrade should work properly.


Davin Dubeau
BugNET - Core Developer

 
New Post 7/2/2007 2:39 AM
User is offline rizvan
6 posts
No Ranking


Re: Problem in Bugnet 0.7.832.0 in Upgrading 

 Dear Davin,

                                   I have copy <add key="InstallationDate" value="5/25/2007" /> this setting in the web.config file . Then after I try to install http://localhost/bugnet/install/Install.aspx

the  error occur .Give me prober Solution for that. Any other solution for the above post .

 

 
Previous Previous
 
Next Next
  Forum  Support  Upgrading probl...  Problem in Bugnet 0.7.832.0 in Upgrading

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.