Re: cannot connect to the database using sa or a new login

From: Chris V. (tophe_news_at_hotmail.com)
Date: 11/22/04


Date: Mon, 22 Nov 2004 16:41:48 +0100

Hi,

You change the authentication process from "Windows only" to "SQL+Windows"
with the following steps :

1- stop MSSQLServer service
2- edit the value
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\LoginMode to
assign it the value 2.
3- Restart the service

Note : the value LoginMode can be
    1 for Windows authenticaton
    2 for Mixed authentication

Rgds,
Chris

"mitra" <mitra@discussions.microsoft.com> wrote in message
news:7A3CF1D3-892B-4054-8B72-FED592BE3FC7@microsoft.com...
> Hi,
>
> I have problem connecting to any of the databases on the local machine
using
> the "sa" or any of the logins that I had created and gave database access.
I
> have SQL Server 2000 Developer Edition installed on XP Professional OS.
>
> I am getting the following error:
>
> Java.sql.SQLException: []Login failed for user 'sa'. Reason: Not
associatied
> with a trusted SQL Server connection
>
> I have never seen this error message.
>
> I have the same SQL Server 2000-Developer edition installed on this other
XP
> Professional system and there is no problem with connecting to any of its
> local machine databases.
>
> Please help!
>
> Thank you,
> --
> Mitra



Relevant Pages

  • Re: Windows XP Pro Sp2 cannot connnect to SQL Server 2005
    ... Based on the error message, it sounds like SQL2005 didn't set itself up to ... I have no problem connecting with local machine to ... Windows Firewall exception for port 445, set alias for SQL Server ...
    (microsoft.public.windowsxp.general)
  • Re: Help Please!
    ... permission issue with connecting with your database. ... posted the entire error message to be sure. ... And can you tell me please where the SQL Server is ... located relative to the machine on which the Database Results page is? ...
    (microsoft.public.frontpage.programming)
  • Re: Windows XP Pro Sp2 cannot connnect to SQL Server 2005
    ... Based on the error message, it sounds like SQL2005 didn't set itself up to ... I have no problem connecting with local machine to ... Windows Firewall exception for port 445, set alias for SQL Server ...
    (microsoft.public.windowsxp.general)
  • Communication Link Failure
    ... I am getting a strange error message when connecting to a single Sql Server ...
    (microsoft.public.sqlserver.connect)
  • Re: How to connect a workstation to SQL Server 2005 thru ODBC?
    ... and open the port in the Windows XP ... Welcome to the Getting Started with the Database Engine tutorial. ... Connecting to the Database Engine ... Either SQL Server Management Studio or Management Studio Express. ...
    (microsoft.public.sqlserver.connect)

Quantcast