I have a project that uses several ajaxfileuploads throughout many pages. Everything was working fine in production and development. One day it all just stopped. I have traced the problem to ys.Extended.UI.AjaxFileUpload.ProcessorHtml5.upload.
I realize this might be a permissions issue so I have given every user on my development server full access to the temp directories. By everyone I mean every account and group on the server, including "everyone". I have given them permissions to my temp directory (%USER%) and the windows temp directory.
I have watched and when I click the upload button on the control it creates a directory called _AjaxFileUpload in the windows\temp directory and then fails. I never get the onUploadComplete event to fire on the server.
I have updated the libraries through NuGet just to be safe.
I have created a new project with nothing but an ajaxfileupload control and have the same problem.
I really need some help figuring this out. Please provide any feedback. I will provide any information, files, source, etc. you need to help.
Comments: I found the problem in my case. Are you using Routing? If so, thats the problem. The call to the axd file (httpHandler) dont work correctly in routed urls. In my case the solution was adding the next line in the Global.asax relactive the page where I use the FileUpload: routes.Ignore("Administration/Slides/Edit/{resource}.axd"); The general line routes.Ignore("{resource}.axd/{*pathInfo}") dont catch the call from the FileUpload. Hope it helps you :)
I realize this might be a permissions issue so I have given every user on my development server full access to the temp directories. By everyone I mean every account and group on the server, including "everyone". I have given them permissions to my temp directory (%USER%) and the windows temp directory.
I have watched and when I click the upload button on the control it creates a directory called _AjaxFileUpload in the windows\temp directory and then fails. I never get the onUploadComplete event to fire on the server.
I have updated the libraries through NuGet just to be safe.
I have created a new project with nothing but an ajaxfileupload control and have the same problem.
I really need some help figuring this out. Please provide any feedback. I will provide any information, files, source, etc. you need to help.
Comments: I found the problem in my case. Are you using Routing? If so, thats the problem. The call to the axd file (httpHandler) dont work correctly in routed urls. In my case the solution was adding the next line in the Global.asax relactive the page where I use the FileUpload: routes.Ignore("Administration/Slides/Edit/{resource}.axd"); The general line routes.Ignore("{resource}.axd/{*pathInfo}") dont catch the call from the FileUpload. Hope it helps you :)