Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. web service error

web service error

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharpsysadmindata-structures
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iamdking
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • I iamdking

      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

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      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.

      I 1 Reply Last reply
      0
      • S SeMartens

        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.

        I Offline
        I Offline
        iamdking
        wrote on last edited by
        #3

        Thanks SeMartens, i got the solution. i have made changes to the hosts file. It is working now :-O

        Amit

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups