(FYI - the Search box throws a scripting error when I type in it)
I see in SQL Express Manager that I can connect using either Windows Authentication or SQL Authentication.
Is the SQL Authentication for use with SQL Server 2000 and perhaps the full SQL Server 2005, but not for SQL Express
My product uses SQL Authentication with SQL Server 2000; I am testing my product with SQL Express, but it fails on the authentication step:
Event Type: Failure Audit
Event Source: MSSQL$SQLEXPRESS
Event Category: Logon
Event ID: 18452
Date: 5/24/2005
Time: 3:13:26 PM
User: N/A
Computer: XSDEV02
Description:
Login failed for user 'AppMetrics'. The user is not associated with a trusted SQL Server connection. [CLIENT: <local machine>]
Can SQL Express be configured to accept SQL Authentication as SQL Server 2000 can
Regards -

SQL Authentication and SQL Express
LenardG
Please follow instructions below:
Enabling SQL Authentication
STEP1:
You need to enable SQL Authentication on the machine. This is complex in SQLExpress and you need to edit the registry. Copy the following lines of text onto a Notepad and save it with extention .REG.
-------------COPY BELOW---------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer]
"LoginMode"=dword:00000002
-------------COPY TILL THIS---------------------------------
STEP2: Double Click on the .REG file to change the registry. This change the Authentication Mode to enable SQL Authentication.
STEP3: Restart the SQL Server Express Service or reboot the machine for registry change to take effect.
Regards,
Vikram
wingsalltheway19
Greetings
I too am having SQL auth login problems with SQL Server Mgmt tool. I tried the above REG mod (seems like it took), then restarted machine. Now I get the below meesage when trying to use SQL auth. BTW, I'm on a stand-alone home machine. I try 'sa', no pwd and no go. I can easily login with Win auth, but am unable to attach to a DB in my mydocs/website folder as it doesn't see it. I used to have MSDE running but yanked it. I think it has something to do with my Win admin user account, though it has full machine access. I'm running XP Pro. As you can tell, I am somewhat new to this and would appreciate any haelp or direction. I really just want to to attach to a db in my docs folder. I could care less about which is the proper method. I just want one to work.
Cannot connect to PDG1\SQLEXPRESS
A connection was successfully established with the server, but then the an error occured during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)(Microsoft SQL Server, Error: 233)
Regards
Sully
Ralph Deleja-Hotko
beam
-Euan
Please reply only to the newsgroup/forum so that others can benefit. When posting,please state the version of SQL Server being used and the error number/exact error message text received, if any.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
This posting is provided "AS IS" with no warranties, and confers no rights.
romeo123
That's interesting. "SQL Server Express DOES support SQL Server authentication but it does not by default. You need to change it."
I'll bite.. How
MikeNZ
I am trying to get dotnuke to work using sql authentication...and its been a nightmare using this CTP. I had to do these commands in express manager to get a user added.
use SUNSPRAY
exec sp_addlogin 'oob', 'oob191EGrandAve', 'SUNSPRAY', 'us_english'
EXEC sp_addsrvrolemember 'oob','sysadmin'
EXEC sp_grantdbaccess 'oob'
It then shows as a user for my SUNSPRAY database, but when i try to connect using SQL...it blows up...it also blows up when i try to connect using VS 2005 beta 2.
Miles Cohen
MSNasianuk
Okay, I figured out my problem.
I have no idea if this will help at all, but I have figured out a way to get SQL Express 2005 to SQL Authenticate via the Server Mgmt tool. Let me first say that I am a novice, so this message is for the person who has little or no clue. I am running Wxp Professional on a stand alone client machine (home box).
First log in via Windows Authentication. If you can't log on via Windows Auth then read no further and check User Account priviledges and set accordingly. User Accounts can be found in the Control Panel > User Accounts. Check to see if you have Administrator Access on machine. If not, set it and continue below. If you do have Admin access and SQL Win Auth still fails uhh read no further and good luck.
Bingo!
hope this helped
Sully