Need Help in Configuring SQL Server 2005 Standard Edition.

  • Login failed for user ''. The user is not associated with a trusted SQL Server Connection.

    Ive got this error... I have just installed the SQL Server 2005 Standard Edition. Could anyone encounter and solve this problem.. please til me how to solve this. I google this but couldnt find a reliable solution for this..

    Thanx...!

  • are you trying to log in as sa or a sql id and it's still only windows security?

  • Hello SQL Noob,

    Yes i was trying to log in as 'sa'.

  • I think your sql server is using windows authentication only...

    I think you need to change to mixed authentication..

    Windows Authentication mode is the default security mode after a typical installation of SQL Server 2000 or of SQL Server 2005

    http://support.microsoft.com/kb/269587

     

    MohammedU
    Microsoft SQL Server MVP

  • yes change your authentication mechanism to mixed mode. Please do the below to change that.

    1. Open enterprise manager

    2. browse to the server and right click properties

    3. move to security tab and change the authentication mode there

    thats all you are done with.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

  • Thanx a lot guys.... Ive been getting knowledge from you... Thanks for the help and hints..

  • this was the old version. I think this configuration is for SQL 2000. ANyways, Thanks....!

  • Hello, I initially solve the 2nd part of the error. Now, when i run a test, it now says "Login failed for user 'sa'". What would I do next? Thanks....

  • login with a windows account that has sysadmin privilege and change the password for the user sa and then use the new password that u have given. this should work.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

  • 'sa' is also a member of sysadmin right?...... Do i have to log using Windows Authentication?

  • Villeta, yes of course login with a windows account with sysadmin privilege and change the password for 'sa'. my last post also said the same.

     

    "login with a windows account that has sysadmin privilege and change the password for the user sa and then use the new password that u have given. this should work"

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

  • Thanks for the hints guys...! Ive already configured my Server.. The problem is not on the sa account coz whenever I log my SQL to the SQL of other PC, I can access it. I figured it in my registry settings of the server. Thanks a lot guys..

    Also "Sugesh Kumar"-- 'sa' has a sysadmin privilege, so basically I can change its password right? without logging in with another user.

  • yes of course sa is with sysadmin privilege i thought that u had lost ur sa password and wanted to reset the same. if so u can login with windows aacoount with sa privilege and reset ur password for sa.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

Viewing 13 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic. Login to reply