Jump to content

Losing connection to MSDE, have to stop and start Web Publishing Service


Recommended Posts

Hello,

 

Has anyone experienced problems with PHP losing it's connection to MSDE2000?

 

I have a Win2003 server with PHP 5.2, MSDE2000, and IIS. Everything will be working fine. Then once in about ten times someone will navigate through the pages, or submit a form and that's when PHP stops communicating with MSDE. The web page shows a simpe error message "Unable to connect to server" which is directly from my script. At this point I have to go to the server, open the services manager, stop the World Wide Web Publishing Service, then start it. At that point the PHP pages load normally... for a while.

 

I see nothing in the Events logs... I'm stumped as to what the problem is. This problem is slowly driving me insane. If someone could help identify the problem and solution I would greatly appreciate the help.

 

Thanks,

Lou

 

  • 5 months later...

Hi,

We have finally fixed this issue on our server, we tried everything under the sun.  The only way we could fix this was to disable the TCP/IP protocol in the sql server settings.  We have an msde version on our development box so we could not choose named pipes as the default which i believe you can in the full version.  Basically i think SP2 has to use named pipes for connection otherwise it will be very temperamental.  You can set these options in the configuration utitlity that comes with sql server.

Let me know if this works for the rest of you.

Thanks

Harry

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.