473,405 Members | 2,282 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,405 software developers and data experts.

consuming webserver timeout issue

Hi

I am running a rather large method through a webservice.
Now, i keep getting a timeout.

I've found an article which seems to be the solution, but cannot for the
life of me figure out how to use it.
I am told to use the following code to set the timeout property of the
proxy:

webserver.Service1 ws = new webserver.Service1();
ws.Timeout = System.Threading.Timeout.Infinite;

But i cannot find these settings at all.
there is no class called webserver, and my consumed webservice does not have
a Service1 class or a Timeout property.

Where can i find these settings:

KB Article: http://support.microsoft.com/?kbid=819692#appliesto

TIA
Nov 19 '05 #1
1 1304
I found it.

it was:

[Name of Web Service].[Name of Class].TimeOut

stupid article, they could explain that!

they could at least go

webservicename.service1

Anyways, fixed my problem right up

"Grant Merwitz" <gr***@workshare.com> wrote in message
news:uU**************@TK2MSFTNGP14.phx.gbl...
Hi

I am running a rather large method through a webservice.
Now, i keep getting a timeout.

I've found an article which seems to be the solution, but cannot for the
life of me figure out how to use it.
I am told to use the following code to set the timeout property of the
proxy:

webserver.Service1 ws = new webserver.Service1();
ws.Timeout = System.Threading.Timeout.Infinite;

But i cannot find these settings at all.
there is no class called webserver, and my consumed webservice does not
have a Service1 class or a Timeout property.

Where can i find these settings:

KB Article: http://support.microsoft.com/?kbid=819692#appliesto

TIA

Nov 19 '05 #2

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

Similar topics

9
by: E Sullivan | last post by:
I am having a time out issue when multiple users are accessing the server. This time out does not happen all of the time. My understanding is that the time out value is actually set in two places....
9
by: Adrian Dragomirescu | last post by:
Hello, I have the following problem: In my ASPX page is a button called "Import". The action of this button is to import a set of data in my database. I have to import big datasets and this...
3
by: MattB | last post by:
Hi. I'm trying to write a web form that will consumer the NOAA's web service. I keep getting a timeout from my .net stuff, but their demo seems to be getting live data, so I suspect I'm doing...
1
by: unwantedspam | last post by:
We have a webservice on a central webserver. I can go to my browser and look at the service, see the methods... I need to create several seperate asp.net applications in notepad. How do I go about...
1
by: Greg Allen | last post by:
I have a timeout issue with a long running web service, and I can't figure out where the timeout value is coming from. In the client I end up getting the following exception: The underlying...
7
by: Robbert van Geldrop | last post by:
Hello, I have a problem in a C# client that consumes a webservice which is wrapped by WSE 2.0 sp3: The WebService works fine but very rarely my client comes in a state where every call to the...
4
by: Boni | last post by:
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy =...
6
by: Aspiring .NET Programmer | last post by:
This is one of the fundamental questions I have. Would greatly appreciate any response. I have been using and still use IIS for hosting my ASP.NET applications. As the size of the application...
6
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, Recently I'm confused by this exception. ----- The message could not be processed. This is most likely because the action 'http://tempuri.org/IBCC2MatrixService/UserMatchingSearch' is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...
0
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
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,...
0
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...

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.