BugNET

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

BugNET Forums

 
  Forum  Support  Installation pr...  Connect to another database - cannot login
Previous Previous
 
Next Next
New Post 7/23/2007 7:50 AM
User is offline BugNET_RB
2 posts
No Ranking


Connect to another database - cannot login 

Hi all,

We are migrating from an commercial issue tracking tool to BugNET.
We are facing the following problems.
We have installed BugNET 0.7.820.0 on our production server (installed the application), everythings works fine.
Now we want to make some custom changes to the application so we have installed BugNET 0.7.854.0 locally on our development machine (installed the application + database through /Install/Installer.aspx ), everything works fine. Next we have copied the sources to the same development machine and are trying to connect to the just installed database.
When i build + run the application from visual studio 2005 i can't login, we get the error:
Your login attempt was not successful. Please try again.
When i try to connect from the working installed version on our development machine to our production database, i can't connect either (same error
Your login attempt was not successful. Please try again.). When i change the connectstring back to the locally installed database, eveything works fine again.

So the problem/question is, how do i connect to a database other than the installed database?
We have installed version 0.7.820.0 locally, no difference.
Does it has something to do with the "applicationid" in the "aspnet_......" tables?

Thanks in advance.

 
New Post 7/25/2007 6:03 AM
User is offline admin
641 posts
bugnetproject.com
1st Level Poster




Re: Connect to another database - cannot login 

 BugNET_RB wrote

Hi all,

We are migrating from an commercial issue tracking tool to BugNET.
We are facing the following problems.
We have installed BugNET 0.7.820.0 on our production server (installed the application), everythings works fine.
Now we want to make some custom changes to the application so we have installed BugNET 0.7.854.0 locally on our development machine (installed the application + database through /Install/Installer.aspx ), everything works fine. Next we have copied the sources to the same development machine and are trying to connect to the just installed database.
When i build + run the application from visual studio 2005 i can't login, we get the error:
Your login attempt was not successful. Please try again.
When i try to connect from the working installed version on our development machine to our production database, i can't connect either (same error
Your login attempt was not successful. Please try again.). When i change the connectstring back to the locally installed database, eveything works fine again.

So the problem/question is, how do i connect to a database other than the installed database?
We have installed version 0.7.820.0 locally, no difference.
Does it has something to do with the "applicationid" in the "aspnet_......" tables?

Thanks in advance.

 

The machine key attribute in the web.config is tied directly to an installation of the application and used to hash passwords.  You will need to syncronize the machine key attributes from the required web.config before you can connect to another database. 


Davin Dubeau
BugNET - Core Developer

 
New Post 7/30/2007 3:42 AM
User is offline BugNET_RB
2 posts
No Ranking


Re: Connect to another database - cannot login 

 Davin wrote

 BugNET_RB wrote

Hi all,

We are migrating from an commercial issue tracking tool to BugNET.
We are facing the following problems.
We have installed BugNET 0.7.820.0 on our production server (installed the application), everythings works fine.
Now we want to make some custom changes to the application so we have installed BugNET 0.7.854.0 locally on our development machine (installed the application + database through /Install/Installer.aspx ), everything works fine. Next we have copied the sources to the same development machine and are trying to connect to the just installed database.
When i build + run the application from visual studio 2005 i can't login, we get the error:
Your login attempt was not successful. Please try again.
When i try to connect from the working installed version on our development machine to our production database, i can't connect either (same error
Your login attempt was not successful. Please try again.). When i change the connectstring back to the locally installed database, eveything works fine again.

So the problem/question is, how do i connect to a database other than the installed database?
We have installed version 0.7.820.0 locally, no difference.
Does it has something to do with the "applicationid" in the "aspnet_......" tables?

Thanks in advance.

 

 

The machine key attribute in the web.config is tied directly to an installation of the application and used to hash passwords.  You will need to syncronize the machine key attributes from the required web.config before you can connect to another database. 

Thank you for your reply. It is working now.

 
New Post 8/2/2007 8:16 AM
User is offline Mark Creery
3 posts
www.data-directions.com
No Ranking


Re: Connect to another database - cannot login 

Hello,

I think I am having the same problem, but don't understand the solution (syncronize ) proposed in the thread.  I realize it is due to my lack of experience in .Net application.

I see where the machine key is in web.config.  Does this value need to be changed?  Possibly to the value in the previously working installation? 

Do values in aspnet.applications, membership, users..etc. need to be changed also?

Thank you for your help.  Mark

 

 

 

 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Connect to another database - cannot login

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.