unexpected data end in ajax uploader

Last post 08-13-2009, 2:23 AM by IronRomeo. 2 replies.
Sort Posts: Previous Next
  •  08-10-2009, 4:11 AM 54599

    unexpected data end in ajax uploader

    problem with ajax uploader. sometimes problem with uploading happens. script message "server side exception: unexpected end of file"
     
     
     
     
  •  08-11-2009, 2:12 AM 54627 in reply to 54599

    Re: unexpected data end in ajax uploader

    Hi,
     
    Is your website use any HttpModule which read the request data ?
     
    That error mean the size of the data read from the Request is smaller than the Content-Length.
     
    Regards,
    Terry
  •  08-13-2009, 2:23 AM 54663 in reply to 54627

    Re: unexpected data end in ajax uploader

    thanks Terry for idea. After changing order of HttpModules in web.config the ajax uploader works fine. The error "upload data transfer expired" and "unexpected data end" have disappeared.
    The conflicting module is my custom LocalizationModule. LocalizationModule sets culture and rewrites request path for specific urls. I do not know why it conflicts with AjaxUploader requests. Non the less, moving LocalizationModule after  CuteWebUI.UploadModule uploader solved problem.
View as RSS news feed in XML