Asynchronus File Upload with StateServer Mode
I want to implement Asynchronus File 开发者_开发百科Upload.
I've tried ajax:AsyncFileUpload
control. It's working fine only with InProc Mode.
But I'm using StateServer Mode.
Any help from anybody?
Thanks in advance.
Regards
Debashis
As the Darin point the issue with the control you are using, I think you need to change your control choice, use AJAX uploaded and check URL, you will find here lot of uploading AJAX based control
http://ajaxuploader.com/Demo/default.aspx
AsyncFileUpload
control tries to put an HttpPostedFile
instance into the session. This works fine with InProc session but will fail with out of process session because this requires the class to be marked with SerializableAttribute. Long story short: you can't use anything else than InProc
with the AsyncFileUpload
component.
Try this:
- AsyncFileUpload only support InProc session mode
- ASP.NET File Upload with Real-Time Progress Bar
精彩评论