Windows Authentication problem

From: Ran (ralmog@nyc.rr.com)
Date: 02/19/03


From: "Ran" <ralmog@nyc.rr.com>
Date: Tue, 18 Feb 2003 19:50:48 -0500


Hi
I'm using Ms Sql2k mixed authentication.
When trying to make connection to data base with:
Dim sqlConn As New SqlConnection("Server=localhost; Database=pubs;
Trusted_Connection=yes;")

sqlConn.Open()

I get login failed for user 'servername\aspnet'

I'm sure that my NT user is exists and works, after I checked it from the
client tool sql query analayzer.

Any ideas?

Thanks a lot

Ran



Relevant Pages

  • Re: please help
    ... > aplication for a PDA(whit a data base) and i don't known do "select * from ... support ADOCE, and the .NET languages use ADOCE.NET, which is another beast. ... An .mdb file is an Access database. ... Open the connection to the database. ...
    (microsoft.public.windowsce.embedded.vb)
  • Re: Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine
    ... \par DataGridView of a table in the data base, ... \par connection" and "preview" works despite there is no Jet provider. ... Which mechanisms are used for "test connection" ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: .ldb file stays when connection is closed
    ... I am working on a vb.net app that access an MS Access Data base. ... I checked the connection state and it ... The .ldb file disappears. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine
    ... The machine runs Windows Web Server 2008. ... Kind regards, ... DataGridView of a table in the data base, ... connection" and "preview" works despite there is no Jet provider. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Remote MySQL
    ... I have a similar data base in my computer and I get the connection in this ... message from server: ... try connecting using the command line mysql client ...
    (comp.soft-sys.matlab)