Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
Hello guys,
i wanted to do a webshop for my cabal server.
When I change ip to my mssql ip (192.168.1.5) the website work.
But when i change ip to my internet ip this error come;
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: MY IP in C:\AppServ\www\index.php on line 26
Could not connect to MSSQL database.
http://s1.directupload.net/file/d/3174/nf6nmxy9_png.htm
I need help :=)
Thaks Guys
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
Open the file php.ini, and view if the following settings are the same:
extension=php_mssql.dll
mssql.secure_connection = On
On the "extension=php_mssql.dll", you need to remove the ";" thats have on this.
Look if the extension directory way it's correct, and if the file "php_mssql.dll" are in the folder.
Reboot Apache.
If the error persist, go to the folder of PHP, copy the file "ntwdlib.dll" and paste in 2 places:
C:\WINDOWS\System32
and in the Apache folder
Apache\bin
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
create new database called "CashShop" and run query, u have sql databases in database folder in htdocs
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
Quote:
Originally Posted by
TiaguinXD
Open the file php.ini, and view if the following settings are the same:
extension=php_mssql.dll
mssql.secure_connection = On
On the "extension=php_mssql.dll", you need to remove the ";" thats have on this.
Look if the extension directory way it's correct, and if the file "php_mssql.dll" are in the folder.
Reboot Apache.
If the error persist, go to the folder of PHP, copy the file "ntwdlib.dll" and paste in 2 places:
C:\WINDOWS\System32
and in the Apache folder
Apache\bin
His apache and php setting is configured well, he said, when he use his LAN IP the database can connect, but when he use his WAN IP, database cannot connect.
The answers, you need to forward your port of 192.168.1.5 to port 80.
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
if webserver and DB server are in same machine.. use "localhost"
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
i opend port 80. it works. thanks !
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
You need use loop to make it working duo your INET ip has not connecting to localhost.
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
Quote:
Originally Posted by
terzo
You need use loop to make it working duo your INET ip has not connecting to localhost.
Hello terzo, is EP2 website CT4 is working with EP8 ?
i have same problem with fergeas22 ,
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
Quote:
Originally Posted by
S37uP!Update
No, isn't.
what do you mean ? mr. ?
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
The EP 2 Websites are not working for EP 8.
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
The ep2 server internet site with ep8 update works not so good but it works. open port 80 and it works
Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?
Add my msn I can help you: djmamotinho@hotmail.com.br
Quote:
Originally Posted by
fergeas22
Hello guys,
i wanted to do a webshop for my cabal server.
When I change ip to my mssql ip (192.168.1.5) the website work.
But when i change ip to my internet ip this error come;
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server:
MY IP in C:\AppServ\www\index.php on line 26
Could not connect to MSSQL database.
Directupload.net - nf6nmxy9.png
I need help :=)
Thaks Guys