Re: msde login problem
From: Mike Hodgson (mike.hodgson_at_mallesons.nospam.com)
Date: 02/21/05
- Next message: Andrew J. Kelly: "Re: Clustered Indexes"
- Previous message: Claude: "Re: Linked server - force translation"
- In reply to: Antonin Koudelka: "msde login problem"
- Next in thread: Antonin Koudelka: "Re: msde login problem"
- Reply: Antonin Koudelka: "Re: msde login problem"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Feb 2005 15:01:05 +1100
By default, MSDE is installed with Windows Authentication only. So
unless you've changed it to mixed mode you'll only be able to login with
trusted logins (not 'sa'). To change to mixed mode you have to change a
reg value, viz.
"HKLM\Software\Microsoft\MSSQLServer\MSSQLServer\LoginMode" or
"HKLM\Software\Microsoft\Microsoft SQL Server\<Instance
Name>\MSSQLServer\LoginMode" for a named instance (detailed in
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q325022). The
values for the reg key are:
1 - Windows only mode
2 - Mixed mode (Windows & SQL authentication)
Cheers,
-- *mike hodgson* |/ database administrator/ | mallesons stephen jaques *T* +61 (2) 9296 3668 |* F* +61 (2) 9296 3885 |* M* +61 (408) 675 907 *E* mailto:mike.hodgson@mallesons.nospam.com |* W* http://www.mallesons.com Antonin Koudelka wrote: >I installed MSDE in my computer. When I try to connect to a database from a >program I get an error message: > > Code = 80004005 > Code meaning = Unspecified error > Source = Microsoft OLE DB Provider for SQL Server > Description = Login failed for user 'sa'. Reason: Not associated with >a trusted SQL Server connection. > >Please help. > >Antonin > > > >
- Next message: Andrew J. Kelly: "Re: Clustered Indexes"
- Previous message: Claude: "Re: Linked server - force translation"
- In reply to: Antonin Koudelka: "msde login problem"
- Next in thread: Antonin Koudelka: "Re: msde login problem"
- Reply: Antonin Koudelka: "Re: msde login problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|