OK this one has been killing me for 3 weeks now. I have read everything that I can find on the topic. I finally got some results today by mere accident so you are all quite probably, my very last hope.
PHP 4.3.4, IIS5, MSSQL Server, Windows Authentication ON!
Yes I have mssql.secure_connection = On in my php.ini file. Up to today I had no luck at all connecting to my MSSQL database. Then by dumb luck today I was testing something in a web browser right from the IIS server itself. --Guess what it worked!!!!
Yes when I used a browser directly from the IIS server where PHP is installed I was able to connect perfectly to the MSSQL server.
However, whenever I try to use an external browser from any other machine, I can NOT connect to the MSSQL server. I get the following error every time: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. (severity 14)
Now I have gotten this to work just fine from an external browser when I have mssql.secure_connection = Off and I pass a username/password combo in to the mssql_connect statement. -This is not an option for us though. I need to use the NT Authentication security so I have to figure out why I can ONLY get this darn thing to work when using a browser directly from the IIS server.
Help or suggestions are greatly appreciated!
-Chris