Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Databases Also see the forum ASP Databases for more general discussions of ASP database issues not directly related to these books.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 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 December 28th, 2004, 03:59 PM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch3: Connecting to SQL Server

I'm running IIS 5 and SQL Server 2K, and its running on a server separate of IIS. I'm having trouble establishing a connection to SQL Server. I get the error: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. I've done everything they said to do on the Microsoft Websites about creating local accounts on both machines. Please help!
 
Old December 31st, 2004, 05:04 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check the authentication mode of your SQL SERVER, it's possible that it might be in windows authentication mode only. Choose Mixed mode.

Charul Shukla
 
Old January 3rd, 2005, 02:14 PM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I checked that as well, and its in mixed mode. I only get this problem when I try to connect to SQL Server that's on a different machine. When IIS and SQL Server are on the same machine everything works fine.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to SQL Server ahying Visual Studio 2005 0 April 30th, 2008 04:03 AM
URGENT:Connecting SQL server through Proxy server abhowal Pro VB Databases 2 January 9th, 2006 01:47 PM
URGENT:Connecting SQL server through Proxy server abhowal SQL Server 2000 3 November 30th, 2005 04:22 AM
Trouble connecting to MySQL server (CH3) mrouse BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 October 20th, 2005 01:44 PM
URGENT:Connecting SQL server through Proxy server sankar SQL Server 2000 0 August 26th, 2003 03:50 AM





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