Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Database connection problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Database connection problem

 Post Reply Post Reply
Author
Helion View Drop Down
Newbie
Newbie


Joined: 21 June 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Helion Quote  Post ReplyReply Direct Link To This Post Topic: Database connection problem
    Posted: 21 June 2004 at 6:04am
Hi, I have install the forum on my DEV machine and it works fine with the SQL settings and stuff.

However, when I try to run the setup to create the table, it gave me error when I run it so I displayed out the codes to generate the tables and use that in the Query Analyzer.

However, the info that is in the SQL_server_connection.asp file doesn't gives me error when I try to access the forum.

Microsoft OLE DB Provider for SQL Server error '80004005'

[DBXXXXXX]ConnectionOpen (CreateFile()).

/ctpdev/forum/common.asp, line 261

The login info is the same as those I used for my root site and the root site has no problem accessing the SQL server.

Anyone has any ideas?
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2004 at 9:32am
Are you trying to create or re-create the table? If it's already been created, you have to drop it before re-creating it.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Helion View Drop Down
Newbie
Newbie


Joined: 21 June 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Helion Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2004 at 10:12pm
Hi, no I am not trying to re-create the table. This message shows up when I am trying to access the forum page.

I tried it locally and it was alright.
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: 23 June 2004 at 4:24am
Could you explain what you are doing, you shouldn't need to use a query analizer.

Follow the install documents that come with the forum.

You need to edit the MS SQL Server connection file entering the correct details for your SQL Server, then run the file msSQL_server_setup.asp, entering a username and password that has permissions on the MS SQL Server to create tables on the database. This file will create all the tables, stored procesdures, etc required for the forum.
Back to Top
Helion View Drop Down
Newbie
Newbie


Joined: 21 June 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Helion Quote  Post ReplyReply Direct Link To This Post Posted: 23 June 2004 at 4:59am
Yes, I know I shouldn't use the Query Analizer (QA), but the thing is that the msSQL_server_setup.asp doesn't run with the ID/password we were supplied. The ID/password works for the main site which the forum is also installed in.

So in the end, I output the codes onscreen and dump it into QA to create the tables/relationships and stored procedures.

I edited the SQL_server_connection.asp to connect via DSN and it works, but if I use SQLOLEDB as the provider, it gives me the error.
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.