Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - SQL installation:"Login failed for user 'sa'"

Reply
 
Old 04-30-2008   #1 (permalink)
F.N.Z


 
 

SQL installation:"Login failed for user 'sa'"

I want to install SQL express edition on a laptop with vista home basic, but
I faced a lot of problems.I have this error:

SQL Setup could not connect to the database service for server
configuration. The error was:[Microsoft][SQL Native client][SQL Server] Login
failed for user 'sa'.refer to server error logs ans setup logs for more
information.

I went to Microsoft 'help and support center'. I found a page that describes
my problem. it is available at 'bug#431174'. It said that I must delete some
specific temporary files and goto SQL configuration Manager and start the SQL
Server services. I delete those files, but I couldn't start the "MSSQLSERVER"
in SQL configuration Manager. I tried to do that. It was going to be started,
but in the middle of the progress, it stopped. I do it several times, but it
did not start. I think the main problem that I can't install SQL Server is: I
can't make the MSSQLSERVER start.what can I do?Please help me!

My System SpecsSystem Spec
Old 04-30-2008   #2 (permalink)
Miro


 
 

Re: SQL installation:"Login failed for user 'sa'"

When you run the sql icon, do you right click on it and say "Run as
Administrator" ?


"F.N.Z" <FNZ@xxxxxx> wrote in message
news:705750BC-74BF-4326-9309-BB3783420BEF@xxxxxx
Quote:

>I want to install SQL express edition on a laptop with vista home basic,
>but
> I faced a lot of problems.I have this error:
>
> SQL Setup could not connect to the database service for server
> configuration. The error was:[Microsoft][SQL Native client][SQL Server]
> Login
> failed for user 'sa'.refer to server error logs ans setup logs for more
> information.
>
> I went to Microsoft 'help and support center'. I found a page that
> describes
> my problem. it is available at 'bug#431174'. It said that I must delete
> some
> specific temporary files and goto SQL configuration Manager and start the
> SQL
> Server services. I delete those files, but I couldn't start the
> "MSSQLSERVER"
> in SQL configuration Manager. I tried to do that. It was going to be
> started,
> but in the middle of the progress, it stopped. I do it several times, but
> it
> did not start. I think the main problem that I can't install SQL Server
> is: I
> can't make the MSSQLSERVER start.what can I do?Please help me!
My System SpecsSystem Spec
Old 04-30-2008   #3 (permalink)
Blue Streak


 
 

Re: SQL installation:"Login failed for user 'sa'"

I am not too familiar with SQL 2005 and Vista but if you are
logged in as an administrator you can use the OSQL utility from the
command prompt to access the database. From there you can reset the
'sa' password.

i.e.
1) Select: Start > Run and type in the word COMMAND and click on OK.
2) At the prompt type osql -E and press Enter.
3) Type sp_password 'oldpassword','newpassword',sa and press Enter at
the "1>" prompt.
4) Type go and press Enter at the "2>" prompt.
5) You should receive the message Password changed.
6) The "1>" prompt should return. Type in exit and press Enter.
7) Type in exit and press Enter again.

If you don't know the 'oldpassword' you can try the line: sp_password
NULL, NULL, sa ...BUT, I am not sure if SQL 2005 will let you set the
'sa' password to NULL.
My System SpecsSystem Spec
Old 04-30-2008   #4 (permalink)
Blue Streak


 
 

Re: SQL installation:"Login failed for user 'sa'"

On Apr 30, 4:40*pm, Blue Streak <rdlebre...@xxxxxx> wrote:
Quote:

> * * I am not too familiar with SQL 2005 and Vista but if you are
> logged in as an administrator you can use the OSQL utility from the
> command prompt to access the database. *From there you can reset the
> 'sa' password.
>
> i.e.
> 1) Select: Start > Run and type in the word COMMAND and click on OK.
> 2) At the prompt type osql -E and press Enter.
> 3) Type sp_password 'oldpassword','newpassword',sa and press Enter at
> the "1>" prompt.
> 4) Type go and press Enter at the "2>" prompt.
> 5) You should receive the message Password changed.
> 6) The "1>" prompt should return. *Type in exit and press Enter.
> 7) Type in exit and press Enter again.
>
> If you don't know the 'oldpassword' you can try the line: sp_password
> NULL, NULL, sa *...BUT, I am not sure if SQL 2005 will let you set the
> 'sa' password to NULL.
Oh, crap! Please disregard this post. It *assumes* the SQL server is
running.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Login error - "Loading script failed" VB Script
cygwin fails on Vista and Win Enterprise only, telnet "switching to user andy failed" Vista security
Unable to Login due to "User Profile Service" failure Vista account administration
How do I bypass "Switch User" screen to login as another in Vista? General Discussion
Installation failed after "completing upgrade" setupact.log file Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46