473,323 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Web Services: The operation has timed-out


I have a data transfer between an c# application and web service. The
application is in local network and connects to the internet thru a
gateway. Connection is ADSL.
Web service is on the remote server.

Timeuots are configured as follows:
local timeout: <add key="WebService.Timeout" value="300000" />
remote timeout: <httpRuntime executionTimeout="300"
maxRequestLength="10000"/>

Strange thing is that data transfer sometimes work and sometimes not.
When it doesn't work, it throws an exception of type
'System.Net.WebException' and message is 'The operation has timed-out'.
And it doesn't depend on amount of data. Data is less than 50kB.

This is the exception:
Type : System.Net.WebException, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : The operation has timed-out.
Source : System.Web.Services
Help link :
Status : Timeout
Response :
TargetSite : System.Net.WebResponse GetWebResponse(System.Net.WebRequest)
Stack Trace : at
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at Netgen.prikaz.local.netgen.bob.Service1.Dostupno(I nt32 Izvedba)
at Netgen.prikaz.frmPrijenosWeb.button1_Click_1(Objec t sender,
EventArgs e)
Then I go to another computer and start the transfer and it works, then
I get back to the computer where error occured and transfer timeouts.
Can anybody help me?
j

Nov 19 '05 #1
1 1653
Josko,

What you're experiencing sounds like there is a firewall configured for
stealth mode (no response to a request not specifically allowed). I would
check that that the computer experiencing the timeout has permission to
access the webservice in any existing firewall. I think if you check the
firewall settings for the other machine it must be allowed.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Joško Šugar" <josko_bla@netgen_rem0ve_this_and_bla.hr> wrote in message
news:dk**********@sunce.iskon.hr...

I have a data transfer between an c# application and web service. The
application is in local network and connects to the internet thru a
gateway. Connection is ADSL.
Web service is on the remote server.

Timeuots are configured as follows:
local timeout: <add key="WebService.Timeout" value="300000" />
remote timeout: <httpRuntime executionTimeout="300"
maxRequestLength="10000"/>

Strange thing is that data transfer sometimes work and sometimes not. When
it doesn't work, it throws an exception of type 'System.Net.WebException'
and message is 'The operation has timed-out'. And it doesn't depend on
amount of data. Data is less than 50kB.

This is the exception:
Type : System.Net.WebException, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : The operation has timed-out.
Source : System.Web.Services
Help link :
Status : Timeout
Response :
TargetSite : System.Net.WebResponse GetWebResponse(System.Net.WebRequest)
Stack Trace : at
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at Netgen.prikaz.local.netgen.bob.Service1.Dostupno(I nt32 Izvedba)
at Netgen.prikaz.frmPrijenosWeb.button1_Click_1(Objec t sender,
EventArgs e)
Then I go to another computer and start the transfer and it works, then I
get back to the computer where error occured and transfer timeouts.
Can anybody help me?
j

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: sonic_soul | last post by:
Hi, I was curious if I could make my webservice work with firefox client webservice functionality. (i got it to work with webservice.htc) I am able to get firefox to see my serverside web...
0
by: Robert S | last post by:
Hello group, I tried to combine UPnP servive and blenderpowerSCPD.xml and come up with WSDL web service file as below: UPnP services: <serviceList>
2
by: Javaman59 | last post by:
I have a GUI which is monitoring a real-time device. I have several timed actions, such as periodic polling of the device, and indicators which flash for a fixed period. My first implementation...
3
by: Ashish Jindal | last post by:
Hi, How do I identify whether a service is "Critical" or not? Basically, I am writing a program to stop all non-critical service. AFAIK, the services can be found in...
0
by: datagrep | last post by:
>From solution design and offshore software development to outsourcing application support and improvement, Datagrep's offers a compelling alternative to minimize software development costs, and...
7
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file,...
8
by: Jon Harrop | last post by:
Here is a simple web service request written in Python: rom SOAPpy import WSDL wsdlFile = 'http://www.xmethods.net/sd/2001/TemperatureService.wsdl' server = WSDL.Proxy(wsdlFile)...
0
by: krishnaraju | last post by:
HI to all, please help me.its urgent requirement. my question is this is the wsdl file i got from our client.please see at bottom. when iam trying to access that webmethods iam getting...
5
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
This code works fine in Windows Application. In Windows Application, I am able to zip the image files properly and it totally contains 900MB My problem is the same code which I used in my Windows...
1
by: Ragesh Krishna | last post by:
Hello, I'm creating a WCF service in which I use LINQ to SQL to do all my data access. I have a couple of architectural questions about using LINQ to SQL from WCF services: 1) What is the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.