Groups | Blog | Home
all groups > dotnet web services enhancements > july 2004 >

dotnet web services enhancements : WSE 2.0 Error: WSE352: The size of the record


Alexander Ernst
7/31/2004 8:06:34 PM
Hi,

I try to develop a webservice aplication which accepts a big file, processes
it and send back some files to the client.

Currently I use WSE 2.0 with Dime attachments. I first had some problems
with upload size restrictions, but than I found some solution for it in
web.config.
<microsoft.web.services2>

<messaging>

<maxRequestLength>128000</maxRequestLength>

</messaging>

<diagnostics>

<detailedErrors enabled="true" />

</diagnostics>

</microsoft.web.services2>


But now I have another problem sending files back to the client.
When I send back about 24 files with around 3 MB of size everything works
fine. As soon as I try to send back 48 files with around 6 MB I get the
following error message:
Eine nicht behandelte Ausnahme des Typs
'Microsoft.Web.Services2.Dime.DimeFormatException' ist in
microsoft.web.services2.dll aufgetreten.

Zusätzliche Informationen: WSE352: The size of the record
uuid:36e3a565-413f-4f57-ba40-527352149738 exceed its limit.

(sorry for the german part ;-))

Is there some other setting which limits the attachment size which can be
sent back to the client?

Thanks in advance!

Alex

Lucien
8/2/2004 4:55:37 PM
Did you set that setting also in the client app.config? Also check the HTTP
server config limit is increased.

[quoted text, click to view]

Alexander Ernst
8/4/2004 12:38:38 AM
Thanks for your tip!

After I installed WSE2 SP1 and changed some configuration options a
app.config had been created.

And than I inserted the same code as in web.config.

Now everything works ;-)

Cheers

Alex

"Lucien" <*lucien*@MicrosoftAccount.com> schrieb im Newsbeitrag
news:%23zq31wOeEHA.1048@tk2msftngp13.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button