Wrox Programmer Forums
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 3rd, 2005, 06:39 AM
Authorized User
Join Date: Dec 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connection between 2 Servers


Have have asp code running on our web server and the database is on a diffrent server under the same domain.
My problem is : i cant connect to the database.

I get he following error:
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection

any ideas PLEASE

Old November 10th, 2005, 05:57 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts

Sounds to me like you've got the web server set to get the credentials from the user.
Assuming your using IIS.....
Set the web server to account to allow anonymous access - i.e. NOT integrated windows authentication.

If problems persist, post again

I am a loud man with a very large hat. This means I am in charge

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linked Servers anothervbaddict SQL Server 2000 5 November 30th, 2007 07:31 AM
Add a FB Connection to Servers Pallete leorochab C# 2005 0 August 4th, 2006 09:44 AM
Link Servers Help aven SQL Server 2000 0 January 14th, 2006 03:52 AM
Trusted connection between servers CalliP SQL Server 2000 1 August 5th, 2005 06:15 AM
Different Servers - Same database itHighway Classic ASP Basics 1 April 19th, 2005 03:27 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.