oohoohoohooh
Programmer
Hi, I followed the following tutorial to setup IIS with MS SQL Server DE here:
I also installed the web data administrator fine. Finally I removed the ; before extension=php_mssql.dll in the PHP config file.
Until now everything seems to be working fine but my problem lies with connecting to the database. What is the servername parameter you pass in mssql_connect? Also what is the username and password? I managed to add a database ok using the web data administrator but when I clicked create new user (in the users section of my database) it only gave me the option to put the username which I thought was strange but I entered the username and clicked submit but it returned an asp error.
I assumed the server might be the server indicated in the SQL Server Service Manager. I also put the username as dbo (since that user already existed - I noticed it from the web data administrator) and left the password blank since no password was indicated but again no luck.
I'd appreciate if someone could help. Thanks
Note: I did post this in the PHP forum but they told me to post it here. Thanks
I also installed the web data administrator fine. Finally I removed the ; before extension=php_mssql.dll in the PHP config file.
Until now everything seems to be working fine but my problem lies with connecting to the database. What is the servername parameter you pass in mssql_connect? Also what is the username and password? I managed to add a database ok using the web data administrator but when I clicked create new user (in the users section of my database) it only gave me the option to put the username which I thought was strange but I entered the username and clicked submit but it returned an asp error.
I assumed the server might be the server indicated in the SQL Server Service Manager. I also put the username as dbo (since that user already existed - I noticed it from the web data administrator) and left the password blank since no password was indicated but again no luck.
I'd appreciate if someone could help. Thanks
Note: I did post this in the PHP forum but they told me to post it here. Thanks