How to check which SQL server I'm using

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

Moderator: SourceGear

Post Reply
ramzibalaa
Posts: 4
Joined: Fri Jan 15, 2010 7:33 am

How to check which SQL server I'm using

Post by ramzibalaa » Tue Feb 15, 2011 2:25 pm

Hello,

How can I check which SQL server I'm current;y attached to ? I setup Vault a while ago and cannot remember which server I'm on.

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

Re: How to check which SQL server I'm using

Post by lbauer » Tue Feb 15, 2011 2:38 pm

Check the web.config file in the Vault Service directory on the Vault Server machine.

The ConnectString value will have the authentication type and the SQL Server name -- here it's (local).

Code: Select all

<appSettings>
		<add key="ConfigPath" value="C:\inetpub\wwwroot\VaultService\Vault.config"/>
		<add key="BugTrackingPath" value="BTPBTPBTP"/>
		<!-- SQLSERVERMODE-add key="ConnectString" value="Application Name='SourceGear Vault Server'; Connection Reset='true'; Server=(local); Database=sgvault; User ID=UUUUUUUU; pwd=PPPPPPPP" />SQLSERVERMODE- -->
		<add key="ConnectString" value="Application Name='SourceGear Vault Server'; Connection Reset='true'; Server=(local); Database=sgvault; Integrated Security='true'" />
	</appSettings>
Linda Bauer
SourceGear
Technical Support Manager

Post Reply