Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / May 2004

Tip: Looking for answers? Try searching our database.

connect to SQL server: windows authentication / SQL Server authentication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Dupont - 06 May 2004 15:00 GMT
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 ?
Lloyd Sheen - 06 May 2004 16:39 GMT
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

> 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
[quoted text clipped - 22 lines]
> work, nowhere I manage to find the right granted to myself or user ASP_NET,
> where could I find that ?
Lloyd Dupont - 07 May 2004 02:29 GMT
thanks Lloyd :-)

Signature

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

> To change this use Enterprise Manager.
>
[quoted text clipped - 37 lines]
> ASP_NET,
> > where could I find that ?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.