Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - SQL Server Database Setup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SQL Server Database Setup

 Post Reply Post Reply
Author
sespark View Drop Down
Newbie
Newbie
Avatar

Joined: 13 February 2003
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote sespark Quote  Post ReplyReply Direct Link To This Post Topic: SQL Server Database Setup
    Posted: 13 February 2003 at 12:34pm

I recently tried to create an instance of this forum on my personal computer.  I am running Windows XP Professional with IIS 5.1.  I have installed SQL Server 2000 and created a table for the forum named 'forum.'  Creative?  Eh, it is only for testing.  I gave permissions to my login.  When, I tried to use SQL_server_setup.asp, I recieve the following error:

Error Connecting to database on SQL Server
Check the following is set up and correct:-
SQL Server User Name
SQL Server Password
Name of the SQL Server
Database name set up by you on the server
Empty Database set up by you on the SQL Server
Check also that you have entered the correct details in the

file 'SQL_server_connection.asp' found in the admin directory.

I setup the variables in SQL_server_connection.asp file to read as follows

strSQLServerName = "local"
strSQLDBUserName = "KYP\Sean"
strSQLDBPassword = "*******"
strSQLDBName = "forum"

KYP is the name of the computer I am using.

Is there any way for me to debug this problem better?  How do I figure out what I am doing wrong.

Thank you in advance,

Sean

Back to Top
NewbieDude View Drop Down
Newbie
Newbie


Joined: 13 February 2003
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote NewbieDude Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2003 at 1:15pm

Try this:

strSQLServerName = "KYP"
strSQLDBUserName = "sa"
strSQLDBPassword = "sa password for sql sa account"
strSQLDBName = "forum"

 

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2003 at 1:40pm
you are trying to use windows authentication and this forum is not made for it. like NewbieDude said use SQL authentication and make sure SQL is installed in Mixed mode which is NOT the default. You can change it though in the Server properties.
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2003 at 2:42pm
If you're talking about v7 beta2 it don't work w/ sql yet....gotta wait for beta 3..........right now i'm stuck w/ access cuz i converted my db to access so i can upgrade (since the upgrade script only works w/ access so far) thinking that beta 3 was gonna be out by yesterday or today... now i'm stuck w/ access until beta 3 gets released.....
Back to Top
FlectumBlot View Drop Down
Newbie
Newbie


Joined: 16 April 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote FlectumBlot Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2003 at 9:09am

 

I've tried the suggestions here and still have the same problem:

Error Connecting to database on SQL Server
Check the following is set up and correct:-
SQL Server User Name
SQL Server Password
Name of the SQL Server
Database name set up by you on the server
Empty Database set up by you on the SQL Server
Check also that you have entered the correct details in the

The tables and sp are not created.

 

 

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2003 at 9:59am

Again, make sure you installed SQL Server in mixed mode, if not change it to mixed mode. Right click the server and make sure it looks like here:

After that use an account (i.e. 'sa') to create the databases. The account must have create rights to that database. Enter the values into your sql_server_connection.asp file and use the same for the setup file.

Back to Top
FlectumBlot View Drop Down
Newbie
Newbie


Joined: 16 April 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote FlectumBlot Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2003 at 12:43pm
Thanks for the reply, Michael. As I indicated in my previous post, I've done all that you suggest. Just to be sure, I went through it again. Got the same error.
Back to Top
BrownGhost View Drop Down
Groupie
Groupie


Joined: 26 November 2002
Status: Offline
Points: 193
Post Options Post Options   Thanks (0) Thanks(0)   Quote BrownGhost Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2003 at 4:38pm

Hehehe.. i had simmalrar problems..do this

use (local) not local....

strSQLServerName = "(local)"
strSQLDBUserName = "KYP\Sean"
strSQLDBPassword = "*******"
strSQLDBName = "forum"

and make sure you made a user for the database called.. KYP\Sean

Enjoy BG

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.