Troubleshooting "Error in the application" msg from Admin

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

Moderator: SourceGear

Post Reply
mrthomas
Posts: 4
Joined: Wed Jan 13, 2010 12:23 pm

Troubleshooting "Error in the application" msg from Admin

Post by mrthomas » Wed Jan 13, 2010 12:47 pm

I need to ad a new user... after logging into the admin site, I clicked on "users" and immediately received the error msg "Error in the application". I have the server log available upon request as the "log" extension is apparently not supported.

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

Re: Troubleshooting "Error in the application" msg from Admin

Post by lbauer » Wed Jan 13, 2010 3:03 pm

The first step is to restart IISon the Vault Server machine with an iisreset command from a command prompt.

If that does not resolve the problem, Send the sgvault.log zipped up to support at sourcegear.com, Attn: Linda. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

mrthomas
Posts: 4
Joined: Wed Jan 13, 2010 12:23 pm

Re: Troubleshooting "Error in the application" msg from Admin

Post by mrthomas » Wed Jan 13, 2010 3:33 pm

We tried restarting IIS and it did not work. I have attached the zipped log file.
Attachments
sgvault.zip
(5.77 KiB) Downloaded 228 times

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

Re: Troubleshooting "Error in the application" msg from Admin

Post by lbauer » Wed Jan 13, 2010 4:47 pm

I don't see a system restart in the log. Did IIS not restart?

What operating system is the Vault Server on?

You could try manually stopping and starting the website where the Vault Service is installed.
Linda Bauer
SourceGear
Technical Support Manager

mrthomas
Posts: 4
Joined: Wed Jan 13, 2010 12:23 pm

Re: Troubleshooting "Error in the application" msg from Admin

Post by mrthomas » Thu Jan 14, 2010 5:45 am

The log is before the restart. Regardless, it contains the error occurred. I have attached the updated log file.
Attachments
sgvault.zip
(7.52 KiB) Downloaded 212 times

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

Re: Troubleshooting "Error in the application" msg from Admin

Post by lbauer » Thu Jan 14, 2010 1:31 pm

The main error seems to be this:

----1/13/2010 1:28:05 PM mrthomas--192.168.12.116(192.168.12.116)--SSL Disabled System.Data.SqlClient.SqlException: The server principal "sgvaultuser" is not able to access the database "sgdragnet" under the current security context.

According to the log, you are using Vault 5.0.2, there is no sgdragnet database used by Vault, only sgvault and sgmaster. Had you previously been using Fortress? Fortress has an sgvault, sgmaster and sgdragnet database.

Do you see an sgdragnet database in SQL Server?
Linda Bauer
SourceGear
Technical Support Manager

mrthomas
Posts: 4
Joined: Wed Jan 13, 2010 12:23 pm

Re: Troubleshooting "Error in the application" msg from Admin

Post by mrthomas » Mon Jan 18, 2010 11:55 am

We had been (and I still believe) are using DragNET but it is really old... I think before you guys renamed it or merged it to Fortress. When we upgraded to 5.0.2 did we need to do something else with DragNET?

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

Re: Troubleshooting "Error in the application" msg from Admin

Post by lbauer » Mon Jan 18, 2010 1:56 pm

As of Vault 4.x, Vault database and a Dragnet database can no longer be on the same SQL Server machine. We share a lot of code between Vault and Fortress, so it could be that when you installed Vault the installer detected the sgdragnet database and tried to do make some Fortress changes. In Fortress, the same user database (sgmaster) is shared between the bug tracking (sgdragnet) and source control side (sgvault).

If you're still using Dragnet, our recommendation would be to upgrade to Fortress, which integrates item tracking with source code control. The Fortress installer will use your existing sgdragnet and sgvault databases.

If for some reason you can't upgrade to Fortress, I would move the Dragnet database to a different SQL Server machine. If you leave Vault where it is uninstall Vault, leaving the databases when prompted. Then backup the sgdragnet, sgmaster and sgvault databases. Drop the sgdragnet database in SQL Server, then reinstall Vault.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply