ideasworking Posted February 14, 2007 Share Posted February 14, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/38492-losing-connection-to-msde-have-to-stop-and-start-web-publishing-service/ Share on other sites More sharing options...
ideasworking Posted February 14, 2007 Author Share Posted February 14, 2007 Hello, Just wanted to let everyone know that upgrading to 5.2.1 didn't resolve the problem. Still looking for help. Thanks, Lou Quote Link to comment https://forums.phpfreaks.com/topic/38492-losing-connection-to-msde-have-to-stop-and-start-web-publishing-service/#findComment-184681 Share on other sites More sharing options...
harrylt Posted July 26, 2007 Share Posted July 26, 2007 are you using win 2003 service pack 2? if so then this problem is also affecting me and i can't find a fix anywhere! sp1 worked fine Quote Link to comment https://forums.phpfreaks.com/topic/38492-losing-connection-to-msde-have-to-stop-and-start-web-publishing-service/#findComment-307892 Share on other sites More sharing options...
harrylt Posted August 2, 2007 Share Posted August 2, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/38492-losing-connection-to-msde-have-to-stop-and-start-web-publishing-service/#findComment-313810 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.