Jump to content

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


ideasworking

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

Archived

This topic is now archived and is closed to further replies.

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