Jump to content

[SOLVED] No connecting to SQL from application


darrelll

Recommended Posts

HI,

 

I have configured PHP with IIS on a vista box. I have tried everything to connect to the SQL2005 via the application and keep etting this error:

PHP Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: localhost,1433 in C:\inetpub\wwwroot\Loinc\chkaccess.php on line 44

 

Has anyone had similar problems?

 

Thanks.............I could not telnet to the port, it was closed. I turned changed the default 1433 to 1434 tcp/ip via sql server configuration manager and it worked. Well, it logged me into the application. Now there seems to be some other errors, but that might progammer errors! haha

 

Thanks again

Darrelll

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.