RE: Unable toconnect to database
- From: v-wywang@xxxxxxxxxxxxxxxxxxxx (WenYuan Wang [MSFT])
- Date: Thu, 29 Nov 2007 04:02:02 GMT
Hello Eliassal,
Thanks for your reply,
SQL Profile cannot provider more information than the event log you have
got. It just helps on confirm if the issue is accused by TFSSERVICE Login
Failure.
I'm afraid there is no tool/procedure to validate useraccount. But I think
we can achieve by ourselves. Do you still remember the password for
TFSSERVICE account? My suggestion is we may consider trying to connect to
this SQL Server by this account directly.
For example:
System.Data.SqlClient.SqlConnectionStringBuilder ssb = new
System.Data.SqlClient.SqlConnectionStringBuilder();
ssb.DataSource = "";
ssb.UserID = "";
ssb.Password = "";
ssb.InitialCatalog = "";
System.Data.SqlClient.SqlConnection sc = new
System.Data.SqlClient.SqlConnection();
sc.ConnectionString = ssb.ConnectionString;
sc.Open();
sc.Close();
Do you get any error message when running this application?
Please let me know the result. This helps on research very much.
If you have any more concern, please also feel free to update here. We are
glad to assist you.
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: Unable toconnect to database
- From: SalamElias
- RE: Unable toconnect to database
- References:
- RE: Unable toconnect to database
- From: WenYuan Wang [MSFT]
- RE: Unable toconnect to database
- From: SalamElias
- RE: Unable toconnect to database
- Prev by Date: Re: Problem - error 1304 writing to file
- Next by Date: RE: VS2005 hangs in cl.exe and devenv.exe
- Previous by thread: RE: Unable toconnect to database
- Next by thread: RE: Unable toconnect to database
- Index(es):