Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 19th, 2003, 01:04 PM
Registered User
 
Join Date: Nov 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default web service parameter size

Hi,


I have a web service that takes a xmldocument as
parameter, works great for samller file but when the size
of the document is about 5 MB, I get this error:

The underlying connection was closed: An unexpected error
occurred on a receive.

How do I set my webservice to accept bigger files? or I
have to make the change in the client(written in C#)?
.



 
Old November 19th, 2003, 01:10 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

With a 5 meg file, most likely you are experiencing a server timeout. You need to increase the page execution timeout in the site configuration.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old November 19th, 2003, 01:13 PM
Registered User
 
Join Date: Nov 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for replying,


but which tag(or attribute?) is it in the machine.config?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Parameter - String vs SOAP attachment ndr1977 .NET Web Services 1 August 31st, 2009 02:02 AM
SqlDbType.Xml Output Parameter needs a size - Why? francislang ADO.NET 1 January 28th, 2008 08:28 PM
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 08:38 AM
Image as web service parameter rodmcleay C# 5 December 13th, 2005 06:11 AM
Object as parameter in a web service method evandro.paula .NET Web Services 3 October 14th, 2003 02:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.