Web Wiz - Green Windows Web Hosting

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

SQL Setup

 Post Reply Post Reply Page  12>
Author
garagetitan View Drop Down
Newbie
Newbie


Joined: 26 July 2003
Location: Australia
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote garagetitan Quote  Post ReplyReply Direct Link To This Post Topic: SQL Setup
    Posted: 12 August 2003 at 8:27am

Hey

I'm having trouble setting my SQL up.

I've tried everything I can thing of, yet still get this msg..

"


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."

this is the setup from my SQL_server_connection.asp file..

'Enter the details of your SQL server below
strSQLServerName = "WIN2000SERVER2" 'Holds the name of the SQL Server
strSQLDBUserName = "forum" 'Holds the user name (for SQL Server Authentication)
strSQLDBPassword = "database" 'Holds the password (for SQL Server Authentication)
strSQLDBName = "forum"     'Holds name of a database on the server

 

Its running MS SQL 2000, whats the problem? the forum is on WIN2000SERVER, so its connecting through my local network.

Cheers

James



 



Edited by garagetitan
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: 12 August 2003 at 12:35pm

Make sure that your SQL server is running in mixed mode and not using NT authentication.

You need mixed mode to be able to connect using TCP/IP.

Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2003 at 5:47pm

Probably a typing error when you posted, but the setup file has the server as 'WIN2000SERVER2' but you state afterwards that it is on 'WIN2000SERVER'. I imagine you just left the 2 out but thought I'd check...

Blair

Webmaster, The Plane Gallery
Greetings From Christchurch
Back to Top
garagetitan View Drop Down
Newbie
Newbie


Joined: 26 July 2003
Location: Australia
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote garagetitan Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2003 at 6:53pm

Blair

I have 2 servers

WIN2000SERVER = Runs IIS and hence is the actual front end of the forums

WIN2000SERVER2 = Runs SQL, back-end, database of the server

Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2003 at 10:19pm

Thats OK then, just checking. I have no clue about what is wrong .

Blair

Webmaster, The Plane Gallery
Greetings From Christchurch
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2003 at 11:15pm
Rather than using the name of the SQL Server, use the IP address.
Back to Top
garagetitan View Drop Down
Newbie
Newbie


Joined: 26 July 2003
Location: Australia
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote garagetitan Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2003 at 5:11am
i have changed it to the ip address, still nothing
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: 13 August 2003 at 7:13am
Have you got the SQL server running in mixed mode??
Back to Top
 Post Reply Post Reply Page  12>

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.