Wrox Programmer Forums
|
BOOK: Professional SQL Server 2000 Programming
This is the forum to discuss the Wrox book Professional SQL Server 2000 Programming by Robert Vieira; ISBN: 9780764543791
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server 2000 Programming 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 October 8th, 2007, 07:49 AM
Registered User
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login failed for user '(null)'

I need to connect remotely to MS SQL Server 2000 using

php.I am using the following codes:

$dbhost = "IP address of server";
$dbuser = "username";
$dbpass = "password";
mssql_connect($dbhost, $dbuser, $dbpass) or die("Unable to

connect to $db");

But I keep getting the following error:
PHP Warning: mssql_connect() [function.mssql-connect]:

message: Login failed for user '(null)'. Reason: Not

associated with a trusted SQL Server connection. (severity

14).

I have already set mixed mode authentication on the

server, but it did not help.

Please help






Similar Threads
Thread Thread Starter Forum Replies Last Post
Login failed for user <null> bmcelhany BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 December 29th, 2005 03:28 AM
Error 18452: Login Failed for user '(null)'. Reas Nigeeee VB Databases Basics 2 February 10th, 2005 12:19 PM
login failed for user nt authority\anonymous login rj1406 Classic ASP Databases 1 October 24th, 2004 09:15 AM
Login failed for user '(null)' schockp ADO.NET 5 April 30th, 2004 11:45 PM





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