Error in getting return values

C

CoolCyber

Hi,

I wrote a simple webservice to insert data into db from the values sent to
it. It works partially. very first time after system restart it works
properly. after that it works partially. Partially means the webservice is
invoked and the data is inserted, but the calling page doen't receive any
return value and it timesout. I get the following error:
System.Net.WebException: The operation has timed out at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request) at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest
request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke

Any help is appreciated.
Thanks
 
V

Vijay Pandey

seems ur function is taking a long time. so set the TimeOut property of
webservice proxy to a large value.
 
M

Michel Posseth [MCP]

And don`t forget the server`s Timeout values

regards

Michel Posseth [MCP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,132
Latest member
TeresaWcq1
Top