web service error
-
Hello friends, I have made a webservice in my solution file and accessing that server from my solution's test pages. Everything works fine..until i deployed it on the production server. I have updated the references in the web.config and .disco files to point to the production servers webservice url. But it is giving me error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [Ip adderss] Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [Ip adderss]. what could be the cause of this problem and how can i overcome from it? Thanks.
Amit
-
Hello friends, I have made a webservice in my solution file and accessing that server from my solution's test pages. Everything works fine..until i deployed it on the production server. I have updated the references in the web.config and .disco files to point to the production servers webservice url. But it is giving me error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [Ip adderss] Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [Ip adderss]. what could be the cause of this problem and how can i overcome from it? Thanks.
Amit
Hi, the request seems to timeout. This can have several reasons. I would suggest the following: 1. Check if you can reach the server by using a browser etc... 2. Check if the webservice itself crashed. To do this connect to the production server and take a look into the logfiles (you are writing a log, do you?). Check the system events of the production server. 3. Use a tcp-Monitor to monitor the messages exchanged by service and client. Maybe the response is not in the way the client expects. Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Hi, the request seems to timeout. This can have several reasons. I would suggest the following: 1. Check if you can reach the server by using a browser etc... 2. Check if the webservice itself crashed. To do this connect to the production server and take a look into the logfiles (you are writing a log, do you?). Check the system events of the production server. 3. Use a tcp-Monitor to monitor the messages exchanged by service and client. Maybe the response is not in the way the client expects. Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.