Question Connection Problem in Vista

BlurQueen78

New member
Joined
Dec 7, 2008
Messages
1
Programming Experience
5-10
Hi All,

I had written an inventory system using Visual Studio 2005 and SQL Server 2005.

The coding of my application is able to be compiled successfully and run on Windows XP OS but when I tried to run it on Vista Home Premium at my laptop, I have an error as follow
'Login failed for user 'MyComputerServerName'

The connection string that I use to connect to the sql server is as follow
"server=B-PC\;database=TEST;Integrated Security=true". Normally, I will just change the server name and it works but this time when I run on Vista, the coding won't work.

Pls advise what went wrong. Is it due to the Administrator's Right in Vista? Your quick reply is highly appreciated.

Thanks!
Regards,
 
Back
Top