Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - SQL Server Authentication
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SQL Server Authentication

 Post Reply Post Reply
Author
Snosi View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2003
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Snosi Quote  Post ReplyReply Direct Link To This Post Topic: SQL Server Authentication
    Posted: 30 December 2003 at 2:04pm

Hey,

I need a little assistance with the SQL Server set up.  I have read the instructions numerous times and have a fair understanding of MS SQL Server but still "No Joy".  

Off the topic.... Can the Access version be Up-Sized to SQL Server?  Looking at the code the big difference is the connection details.  Is this a true or mostly true statement?

 

Any help would be greatly appreciated!

Thanks,

Snosi

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: 30 December 2003 at 2:12pm
What error are you getting?

Have you entered the correct details to connect to your MS SQL Server into the SQL server connection file?


Back to Top
Snosi View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2003
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Snosi Quote  Post ReplyReply Direct Link To This Post Posted: 30 December 2003 at 2:36pm

Hello,

 

Yes I believe I have entered the correct details in SQL_server_connection.asp

servername "local"

DBUserName "sa"

PassWord "PassWord"

DatabaseName "MyForum"

I am recieving the standard error message when connection fails. 

" Error Connecting to database on SQL server.  Check the following is correct: Name of SQL Server, Database name, and the details in SQL_server_connection.asp."

I have multiple other ASP applications running with a SQL back end but this one has me stumped. 

I am sure it is an error on my end that I just over looked.

Back to Top
danzig View Drop Down
Newbie
Newbie
Avatar

Joined: 30 December 2003
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote danzig Quote  Post ReplyReply Direct Link To This Post Posted: 30 December 2003 at 4:56pm

Same error here :) I believe my problem is in user permissions . Here is a cut and paste of my error . I think I will work on fixing it tonight :)

my error -->

Microsoft OLE DB Provider for SQL Server error '80004005'

Login failed for user 'IUSR_DANZIG22'. Reason: Not associated with a trusted SQL Server connection.

/FORUMS3/common.asp, line 249

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 30 December 2003 at 10:49pm
That happens when the SQL Server is configures on Windows Authentication only, either change it to mixed mode in the Server Properties if you have Enterprise Manager, or you can do it directly in the Registry > Open regedit and navigate to >
HKLM>Software>Microsoft>MSSQLSERVER>MSSQLSERVER& gt; and change the Login Mode Value to 2 (restart service after that)

Alternatively you can add the ASP user to the database using SQL Script which may be risky if you don't do it right.

No reponsibility if you f up your Registry
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.