Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: ajaxfileupload - fails on server side [27671]

$
0
0
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: We was having the same problem. The control stop working when we update our sites from Framework v2 to v4. We are using pool on "Classic" mode, that is the problem, if we __change the pool's mode to "Integrated", the problem disappears__ and the control work just fine. As we can't change the pool mode, we went to look for another solution... _and we found it!!!_ We add the option __preCondition="integratedMode"__ to the handler's registration in Web.Config and _PROBLEM SOLVED!!_ :) ``` <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <handlers> <add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit" preCondition="integratedMode"/> </handlers> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2097151"/> </requestFiltering> </security> </system.webServer> ```

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>