Jump to content

windows 2003, sql server 2005 express, XAMPP (apache2), failed to connect


mssql_connect failed for sql server 2005 express on windows 2003, XAMPP  

1 member has voted

  1. 1. mssql_connect failed for sql server 2005 express on windows 2003, XAMPP

    • sql server 2005 express
      0
    • windows 2003
      1


Recommended Posts

  The post here is very useful, but still not able to solve my problem.

  I have two system, one is Windows XP Pro, I can connect to SQL SERVER 2005 express without any problem (using the "localhost"). I am use the PHP from the Apache2 (XAMPP).

   But when I try it on Windows 2003 server, it failed for all the possible combination, here it is what I did.

1. changed the ntwdblib.dll to the old version

2. try the secure_connection, on or off

3. try to use "localhost", "localhost\sqlexpress", "localhost,1533", "207.0.0.1", "207.0.0.1\sqlexpress". None of them work for me.

 

  Actually, I like to know how to find the exactly error message for mssql_connection, then it may be easy to debug the error.

 

  Any suggestion. Thanks.

 

  • 4 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.