Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 12th, 2004, 12:23 AM
Graham Reeds Graham Reeds is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 28 Graham Reeds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m 24 sec
Reputation Power: 0
Configuring SQL Server 2000

Could someone point me in a direction of a good online tutorial of how to set up correctly a SQL Server 2000 installation.

I have looked myself but get lots of Book Reviews and PHP links:-(

The reason I ask is because I am trying to access the NorthWind database using the Programming ASP.NET examples, and unfortunately I get the error "SQL Server does not exist or access denied."

The connection string is "server=local; database=NorthWind" and I have given IUSR_ the right to perform a SELECT on all fields in NorthWind, but I know that this not the best way of doing things.

What I need is a point in the right direction.

Thanks.

Edit: I have changed the connection string to the "server=MOURNBLADE; uid=sa; pwd=MyPW; database=northwind" and made sure that sa has access rights to all tables and still no joy - gives me the error of "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection."

Can anyone give me any pointers?

Last edited by Graham Reeds : December 12th, 2004 at 04:36 PM. Reason: extra information

Reply With Quote
  #2  
Old December 12th, 2004, 07:19 PM
Graham Reeds Graham Reeds is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 28 Graham Reeds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m 24 sec
Reputation Power: 0
Managed to get it working!

For some reason when I ran a google search earlier I recieved very few hits, none of which were particularly helpful. I ran the search again and got a lot more positive hits. The fix? I was using Windows Authentication. I needed to use 'Mixed Mode'. I can't put it anymore succinctly than ScriptLogic does:

Quote:

Using the SQL Enterprise Manager:
1.) Expand a Server group.
2.) Right-click a server name, and then click Properties.
3.) Click the Security tab.
4.) Under Authentication, click the SQL Server and Windows option button.
5.) Restart SQL Server in order for the change to take effect.


Reply With Quote
  #3  
Old December 12th, 2004, 10:04 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 32 m 23 sec
Reputation Power: 180
http://www.google.com/search?q=%22N...:en-US:official

The first link in this google search answered your question, complete with screen shots

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Configuring SQL Server 2000


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway