I also get an error when trying to connect using Web Data Administrator: "Invalid username and/or password, or server does not exist. Also, please ensure that SQL Server Authentication is enabled on the server. " I am using the "sa" account with the correct password. I have also tried no password (just in case) and that doesn't work either.
I cannot confirm that I have SQL Server Authentication enabled. I have no idea how to check for this using SQL MSDE. This may be part of the problem...any thoughts on this issue?
My OS: Windows XP Professional Service Pack 1 (Build 2600)
My Web Server: Internet Information Services Version 5.1.2600.0
My .NET Framework: .NET Framework Version 1.1.4322.573
My SQL Server: Microsoft SQL Server Desktop Engine (SQL Server Version 8.00.760)
Other Info: .NET is fine and linked to IIS, all other .NET apps compile/run fine. SQL Server Service Manager is giving me the green arrow. My OS is MS WinXP Pro, all SP's and hot fixes and updates applied.
I will be monitoring this post and trying any suggestions right away & posting my success/failure right back here.
If anyone would like to see a screen shot of the error generated by the Time Tracker install, use the following link:
http://www.versyss.com/mike/shot.gif
Thanks in advance!First, to determine with authentication mode you are using, go to the Windows command prompt and type this command:
osql -d Master -Q "xp_loginconfig" -E
Terri|||Results of: osql -d Master -Q "xp_loginconfig" -E
Name: Config_Value
--------
login mode:Windows NT Authentication
default login:guest
default domain:Null
audit level:none
set hostname:false
map _ :domain separator
map $:Null
map #:-
So it looks like I am using Win. NT Auth. mode. Now how do I switch this to SQL Server Auth. or Mixed Mode? Remember this is a MSDE installation so I have no Enterprise Manager...
Thanks sof the help so far....Mike|||Without Enterprise Manager, you could edit the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer
Change LoginMode to 1 for "Windows Only", 2 for "SQL Server and Windows"
As always, use care when editing the registry. It should be backed up first. If you've never edited the registry, you should read up on it first. I claim no responsibility!
Terri|||Terri, you RULE!
It worked. I edited the reg value you indicated, rebooted, ran "osql -d Master -Q "xp_loginconfig" -E" and verified my mode (which now reads "mixed") and was able to log into my server using Web Data Admin! Thanks so much! I hope this posts helps some other people as well!
P.S. The use of "localhost" didn't work for the server. I think I read somewhere that the "localhost" option has been disabled in MSDE. I don't know for sure but all I know is that "localhost" didn't work for me but the server name and IP address do...
Thanks again Terri...
没有评论:
发表评论