D
Dan Aldean
Hi,
I use the same connection string in a Windows and then in a WEB application
to connect to SQL Server.
When I try it in the WEB it doesn't work,
private SqlConnection conTest = new SqlConnection(@"data
source=YOUR-136A4423DC\localhost;initial catalog=TestDB;integrated
security=SSPI;persist security info=False;workstation
id=YOUR-136A4423DC;packet size=4096");
conTest.Open();
the error on open is:
Login failed for user 'YOUR-136F2019DC\ASPNET'.
what is different and raises the error?
Thanks
I use the same connection string in a Windows and then in a WEB application
to connect to SQL Server.
When I try it in the WEB it doesn't work,
private SqlConnection conTest = new SqlConnection(@"data
source=YOUR-136A4423DC\localhost;initial catalog=TestDB;integrated
security=SSPI;persist security info=False;workstation
id=YOUR-136A4423DC;packet size=4096");
conTest.Open();
the error on open is:
Login failed for user 'YOUR-136F2019DC\ASPNET'.
what is different and raises the error?
Thanks