Tablecloth
asked on
Deployed ASP.Net system will not connect to Web Service ..but will connect from Visual Studio!
Greetings,
I'm new to this so I apologize in advance!
I developed an ASP.NET in VS and it pulled the information it needed from the remote site. Once deployed to the "apps" server it gives the message below.
What can be the cause of my problem?
Many thanks,
Paul
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 109.169.78.11:80
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.SocketE xception: 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 109.169.78.11:80
Source Error:
Line 128: AppSettingsHelper.FixYourS treetApiFo lder(), _
Line 129: AppSettingsHelper.FixYourS treetApiVe rsion())
Line 130: Dim ListOfIncidents As List(Of FixYourStreetIncident) = Client.GetIncidentsGreater ThanId(Las tFYSIncide ntOnTaskli st)
Source File: c:\inetpub\wwwroot\Liosta\ Tasklist.a spx.vb Line: 130
I'm new to this so I apologize in advance!
I developed an ASP.NET in VS and it pulled the information it needed from the remote site. Once deployed to the "apps" server it gives the message below.
What can be the cause of my problem?
Many thanks,
Paul
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 109.169.78.11:80
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.SocketE
Source Error:
Line 128: AppSettingsHelper.FixYourS
Line 129: AppSettingsHelper.FixYourS
Line 130: Dim ListOfIncidents As List(Of FixYourStreetIncident) = Client.GetIncidentsGreater
Source File: c:\inetpub\wwwroot\Liosta\
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Would you have any further ideas?
Try telneting on that ip and port. Error message indicates connection issues.
ASKER
Thank you Codecruiser, it was the Firewall all along!
ASKER
Thanks for the quick reply.
Yes, there is a Firewall, but tests I did on the server, on instructions from the remote site people, show that we CAN connect over it.
All very mysterious, its possible to run the project in Visual Studio but not when deployed..
As ever it's no doubt something small that I've overlooked...