Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Cant get the Forum to run on my server
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cant get the Forum to run on my server

 Post Reply Post Reply Page  <12
Author
shakir View Drop Down
Groupie
Groupie


Joined: 08 November 2007
Location: Saudi Arabia
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote shakir Quote  Post ReplyReply Direct Link To This Post Posted: 31 December 2008 at 2:10pm
Originally posted by stookie stookie wrote:

 
 HI all
 
Server Details :- Windows Server 2003, IIS6, SQL Server - I have full access to server via remote connection.
 
I cant get my forum to run on my server, this is the error I keep getting:
 
Server Error in Forum Application
An error has occurred while connecting to the database.
Please contact the forum administrator.

Support Error Code:- err_SQLServer_db_connection
File Name:- common.asp

Error details:-
Microsoft OLE DB Provider for SQL Server
Invalid connection string attribute
 
I have run the database setup file which successful entered the appropriate tables in my database.
I have checked the connection strings in "database_connection.asp" more times than I can remember, everything seems to be correct. I can connect and view the SQL database using CMD and the same username and password that is in "database_connection.asp".
Every time I try to run the forum it hangs for a few seconds then the above error is displayed.
 
Any help or pointers would be very much appreciated
 
I also have a shopping cart running with SQL and a few Access database driven sites running on the server and they all seem to work fine. The server has very little load.


make DNS less connection. First make user nam eor passowrd  or change the sa user password as urs then do the following script

Set cn = Server.CreateObject("ADODB.Connection")
strConn = "Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sa;PWD=urpwd;Data Source=(Local);Database=dbname;"
cn.open strConn

Note: if db in same server u can use "Local" or IP of system too

Back to Top
abhimi1 View Drop Down
Newbie
Newbie


Joined: 04 March 2009
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote abhimi1 Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2009 at 2:30pm
check file permission settings.......
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.