Print Page | Close Window

sql express problem when trying to set up forum

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24610
Printed Date: 06 April 2026 at 12:12pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: sql express problem when trying to set up forum
Posted By: diveboard
Subject: sql express problem when trying to set up forum
Date 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



Replies:
Posted By: WebWiz-Bruce
Date 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.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: diveboard
Date 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.


Posted By: WebWiz-Bruce
Date 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?

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net