Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2006

Tip: Looking for answers? Try searching our database.

WebService To WebService HTTP Connection Limit

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott - 31 Jan 2006 18:49 GMT
I have a .Net web service (OPR) that receives requests from a variety
of real-time applications. The OPR web service calls another remote web
service (OPW) on a remote machine.

The problem that I'm having is that I'm exceeding the default HTTP
connection limit of 2 connections between the two web services.

MSDN documentation
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenr
ef/html/gngrfaddelementforconnectionmanagement.asp) says that I can
extend the HTTP limit by overriding the maxConnection attribute on the
connectionManagement element in the app.config or machine.config, but I
get an error when trying to override this element in my web.config:
"Unrecognized configuration section 'connectionManagement'".
Here's a snippet from my web.config:

-------------------------
<?xml version="1.0"?>
<configuration>
   <system.web>
       ...
       <connectionManagement>
           <add address="*" maxconnection="12"/>
       </connectionManagement>
   </system.web>
   ...
</configuration>
-------------------------

The only other possibility I've found is to set the value in the
registry, but I'm not sure this will work with web services:
<http://support.microsoft.com/?kbid=282402>.

Any help on how to overcome the HTTP connection limit between web
services is appreciated.

Thanks.
Scott C
Scott - 01 Feb 2006 22:25 GMT
> -------------------------
> <?xml version="1.0"?>
[quoted text clipped - 8 lines]
> </configuration>
> -------------------------

I put the connectionManagement node in the system.web element instead
of the system.net element.

Scott C.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.