M
Michael Hesse
Hi,
I am trying to go from VB to ASP. The following code works perfectly in VB.
Dim cn as New SqlConnection
Dim sConnect as String = "workstation id=VECTRA\mh;data
source=VECTRA;Initial Catalog=Items; Integrated Security=SSPI"
cn.ConnectionString=sConnect
cn.Open()
When I past the same code into ASP.NET, I get this error:
Login failed for user 'VECTRA\ASPNET'.
Can someone help me?
Thanks,
Michael
I am trying to go from VB to ASP. The following code works perfectly in VB.
Dim cn as New SqlConnection
Dim sConnect as String = "workstation id=VECTRA\mh;data
source=VECTRA;Initial Catalog=Items; Integrated Security=SSPI"
cn.ConnectionString=sConnect
cn.Open()
When I past the same code into ASP.NET, I get this error:
Login failed for user 'VECTRA\ASPNET'.
Can someone help me?
Thanks,
Michael