unable to login to fortress web

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
dnero
Posts: 7
Joined: Wed Apr 30, 2008 12:42 pm

unable to login to fortress web

Post by dnero » Wed May 07, 2008 12:12 pm

I can log into admin and the source control tab.
When I click on the Item tracking tab.. the log in page appears but when I enter the user id and password.. the same login page returns.

I can access fortress items using the windows client.

This began after I installed fortress onto another web server using the same SQL server database that already existed.

Regards,

Dean Nero
SoftForNet Solutions

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed May 07, 2008 2:01 pm

Were you using Fortress previously? Did you uninstall it or reinstall on the new web server?

Do you have an sgmaster, sgvault and sgdragnet database on the SQL Server machine?

Are there any error messages in the sgvault or fortress logs? They're in %windows%\temp\sgvault and sgfortress
Linda Bauer
SourceGear
Technical Support Manager

dnero
Posts: 7
Joined: Wed Apr 30, 2008 12:42 pm

Post by dnero » Thu May 08, 2008 1:10 pm

I installed Fortress on another machine with uninstalling the old instance. The machine with the old instance was need for another use and had a new OS installed on it.

My new installation asked if I wanted to use the existing database..I answered "yes" to the question

the databases are there as they should be..the vault functions work correctly using the windows client and the IDE plugin. But I cannot perform any actions on the web interface. And I believe that this is the only place that I can perform admin functions.

the following is an error that appeared in the event viewer after I tried to login

Event Type: Information
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1315
Date: 5/8/2008
Time: 2:13:20 PM
User: N/A
Computer: MATEJKO
Description:
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket supplied was invalid.
Event time: 5/8/2008 2:13:20 PM
Event time (UTC): 5/8/2008 7:13:20 PM
Event ID: 1c86a9df89314a8db0d0cfb32372f567
Event sequence: 564
Event occurrence: 5
Event detail code: 50201

Application information:
Application domain: /LM/W3SVC/1/Root/Fortress-2-128546689205459559
Trust level: Full
Application Virtual Path: /Fortress
Application Path: C:\inetpub\wwwroot\Fortress\
Machine name: MATEJKO

Process information:
Process ID: 1860
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
Request URL: http://matejko/Fortress/ListDatabaseOpts.aspx
Request path: /Fortress/ListDatabaseOpts.aspx
User host address: 131.107.24.17
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Name to authenticate:

Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.



the sgvault log contains no errors and the sgfortress log contains no entries from today... here are the contents

# SourceGear Fortress Server
2008-05-06 14:24:34.939 Starting SourceGear Dragnet by SourceGear, LLC - Version 1.1.1.18060 Copyright © 2003-2008 SourceGear, LLC All rights reserved.
2008-05-06 14:24:34.939 Configured Options: : LogLevel - Quiet LogReverseDNSLookup - True
2008-05-07 11:31:21.199 Starting SourceGear Dragnet by SourceGear, LLC - Version 1.1.1.18060 Copyright © 2003-2008 SourceGear, LLC All rights reserved.
2008-05-07 11:31:21.199 Configured Options: : LogLevel - Quiet LogReverseDNSLookup - True
2008-05-07 11:56:18.725 Starting SourceGear Dragnet by SourceGear, LLC - Version 1.1.1.18060 Copyright © 2003-2008 SourceGear, LLC All rights reserved.
2008-05-07 11:56:18.725 Configured Options: : LogLevel - Quiet LogReverseDNSLookup - True
2008-05-07 16:22:02.858 Starting SourceGear Dragnet by SourceGear, LLC - Version 1.1.1.18060 Copyright © 2003-2008 SourceGear, LLC All rights reserved.
2008-05-07 16:22:02.858 Configured Options: : LogLevel - Quiet LogReverseDNSLookup - True

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu May 08, 2008 4:49 pm

There's a setting in the web.config called machineKey, where we put the
shared windows forms key that makes it so that Vault and Fortress can
share a login. It sounds like that may not be working properly. Compare that key in both the Vault and Fortress web.configs in the Vault Service and Fortress directories in C:\Inetpub\wwwroot.
Linda Bauer
SourceGear
Technical Support Manager

dnero
Posts: 7
Joined: Wed Apr 30, 2008 12:42 pm

Post by dnero » Fri May 09, 2008 6:55 am

Vault Service
<machineKey validationKey="D74787D05D92570FD72ECD872BFA6EF3D1719775F1BD3212CD4F4BF29E04A076FB4A4E477EC8609484C3B8E6A2733D34A2EF96D5ABBFD236B7CAF0E42EB1C998" decryptionKey="492F28D503F6775A9BE07D4F29862CDB6F90DE07B20A6065" validation="SHA1" />


Fortress
<machineKey validationKey="354B8B76134D0AE07784C7F9CD6AA8A7F1811908AC6A6DC58DAA2A37BDA7E383686F8BF4A152F15B786EF14FC37B7CD02BA48AB535FFBCAB9EA122F2B0C5FB99" decryptionKey="25D8CE2B0231F8237019FBC2649F9DF48263DBD1A6C6DC9B" validation="SHA1" />

Should they be the same?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri May 09, 2008 12:00 pm

Yes, they should. Try copying the values from one key into the other.
Linda Bauer
SourceGear
Technical Support Manager

dnero
Posts: 7
Joined: Wed Apr 30, 2008 12:42 pm

Post by dnero » Mon May 12, 2008 7:54 am

Worked Like a charm....thanks

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri May 16, 2008 12:25 pm

Thanks for the update.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply