Print Page | Close Window

SQL Server Database Setup

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=132
Printed Date: 01 April 2026 at 9:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: SQL Server Database Setup
Posted By: sespark
Subject: SQL Server Database Setup
Date 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




Replies:
Posted By: NewbieDude
Date Posted: 13 February 2003 at 1:15pm

Try this:

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

 



Posted By: michael
Date 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.


Posted By: fernan82
Date 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.....


Posted By: FlectumBlot
Date 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.

 

 



Posted By: michael
Date 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.



-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: FlectumBlot
Date 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.


Posted By: BrownGhost
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net