C
Christian
Hi,
from a WinForms-app do I connect to a DB using a connectionstring :
m_sqlConnection.ConnectionString =
" workstation id=\"PC-WIN2000\";
packet size=4096;integrated security=SSPI;
data source=\"PC-WIN2000\\SQLSERVERDB\";
persist security info=False;
initial catalog=Lotto";
That works.
Now, using the same ConnectionString do I try to connect to the same DB
from within a ASP.Net app, but I get an error :
Login failed for user 'PC-WIN2000ASPNET'
First: why doesn't it work ?
and second : where does he get that username ('PC-WIN2000ASPNET' ) from ???
I added User ID = sa; Password=; to the connectionstring but I get exactly
the same error !!!
I downloaded the latest version of MDAC 2.7 servicepack 1 : no improvement
Any ideas ?
chris
from a WinForms-app do I connect to a DB using a connectionstring :
m_sqlConnection.ConnectionString =
" workstation id=\"PC-WIN2000\";
packet size=4096;integrated security=SSPI;
data source=\"PC-WIN2000\\SQLSERVERDB\";
persist security info=False;
initial catalog=Lotto";
That works.
Now, using the same ConnectionString do I try to connect to the same DB
from within a ASP.Net app, but I get an error :
Login failed for user 'PC-WIN2000ASPNET'
First: why doesn't it work ?
and second : where does he get that username ('PC-WIN2000ASPNET' ) from ???
I added User ID = sa; Password=; to the connectionstring but I get exactly
the same error !!!
I downloaded the latest version of MDAC 2.7 servicepack 1 : no improvement
Any ideas ?
chris