Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - msSQL_Server_Setup.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

msSQL_Server_Setup.asp

 Post Reply Post Reply
Author
budgie69 View Drop Down
Newbie
Newbie


Joined: 07 August 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote budgie69 Quote  Post ReplyReply Direct Link To This Post Topic: msSQL_Server_Setup.asp
    Posted: 07 August 2006 at 10:42am
Getting frustrated with the process:
 
SQL is installed, and MDAC 2.8
Edited the dbase connection.asp
 
When Running the msSQL_Server_Setup.asp and keep getting:
 
 
----
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 'database_connection.asp' found in the 'database' directory.
-----
 
What is the DBO ?
 
I am putting the following details in;
 
USERNAME (tried both NT Logon and SQL SA)
Password (tried SA and NT logon)
DBO Field, not sure what is required here, tried SQL Server & SQL Dbase Name.
 
Cant get any further than this.
 
Thanks for you help,
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2006 at 2:56pm
Make sure that the SQL Server is running in mixed mode allowing TCP/IP connections.

Also check that your SQL Server login details are correct and that you have created a user account on the SQL Server for the database and given that user account DBO (Database Owner)  rights on the database.
Back to Top
budgie69 View Drop Down
Newbie
Newbie


Joined: 07 August 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote budgie69 Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2006 at 3:15pm
perfect, good old server reboot did the trick, change sql permissions to use both NT and SA authentication...... back to the testing !
 
Thanks boRg
Back to Top
charast View Drop Down
Newbie
Newbie


Joined: 07 August 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote charast Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2006 at 4:05pm
I am having the same problem as Budgie69 (and quite a few other people after a seach for this issue).

I have SQL2000 installed. a blank database created. I am running SQL in mixed mode. I have a SQL user created which has DBO rights.

I have modified the database_connection.asp file as follows:
servername is localhost  (i am running my own webserver, i am NOT using a Webhosting provider)
username is the user I created with DBO rights
password is the password to the above user
dbname is the name of the empty database I created


when I run the msSQL_server_setup.asp it prompts for 3 pieces of input:

SQL server username:  (this is a blank field)  I populated this with the name of the SQL user I created with DBO rights

SQL server password:   (this is a blank field)  I populated this with the password of the SQL user I created with DBO rights

SQL server username for creating tables:  (this field is PRE-populated with "DBO" ).  I have left this as DBO (does not work). I have entered the  SQL server username I created with DBO rights (this does not work). I have entered "sa" (also does not work).

all attempts have ended up with the same basic message:

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 'database_connection.asp' found in the 'database' directory.

I have the database_connection.asp


I am hoping that we can get a bit of a better response as to what may be happening other than the canned one I have read on virtually every post regarding this issue.

what EXACTLY should be contained in the "
SQL server username for creating tables" field??

any additional information would be EXTEMELY helpful :)  thank you!!



Edited by charast - 07 August 2006 at 4:35pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2006 at 8:00pm
The problem you have here is connecting to the database not with the "SQL server username for creating tables" field. If this field was filled in incorrectly you would have problems latter on when the tool trys to create a table on the database and you would see an error that tables could not be created. As you have given your SQL Sever user DBO rights you just leave the field as DBO.

This is why whenever the connection error pops up I don't mention this field as at this point it has no relavents to the connection error that you get.

As the error message you get comes up when it attempts to connect to the database the issue you have is with one of the other fields, and that the database can not be connected to.

Make sure your database is running in mixed mode, allows TCP/IP connections, and the connection details you have entered are correct.

Also, make sure your firewall is not blocking port 1433 which is used for TCP/IP connections to the SQL Server.


Edited by -boRg- - 07 August 2006 at 8:01pm
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.