I'm trying to connect to MSSQL server 2000 using IIS 6.0. The only way I've
been able to connect, however, is by disabling anonymous access and setting
mssql.secure_connection = On. If I try to connect with anonymous access
turned on it tells me:
Warning: mssql_connect(): message: Login failed for user 'NAME\IUSR_NAME'.
(severity 14). Why does it automatically try to connect using the IUSR
account when I specify the username and password in the function call?
For obvious reasons I want to users on the intranet to be able to use the
pages, and I also want to be able to change the username / password that
connects to the database. I've been googling around and tried to set PHP up
as an ISAPI but to no avail.
Could anyone kick me in the right direction?
Cheers,
Håvard