Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?

Results 1 to 13 of 13
  1. #1
    Apprentice fergeas22 is offline
    MemberRank
    Aug 2012 Join Date
    24Posts

    smile 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
    Last edited by cypher; 23-02-13 at 12:48 PM. Reason: removed im contact


  2. #2
    Novice TiaguinXD is offline
    MemberRank
    Oct 2011 Join Date
    2Posts

    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

  3. #3
    Valued Member juleki is offline
    MemberRank
    Jun 2011 Join Date
    145Posts

    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

  4. #4
    UtakAso Drav3n is offline
    MemberRank
    Aug 2011 Join Date
    PHLocation
    919Posts

    Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?

    Quote Originally Posted by TiaguinXD View Post
    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.

  5. #5
    Account Upgraded | Title Enabled! magraopb is offline
    MemberRank
    May 2007 Join Date
    BrazilLocation
    742Posts

    Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?

    if webserver and DB server are in same machine.. use "localhost"

  6. #6
    Apprentice fergeas22 is offline
    MemberRank
    Aug 2012 Join Date
    24Posts

    Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?

    i opend port 80. it works. thanks !

  7. #7
    Alpha Member terzo is offline
    MemberRank
    Sep 2007 Join Date
    BrazilLocation
    1,608Posts

    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.

  8. #8
    Member MhieYhang is offline
    MemberRank
    Feb 2013 Join Date
    Japan, TokyoLocation
    81Posts

    Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?

    Quote Originally Posted by terzo View Post
    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 ,

  9. #9
    wWw.F403.OrG S37uP!Update is offline
    MemberRank
    Oct 2008 Join Date
    F403.ORGLocation
    1,304Posts

    Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?

    No, isn't.

  10. #10
    Member MhieYhang is offline
    MemberRank
    Feb 2013 Join Date
    Japan, TokyoLocation
    81Posts

    Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?

    Quote Originally Posted by S37uP!Update View Post
    No, isn't.

    what do you mean ? mr. ?

  11. #11
    wWw.F403.OrG S37uP!Update is offline
    MemberRank
    Oct 2008 Join Date
    F403.ORGLocation
    1,304Posts

    Re: Ep2 (ep8) WebSite . Waring: Can"t connect to msssql !?

    The EP 2 Websites are not working for EP 8.

  12. #12
    Apprentice fergeas22 is offline
    MemberRank
    Aug 2012 Join Date
    24Posts

    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

  13. #13
    Enthusiast mamotinho is offline
    MemberRank
    Jan 2013 Join Date
    Teresina, BraziLocation
    35Posts

    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 View Post
    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



Advertisement