Why doesn't "simple" login work? CONFUSED!

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Larry Woods (larry_at_NOSPAMlwoods.com)
Date: 12/17/04


Date: Fri, 17 Dec 2004 05:20:06 -0700

I need to admit right up front that I get VERY confused about the security
implementation of SQL Server and it's relationship with Windows security. I
am running a sample and I installed the following security on my '(local)'
server:

EXEC sp_addlogin 'CRReports', 'crreports', 'Northwind'
go
use Northwind
go
EXEC sp_grantdbaccess 'CRReports', 'CRReports'
go

I have tried various methods to log into Northwind (.udl file; .NET Data
Link Properties, etc.) using the "CR/cr..." combination and continue to get:

"Login failed for user 'CRReports'. Reason: Not associated with a trusted
SQL Server connection."

Using EM I looked to see if 'CRReports' was a user and it IS in the user
list both at the Server level and in Northwind.

What's wrong?

(Environment: Windows Professional 2000; SQL Server 2000)

TIA,

Larry Woods



Relevant Pages

  • Re: SQL or Access DB
    ... As far as encryption goes though... ... with Sql Server you can use SQL DMO and encrypt your stored procedures ... installation - Security was absolutely critical and in most instances, ... > then we create a nice gui around this database and sell it to automotive ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Is there any way to prevent hacker trying to guess sa password?
    ... and port 1433 will not be open. ... If someone can crash SQL Server by connecting to port 1433, ... You don't need multiple security experts. ...
    (microsoft.public.sqlserver.security)
  • Re: Getting to the bottom of MSDE network connection problems ...
    ... Brilliant, Nick, especially the explanation for local network user being ... authenticated as GUEST in WinXP SP2. ... > on a desktop OS like XP (meaning that, you can not compare SQL Server ... > again and selected the security tab. ...
    (microsoft.public.sqlserver.msde)
  • RE: Login failed for user (null).
    ... used at signon to authenticate in SQL Server. ... connect the remote SQL Server database), is there any other data accessing ... What's the security identity used to access the remote SQL Server, ... the worker process identity. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • [NT] SQL Extended Procedure Functions Contain Unchecked Buffers
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... SQL Server 7.0 and 2000 provide extended stored procedures, ... Several of the Microsoft-provided extended stored procedures have been ... Exploiting the flaw could enable an attacker to either cause the SQL ...
    (Securiteam)