Re: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server Server Connection.
From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 05/24/04
- Next message: Donald Wheeler: "Problems installing/accessing SQL server via web"
- Previous message: Grant Reid: "Re: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server Server Connection."
- In reply to: Grant Reid: "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server Server Connection."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 22:09:46 +0530
Hi,
>From the server execute the below command from command prompt
osql /U sa /P passwd /S servname
If the execution give the same error then we can conclude that the
Authentication is not changed to SQL Server and Windows mode.
Open the enterprise manager, navigate to your server, right click on the
left pane, choose properties, select the security tab
and change the "Windows only" to "SQL Server and Windows".
STOP and START MSSQL Server service
Note:
By default the 'sa' password is blank. Change it quickly. Go to the security
folder (Enterprise manager) of your server and change the sa password.
Include this password in your connection string.
Thanks
Hari
MCDBA
"Grant Reid" <grant.reid@telefonica(dot)net> wrote in message
news:e0xPjFaQEHA.252@TK2MSFTNGP10.phx.gbl...
> Hello,
>
> I am trying to create an OLE DB connection to MS-SQLSERVER 2000.
> I have set the security settings inside Enterprise Manager to allow logins
> for both SQL Server and Windows.
> Does anybody have any ideas as to what is causing this error?
>
> Regards
> Grant Reid
>
>
- Next message: Donald Wheeler: "Problems installing/accessing SQL server via web"
- Previous message: Grant Reid: "Re: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server Server Connection."
- In reply to: Grant Reid: "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server Server Connection."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|