473,480 Members | 1,855 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

System.Net.WebException: The operation has timed-out

Hi,

I got this error when I move my web service to Windows2003 server. I
spent hours scouting on the internet and could find any answer. Please
help!!!

I the webservice is timeout between 1 -2 minutes when my web app, which
consume this webService, retrieves a large amount of data. When I
perform the same operation to retrieve smaller amount of data, it works
fine. The timeout value I set for my web app, web service, and sql
connection are all greater than 5 minutes.

The same web app works fine with the same webservice in Windows2K and
WindowsXP environment. I only get this error when deploy to Windows2003
server.

There is the detail of exception stack:

{"The operation has timed-out." }
[System.Net.WebException]: {System.Net.WebException}
System.Object: {System.Net.WebException}
_className: null
_COMPlusExceptionCode: -532459699
_exceptionMethod: <undefined value>
_exceptionMethodString: null
_helpURL: null
_HResult: -2146233079
_innerException: { }
_message: "The operation has timed-out."
_remoteStackIndex: 0
_remoteStackTraceString: null
_source: null
_stackTrace: {System.Array}
_stackTraceString: null
_xcode: -532459699
_xptrs: 0
HelpLink: null
HResult: -2146233079
InnerException: { }
Message: "The operation has timed-out."
Source: "System.Web.Services"
StackTrace: " at
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)\r\n at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request)\r\n at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)\r\n at
Calamos.CCS.RiskManagement.Services.Strategy.Servi ce.GetCcsReviewReport(Int32
SubcategoryId)\r\n at
Calamos.CCS.RiskManagement.Strategy.Web.Helper.UIP rocessHelper.GetCcsReviewReport(Int32
SubCategoryID) in
C:\\Inetpub\\wwwroot\\Calamos.CCS.RiskManagement.S trategy.Web\\Helper\\UIProcessHelper.cs:line
563"
TargetSite: {System.Reflection.RuntimeMethodInfo}
consume

Thanks in advance.

Tiffany

Nov 23 '05 #1
2 25422
Try using the same webmethod from the ASMX help page on the Win 2003 server.

"tlan" <tl**@calamos.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Hi,

I got this error when I move my web service to Windows2003 server. I
spent hours scouting on the internet and could find any answer. Please
help!!!

I the webservice is timeout between 1 -2 minutes when my web app, which
consume this webService, retrieves a large amount of data. When I
perform the same operation to retrieve smaller amount of data, it works
fine. The timeout value I set for my web app, web service, and sql
connection are all greater than 5 minutes.

The same web app works fine with the same webservice in Windows2K and
WindowsXP environment. I only get this error when deploy to Windows2003
server.

There is the detail of exception stack:

{"The operation has timed-out." }
[System.Net.WebException]: {System.Net.WebException}
System.Object: {System.Net.WebException}
_className: null
_COMPlusExceptionCode: -532459699
_exceptionMethod: <undefined value>
_exceptionMethodString: null
_helpURL: null
_HResult: -2146233079
_innerException: { }
_message: "The operation has timed-out."
_remoteStackIndex: 0
_remoteStackTraceString: null
_source: null
_stackTrace: {System.Array}
_stackTraceString: null
_xcode: -532459699
_xptrs: 0
HelpLink: null
HResult: -2146233079
InnerException: { }
Message: "The operation has timed-out."
Source: "System.Web.Services"
StackTrace: " at
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)\r\n at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebReques
t request)\r\n at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)\r\n at
Calamos.CCS.RiskManagement.Services.Strategy.Servi ce.GetCcsReviewReport(Int3
2 SubcategoryId)\r\n at
Calamos.CCS.RiskManagement.Strategy.Web.Helper.UIP rocessHelper.GetCcsReviewR
eport(Int32 SubCategoryID) in
C:\\Inetpub\\wwwroot\\Calamos.CCS.RiskManagement.S trategy.Web\\Helper\\UIPro
cessHelper.cs:line 563"
TargetSite: {System.Reflection.RuntimeMethodInfo}
consume

Thanks in advance.

Tiffany

