php mssql connectivity error

Reply

Join Date: Oct 2007
Posts: 1
Reputation: yogi_xevoke is an unknown quantity at this point 
Solved Threads: 0
yogi_xevoke yogi_xevoke is offline Offline
Newbie Poster

php mssql connectivity error

 
0
  #1
Oct 6th, 2007
Warning: mssql_connect() [function.mssql-connect]: message: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. (severity 14) in \usr\local\htdocs\connect.php on line 5

We are using the following code for connectivity


mssql_connect('servername,port', 'username', 'password');
mssql_select_db("dbname");
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: php mssql connectivity error

 
0
  #2
Oct 7th, 2007
You ARE changing those values to the proper ones, right? For example, to use the username "daniweb" and password "isthecurrentsite" and connect to the server www.example.com, your connection string would be:
mssql_connect('localhost', 'daniweb', 'isthecurrentsite');
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC