Re: Trusted connection error

From: Dan Guzman (danguzman_at_nospam-earthlink.net)
Date: 02/25/04


Date: Wed, 25 Feb 2004 08:11:20 -0600

To add to Hari's response, if your requirement is to use SQL Server
authentication rather than Windows authentication, your SQL Server needs to
be configured to allow both SQL Server and Windows authentication.
Windows-only is the installation default.

You can change the configuration using Enterprise Manager under Server
properties --> Security. You'll need to restart SQL Server after you make
the change.

-- 
Hope this helps.
Dan Guzman
SQL Server MVP
"Dave Uphoff" <anonymous@discussions.microsoft.com> wrote in message
news:0fe501c3fb56$568594a0$a301280a@phx.gbl...
> I get the following error when attempting to connect to
> an SQL database.
>
> Login failed for user 'dave'. Reason: Not associated with
> a trusted SQL Server connection.
>
> This is my connection string.
>
> "Provider=SQLOLEDB; Data Source=localhost;Initial
> Catalog=subscriber;User ID=dave;Password=******";
>
> Can anyone tell me what why I get this error?  I have
> dave established as a Data User for the database.
> Dave Uphoff
>


Relevant Pages

  • Re: Credentials not being passed with remote access
    ... allowed windows authentication to work, ... I had assumed johnx was a domain user rather than a local Windows account. ... johnx was set up as a local login on sql server. ...
    (microsoft.public.sqlserver.security)
  • Re: Connection Manager + Remote SQL Clients
    ... This error is typical of a SQL Server configuration where you are using ... Windows Authentication to connect to your backend database whereas your ... Vista machines. ...
    (microsoft.public.windows.server.sbs)
  • Re: asp.net sql trusted connections between machines
    ... > connect to a remote SQL Server instance w/ Read-Write permissions. ... > connection string in the web.config. ... > Windows Authentication setting for access via IIS doesn't seem pass the ... is this impersonation behavior with IIS and Windows Authentication ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Very basic login question
    ... In order to use Windows Authentication the two computers have to be members of the same domain or trusted domains. ... you should have a login at the SQL Server on the XP Pro workstation. ...
    (microsoft.public.sqlserver.security)
  • Re: How to install and configure SQL Server 2005 on Net work and s
    ... database to backend and then link all table from front Access database to ... we never allowed user can login to sql server to do any thing, ... Each user they required Windows Authentication when they open they won ... install the sql server. ...
    (microsoft.public.sqlserver.security)