Nov 23 '05 #2
Try to increase maxRequestLength int the Httpruntime section in web.config

Regargs
Erymuzuan Mustapa
tlan wrote:
Hi,

I got this error when I move my web service to Windows2003 server. I
spent hours scouting on the internet and could find any answer. Please
help!!!

I the webservice is timeout between 1 -2 minutes when my web app, which
consume this webService, retrieves a large amount of data. When I
perform the same operation to retrieve smaller amount of data, it works
fine. The timeout value I set for my web app, web service, and sql
connection are all greater than 5 minutes.

The same web app works fine with the same webservice in Windows2K and
WindowsXP environment. I only get this error when deploy to Windows2003
server.

There is the detail of exception stack:

{"The operation has timed-out." }
[System.Net.WebException]: {System.Net.WebException}
System.Object: {System.Net.WebException}
_className: null
_COMPlusExceptionCode: -532459699
_exceptionMethod: <undefined value>
_exceptionMethodString: null
_helpURL: null
_HResult: -2146233079
_innerException: { }
_message: "The operation has timed-out."
_remoteStackIndex: 0
_remoteStackTraceString: null
_source: null
_stackTrace: {System.Array}
_stackTraceString: null
_xcode: -532459699
_xptrs: 0
HelpLink: null
HResult: -2146233079
InnerException: { }
Message: "The operation has timed-out."
Source: "System.Web.Services"
StackTrace: " at
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)\r\n at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request)\r\n at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)\r\n at
Calamos.CCS.RiskManagement.Services.Strategy.Servi ce.GetCcsReviewReport(Int32
SubcategoryId)\r\n at
Calamos.CCS.RiskManagement.Strategy.Web.Helper.UIP rocessHelper.GetCcsReviewReport(Int32
SubCategoryID) in
C:\\Inetpub\\wwwroot\\Calamos.CCS.RiskManagement.S trategy.Web\\Helper\\UIProcessHelper.cs:line
563"
TargetSite: {System.Reflection.RuntimeMethodInfo}
consume

Thanks in advance.

Tiffany

Nov 23 '05 #3

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

Similar topics

0
1572
by: Jonathan Crowther | last post by:
On one PC the following test code results in an error on the GetResponse line while it works OK on another PC. The only difference that I am aware of is that the one that works is XP while the...
1
3687
by: Sean Erwin | last post by:
I am having a very frustrating intermittent problem. I am making an A2A call to a remote server and when I issue the: WebRequest.getResponse call it occasionally fails with the following error: ...
2
16090
by: genc_ ymeri at hotmail dot com | last post by:
Hi, I'm trying to recieve the response status code rather than the message in the below code : try { responseArray = myWebClient.UploadValues(uriString,"POST",myNameValueCollection); }...
0
4042
by: Kumar | last post by:
Hi all, I have the following code which uses WebClient.UploadValues myNameValueCollection.Add("Name", name) myNameValueCollection.Add("Age", age) .............. ............. Dim web As New...
0
8527
by: Faiyaz | last post by:
Hello to EveryBody i'm Getting this Peculiar error System.ApplicationException: The remote server returned an error (400) Bad Request. - - > System.Net.WebException: The remote server...
1
3472
by: Tim Reynolds | last post by:
Team, From a windows service, we consume a web service on another server and occasionally receive System.Net.WebException: The underlying connection was closed:. For some clients we call, we do...
8
14038
by: Tim Reynolds | last post by:
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no...
0
2629
by: Seth Thibodeaux | last post by:
I have built a Windows Service that connects to Sql Server 2000 Reporting Services via its Web Service interface for the purpose of generating reports. Intermittently, calls made to the Web Service...
2
5856
by: Scott McFadden | last post by:
When I invoke two web service methods sequentially with no delay, the first web method invocation goes smooth while the 2nd one generates the dredded: System.Net.WebException: The underlying...
3
1888
sid0404
by: sid0404 | last post by:
Hi I am new to the programming in c#, I have an application where I need to get data from a website now I am getting an error message if I give the input as two strings, say Sun Microsystems while...
0
7048
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7088
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6741
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5342
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4783
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4485
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2997
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.