PC Review


Reply
Thread Tools Rate Thread

connect to SQL server: windows authentication / SQL Server authentication

 
 
Lloyd Dupont
Guest
Posts: n/a
 
      6th May 2004
I have install a while ago a SQL server on my home computer.
now, due to my work, I'm more confident with it and want to play around with
it at home.
I try to make a connection string to it and I keep having error:
---------------------------
SQL Query Analyzer
---------------------------
Unable to connect to server HERMES:

Server: Msg 18452, Level 16, State 1
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'lloyd'. Reason: Not associated with a trusted SQL Server connection.
---------------------------
OK
---------------------------


I try play around with user role, etc ... in SQL Enterprise manager, no way
I manage user lloyd to work.
this drives me crazy, how could I connect to this database.

(apparently windows authentication work, but I DON'T want to use it, I want
to use a login/password !)

BTW I was wondering, I don't really understand how windows authentication
work, nowhere I manage to find the right granted to myself or user ASP_NET,
where could I find that ?


 
Reply With Quote
 
 
 
 
Lloyd Sheen
Guest
Posts: n/a
 
      6th May 2004
To change this use Enterprise Manager.

Right click on the server you want to change. Select properties. Then
select the Security tab. You will see radio buttons that will allow you to
change the Authentication: to SQL Server and Windows. This will allow you
to use a SQL Server only login.

To manage your logins, expand the server node and select Security/Logins.

Lloyd Sheen


"Lloyd Dupont" <net.galador@ld> wrote in message
news:(E-Mail Removed)...
> I have install a while ago a SQL server on my home computer.
> now, due to my work, I'm more confident with it and want to play around

with
> it at home.
> I try to make a connection string to it and I keep having error:
> ---------------------------
> SQL Query Analyzer
> ---------------------------
> Unable to connect to server HERMES:
>
> Server: Msg 18452, Level 16, State 1
> [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
> 'lloyd'. Reason: Not associated with a trusted SQL Server connection.
> ---------------------------
> OK
> ---------------------------
>
>
> I try play around with user role, etc ... in SQL Enterprise manager, no

way
> I manage user lloyd to work.
> this drives me crazy, how could I connect to this database.
>
> (apparently windows authentication work, but I DON'T want to use it, I

want
> to use a login/password !)
>
> BTW I was wondering, I don't really understand how windows authentication
> work, nowhere I manage to find the right granted to myself or user

ASP_NET,
> where could I find that ?
>
>



 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      7th May 2004
thanks Lloyd :-)

--
ihookdb
Get your data mobile
http://www.ihookdb.com


"Lloyd Sheen" <(E-Mail Removed)> wrote in message
news:e%smc.17355$(E-Mail Removed)...
> To change this use Enterprise Manager.
>
> Right click on the server you want to change. Select properties. Then
> select the Security tab. You will see radio buttons that will allow you

to
> change the Authentication: to SQL Server and Windows. This will allow you
> to use a SQL Server only login.
>
> To manage your logins, expand the server node and select Security/Logins.
>
> Lloyd Sheen
>
>
> "Lloyd Dupont" <net.galador@ld> wrote in message
> news:(E-Mail Removed)...
> > I have install a while ago a SQL server on my home computer.
> > now, due to my work, I'm more confident with it and want to play around

> with
> > it at home.
> > I try to make a connection string to it and I keep having error:
> > ---------------------------
> > SQL Query Analyzer
> > ---------------------------
> > Unable to connect to server HERMES:
> >
> > Server: Msg 18452, Level 16, State 1
> > [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
> > 'lloyd'. Reason: Not associated with a trusted SQL Server connection.
> > ---------------------------
> > OK
> > ---------------------------
> >
> >
> > I try play around with user role, etc ... in SQL Enterprise manager, no

> way
> > I manage user lloyd to work.
> > this drives me crazy, how could I connect to this database.
> >
> > (apparently windows authentication work, but I DON'T want to use it, I

> want
> > to use a login/password !)
> >
> > BTW I was wondering, I don't really understand how windows

authentication
> > work, nowhere I manage to find the right granted to myself or user

> ASP_NET,
> > where could I find that ?
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect SQL Server from Windows Forms - Windows Authentication Mod Lubos Hladik Microsoft ADO .NET 2 11th Nov 2009 09:40 PM
SQL Server Authentication versus Windows Authentication supvine@gmail.com Microsoft ADO .NET 0 13th Jul 2006 10:13 PM
Configure Database Connection Can't Connect to SQL Server using Windows Authentication Joseph Microsoft Frontpage 1 25th Feb 2005 04:59 PM
Can't connect to SQL Server, using Windows Authentication users of SQL server? help =?Utf-8?B?UmV6YQ==?= Microsoft ASP .NET 3 7th Jun 2004 07:42 PM
Using Windows authentication the connect to SQL Server on different machine Richard West Microsoft ADO .NET 0 6th Oct 2003 10:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:07 AM.