![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Problem with outgoing messages being too large We're creating a WCF service to upload files to a server. The service has an input parameter of the byte array for the file. When I try to upload any file bigger than 16KB, I get the following error: An unhandled exception of type 'System.ServiceModel.FaultException' occurred in mscorlib.dll Additional information: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://BigHammer.AssetService:Image. The InnerException message was 'There was an error deserializing the object of type System.Byte[]. The maximum array length quota (16384) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 32505.'. Please see InnerException for more details. Uploading smaller files works fine, and downloading files of any size (since that just uses maxReceivedMessageSize) works fine as well. I've tried everything that I can think of and can't find any documentation of this issue. Does anyone have any ideas on how to solve this? |
| | #2 (permalink) |
| Guest | Re: Problem with outgoing messages being too large Check example called "streaming" on http://www.idesign.net/idesign/Deskt...dex=5&tabid=11 Juval Lowy show how to treat media files of large size there Arkady <charles.boyung@gmail.com> wrote in message news:1153755035.375445.272970@i3g2000cwc.googlegroups.com... > We're creating a WCF service to upload files to a server. The service > has an input parameter of the byte array for the file. When I try to > upload any file bigger than 16KB, I get the following error: > > An unhandled exception of type 'System.ServiceModel.FaultException' > occurred in mscorlib.dll > > Additional information: The formatter threw an exception while trying > to deserialize the message: There was an error while trying to > deserialize parameter http://BigHammer.AssetService:Image. The > InnerException message was 'There was an error deserializing the object > of type System.Byte[]. The maximum array length quota (16384) has been > exceeded while reading XML data. This quota may be increased by > changing the MaxArrayLength property on the XmlDictionaryReaderQuotas > object used when creating the XML reader. Line 1, position 32505.'. > Please see InnerException for more details. > > Uploading smaller files works fine, and downloading files of any size > (since that just uses maxReceivedMessageSize) works fine as well. I've > tried everything that I can think of and can't find any documentation > of this issue. Does anyone have any ideas on how to solve this? > |
| | #3 (permalink) |
| Guest | Re: Problem with outgoing messages being too large That works fine for retrieving from the service, but it still doesn't work for sending the request to the service. It runs into the same problem. Since downloading works fine the way that I am currently doing it, this doesn't help at all. Arkady Frenkel wrote: > Check example called "streaming" on > http://www.idesign.net/idesign/Deskt...dex=5&tabid=11 > Juval Lowy show how to treat media files of large size there > Arkady > > <charles.boyung@gmail.com> wrote in message > news:1153755035.375445.272970@i3g2000cwc.googlegroups.com... > > We're creating a WCF service to upload files to a server. The service > > has an input parameter of the byte array for the file. When I try to > > upload any file bigger than 16KB, I get the following error: > > > > An unhandled exception of type 'System.ServiceModel.FaultException' > > occurred in mscorlib.dll > > > > Additional information: The formatter threw an exception while trying > > to deserialize the message: There was an error while trying to > > deserialize parameter http://BigHammer.AssetService:Image. The > > InnerException message was 'There was an error deserializing the object > > of type System.Byte[]. The maximum array length quota (16384) has been > > exceeded while reading XML data. This quota may be increased by > > changing the MaxArrayLength property on the XmlDictionaryReaderQuotas > > object used when creating the XML reader. Line 1, position 32505.'. > > Please see InnerException for more details. > > > > Uploading smaller files works fine, and downloading files of any size > > (since that just uses maxReceivedMessageSize) works fine as well. I've > > tried everything that I can think of and can't find any documentation > > of this issue. Does anyone have any ideas on how to solve this? > > |
| | #4 (permalink) |
| Guest | Re: Problem with outgoing messages being too large Strange, that have to work in both directions in the same manner, maybe ask that on http://forums.microsoft.com/MSDN/Sho...D=118&SiteID=1 , why uploading ( from service to client ) of the stream do work and downloading ( from client to service ) not. And send us notification if will be answer(s) there TIA Arkady <charles.boyung@gmail.com> wrote in message news:1153762634.215189.307840@m79g2000cwm.googlegroups.com... > That works fine for retrieving from the service, but it still doesn't > work for sending the request to the service. It runs into the same > problem. Since downloading works fine the way that I am currently > doing it, this doesn't help at all. > > Arkady Frenkel wrote: >> Check example called "streaming" on >> http://www.idesign.net/idesign/Deskt...dex=5&tabid=11 >> Juval Lowy show how to treat media files of large size there >> Arkady >> >> <charles.boyung@gmail.com> wrote in message >> news:1153755035.375445.272970@i3g2000cwc.googlegroups.com... >> > We're creating a WCF service to upload files to a server. The service >> > has an input parameter of the byte array for the file. When I try to >> > upload any file bigger than 16KB, I get the following error: >> > >> > An unhandled exception of type 'System.ServiceModel.FaultException' >> > occurred in mscorlib.dll >> > >> > Additional information: The formatter threw an exception while trying >> > to deserialize the message: There was an error while trying to >> > deserialize parameter http://BigHammer.AssetService:Image. The >> > InnerException message was 'There was an error deserializing the object >> > of type System.Byte[]. The maximum array length quota (16384) has been >> > exceeded while reading XML data. This quota may be increased by >> > changing the MaxArrayLength property on the XmlDictionaryReaderQuotas >> > object used when creating the XML reader. Line 1, position 32505.'. >> > Please see InnerException for more details. >> > >> > Uploading smaller files works fine, and downloading files of any size >> > (since that just uses maxReceivedMessageSize) works fine as well. I've >> > tried everything that I can think of and can't find any documentation >> > of this issue. Does anyone have any ideas on how to solve this? >> > > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| outgoing messages | april dunn | Vista mail | 1 | 2 Weeks Ago 06:22 PM |
| outgoing messages | heather | Vista mail | 1 | 06-24-2008 09:38 PM |
| Problem with Outgoing messages for Yahoo | Ankit Patel | Vista mail | 1 | 05-02-2008 08:22 PM |
| Frozen outgoing message (excessively large) | Patrija | Vista mail | 3 | 09-29-2007 02:46 PM |
| Outgoing Messages | CarlosC | Vista mail | 5 | 09-22-2007 01:55 PM |