Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - sql express problem when trying to set up forum
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

sql express problem when trying to set up forum

 Post Reply Post Reply
Author
diveboard View Drop Down
Newbie
Newbie


Joined: 10 October 2007
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote diveboard Quote  Post ReplyReply Direct Link To This Post Topic: sql express problem when trying to set up forum
    Posted: 11 October 2007 at 12:17am
Hello everyone. I know nothing when it comes to SQL. I have an access DB version of webwiz working on one box and I'm trying to get the SQL version working on another box. I get the following error when I try to run the SQL DB configuration file. And BTW, I'm using SQLexpress. Any help or pointers are greatly appreciated.
 
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.

Detailed Error Message:
Login failed for user 'administrator'. Reason: Not associated with a trusted SQL Server connection
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: 11 October 2007 at 9:08am
1. You need to install SQL Express in mixed mode to allow TCP/IP connections.
2. By default remote connections are blocked in SQL Express, so if not running as localhost you need to allow remote connections.
3. SQL Express installs with the default name SQLEXPRESS. For example if it is a localhost connection you would use localhost/SQLEXPRESS
4. The default system administration account has the name 'sa' but should be renamed for extra security by running the SQL below on the SQL Server:-

ALTER LOGIN sa WITH NAME = [username];

Change username above to the new name you want for your SA account.

Back to Top
diveboard View Drop Down
Newbie
Newbie


Joined: 10 October 2007
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote diveboard Quote  Post ReplyReply Direct Link To This Post Posted: 11 October 2007 at 8:04pm
I reinstalled SQLExpress in mixed mode.
not sure how to unblock remote connections, but I did enable tcp/ip - I think.
 
Now I only get -
Detailed Error Message:
Login failed for user 'administrator'
 
Instead of
Detailed Error Message:
Login failed for user 'administrator'. Reason: Not associated with a trusted SQL Server connection
 
I hate to ask for any more help, but I think I'm almost there.
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 October 2007 at 9:43am
Have you create an account on the SQL Server called 'administrator' and does it have DBO permissions on the forum database you created?
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.