473,396 Members | 1,758 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,396 software developers and data experts.

Configure Web Service CLient Timeout via Config File??

VS 2003
..NET 1.x
Windows 2000 SP4

Hi all,

We recently migrated a data center containing several database and ASP
web service servers. We have a Windows Forms application that runs on
200+ user desktops and it does all database access through a web
service middle tier running in the new data center location.

After the migration most everyone is working fine however one of our
"far away and really remote" locations has started experiencing
lockups and timeouts when communicating with the web service tier. We
will NOT be able to back out of the data center migration and there is
little to no chance that the "really remote" location will be upgraded
to a higher bandwidth connection.

This leaves me with the option of increasing web request timeouts from
the client side. Is there any way to increase a web service request
timeout via a configuration file? If not from the config file is
there anything I can do at the machine.config or even OS level that
would extend the timeouts on the web service requests??

May 29 '07 #1
3 3623
you mean that when you set the app with timeout set to over one hour (inside
the code), and it works fine.
It is not timeout. It is the same problem as your IE lockup after few mins
waiting. If your app runs over around 8 mins without reply it, your client
will just sit there.

--
cheers,
RL
"Crash" <so*********@san.rr.comwrote in message
news:11**********************@g37g2000prf.googlegr oups.com...
VS 2003
.NET 1.x
Windows 2000 SP4

Hi all,

We recently migrated a data center containing several database and ASP
web service servers. We have a Windows Forms application that runs on
200+ user desktops and it does all database access through a web
service middle tier running in the new data center location.

After the migration most everyone is working fine however one of our
"far away and really remote" locations has started experiencing
lockups and timeouts when communicating with the web service tier. We
will NOT be able to back out of the data center migration and there is
little to no chance that the "really remote" location will be upgraded
to a higher bandwidth connection.

This leaves me with the option of increasing web request timeouts from
the client side. Is there any way to increase a web service request
timeout via a configuration file? If not from the config file is
there anything I can do at the machine.config or even OS level that
would extend the timeouts on the web service requests??

May 29 '07 #2
On May 29, 11:40 am, "Egghead" <robertlo@NO_SHAW.CAwrote:
you mean that when you set the app with timeout set to over one hour (inside
the code), and it works fine.
Huhh?? - We haven't set any timeouts in code...

In my case an employee was terminted under rather hostile
circumstances and I have inherited an application. We are unsure if I
have the latest version of the source code - or if the source code
was tampered with; so I would rather NOT make changes to the code...

Sooo I would like to increase the web service timeouts via a config
file if possible. Do you know of any way to do this?

May 29 '07 #3
If that is the default, you should have more than enough.
Anyway, you should make a test app and test it. I believe it will change
nothing even you set the timeout inside your code to 1 hour.

--
cheers,
RL
"Crash" <so*********@san.rr.comwrote in message
news:11**********************@j4g2000prf.googlegro ups.com...
On May 29, 11:40 am, "Egghead" <robertlo@NO_SHAW.CAwrote:
>you mean that when you set the app with timeout set to over one hour
(inside
the code), and it works fine.

Huhh?? - We haven't set any timeouts in code...

In my case an employee was terminted under rather hostile
circumstances and I have inherited an application. We are unsure if I
have the latest version of the source code - or if the source code
was tampered with; so I would rather NOT make changes to the code...

Sooo I would like to increase the web service timeouts via a config
file if possible. Do you know of any way to do this?

May 29 '07 #4

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

Similar topics

1
by: GunFro | last post by:
Hi. I want php.ini in my own place, say /etc not default /usr/local/bin. So when I configure I use --with-config-file-path=/etc .... Easy !? It dose not work, well it configure, make and make...
0
by: homi | last post by:
Hi All, I am writing a Java code that uses a XML Config file to configure itself. Sample of the XML file has shown below. I want to have a peace of java code to reads that config file and import...
1
by: Eric Caron | last post by:
Here's my problem, I create a windows service and it work fine but now I want to add a winform to let user set parameters in App.Config file. How I can do this ?
4
by: Adam Smith | last post by:
Whenever I try to start my service application, the config file is erased and I get an application exception trying to read it. When I make it read only, everything is fine. Anyone know why...
4
by: SQLScott | last post by:
If I have two apps (one is a standard VB.Net EXE, the other is a VB.Net Windows Service). The EXE is just a UI to configure the settings for the Service. But, each one has their own App.Config....
0
by: blekros | last post by:
All, I have a web service client written in VB.NET. It is a class library assembly (.dll file). I made a web reference to a web service and set it to be dynamic, so it puts the URL of the...
2
by: Dan | last post by:
All, I have a Web Service that validates a piece of data. However, the database that the data comes from is mamouth. So, it may take a long time for the validation query to complete. ...
0
by: Dave A | last post by:
When I register a remoting service programmatically things work great but when I register the service using a config file I get the error "Requested Service not found" when invoking a server...
14
by: Peter | last post by:
..NET 3.5 I have a Windows Service application and it does remoting, but when a client incounters an error the client get the following error message "Server encountered an internal error....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
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...

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.