Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi i got a little problem.

 

I get this message

 

An unhandled exception of type 'System.InvalidOperationException' occurred in system.dll

 

Additional information: There was an error during async processing.

 

when i try to write binary files to a db by using a webservice.

But with small files everything works, but with files of 8Mb it doesn 't and i get the error message then.

 

Can someone explain me the error message??

Posted

I found what the problem was. If you want to upload files with a webservice you can only upload file that are less then 4 Mb but if you change maxRequestLength in <httpRuntime /> you can upload the number you set. I changed it in 40960 so that i can upload 40Mb without problems.

 

Greetz

  • 2 months later...
Posted

Upload a file to a webservice method from plain HTML

 

On a similar note...

 

Setting the form's enctype to "multipart/form-data" causes an exception to be thrown by the webservice.

 

System.InvalidOperationException: Request format is invalid: multipart/form-data; boundary=---.....

 

I need to post the HTML form direct to the webservice, and it can't be hosted by the .NET server (it will actually be manipulated from within a Flash UI) - any ideas please people?

  • 1 year later...
Posted

System.InvalidOperationException

 

Hi I have the same problem,

did you found any solution for this problem?

 

tnx Eric

 

On a similar note...

 

Setting the form's enctype to "multipart/form-data" causes an exception to be thrown by the webservice.

 

System.InvalidOperationException: Request format is invalid: multipart/form-data; boundary=---.....

 

I need to post the HTML form direct to the webservice, and it can't be hosted by the .NET server (it will actually be manipulated from within a Flash UI) - any ideas please people?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...