Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 11th, 2004, 02:30 AM
Authorized User
 
Join Date: Jul 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default PROBLEM IN CONNECTION

I'm using sql server with my asp.net project.
at starting there was no any problem,it was working well.
but now it gives an error
"Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection."
so whats the problem .


abhinavjain
__________________
abhinavjain
 
Old August 11th, 2004, 02:58 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi there,

Change the authentication from WINDOWS ONLY mode to SQL SERVER AND WINDOWS mode. That should solve the problem.

Refer this link - Login Failed for User 'USERNAME', Not Associated with a trusted SQL Server Connection.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old August 12th, 2004, 02:42 AM
Authorized User
 
Join Date: Jul 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi vijay
I had changed the authentication,but still here is same problem.
and also unable to open the "enterprise manager".
I installed the service pack 4 & 3 for sql 7,is it any reasion for the problem.

abhinavjain
 
Old August 13th, 2004, 04:33 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Not sure if that could be the reason.

_________________________
- Vijay G
Strive for Perfection
 
Old September 30th, 2004, 07:47 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Anantsharma Send a message via Yahoo to Anantsharma
Default

Hi,

Check ur SQL server authentication mode. Ur logging in with USer sa, so it seems u r using SQL Authentication. If so u must supply a valid password for that login. Check the Authentication mode and see the login info (Rclick the Server and then select Properties. Varify that u r using correct Service account also.

Be sure about the password u r using for sa.

B. Anant
 
Old September 30th, 2004, 09:32 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you using a DSN to connect? Has the sa password changed? Which type of authentication are you using with the ASP.NET project?

Please do not use the sa password for anything. Not even testing. I do not understand why this is done.



Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection problem atzplzw Classic ASP Databases 3 November 15th, 2004 03:53 AM
Problem with the connection! Berni016x SQL Server 2000 2 November 9th, 2004 08:51 AM
Problem With Connection ! huyremy VB Databases Basics 2 September 29th, 2004 03:37 AM
connection problem weihoe2004 VS.NET 2002/2003 1 July 10th, 2004 01:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.