Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - error when connecting to SQLServer
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

error when connecting to SQLServer

 Post Reply Post Reply Page  <123
Author
Constantine287 View Drop Down
Newbie
Newbie


Joined: 02 August 2006
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Constantine287 Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2006 at 10:14am
Originally posted by -boRg- -boRg- wrote:


You first need to create a blank database, then run the SQL_server_setup.asp file through an ASP enabled web server (IIS) so that this setup file creates all the tables etc (database schema). required for web wiz froums to store the data.


yes, i created a blank database "Forum" before run  msSQL_Server_Setup.asp. msSQL_Server_Setup.asp don't put any error and don't fill any data in blank database!?

Only error when I browse http://localhost/WWF/

I really don't know why!!

-boRg-, could you run msSQL_Server_Setup.asp and give me filled database. I will restore it in my SQL Server?
Back to Top
carywinton View Drop Down
Newbie
Newbie
Avatar

Joined: 17 July 2006
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote carywinton Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2006 at 3:02pm
Constantine287,
I made a discovery dealing with this last night. What I found was two fold dealing with the SQL database and IIS 5.0. First thing is to "NOT" add the Forum folder under or in the same directory as your web site. Why you might ask? Becuse, IIS and SQL will try to "duke" it out over permissions and authentication. When I got my web site to the point where it could be edited and changed to what I needed without difficulty, <enter the ability to use FrontPage here>, I added the "forums" folder as a "virtual directory", this is very important because it keeps the appropriate permissions seperate. Then I created my database using SQL Server 2005 Express with the really nice add-on feature of SQL Server Express Management Studio, commomly refered to as SSMSE. You can obtain it here for free.
The management interface makes creating the database and new user much easier than in previous editions. Next thing is to make sure when you create your user for the database and connection string is to create them before you create the new database. This will give them the appropriate permissions and rights for the new user. You user needs to have these three rights or permissions, db_writer, db_reader and db_owner. Then you can edite the connection string for webwiz and proceed to run the setup script. I hope this helps, I fought with it for three weeks until I finally figured it all out.
 
Back to Top
 Post Reply Post Reply Page  <123

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.