467,920 Members | 1,136 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,920 developers. It's quick & easy.

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
  • viewed: 25033
Share:
2 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by genc_ ymeri at hotmail dot com | last post: by
reply views Thread by Kumar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.