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: For what you said I see you are programming in Vb, which I know little about the syntax. I'm programming in C# and I'm using the Aspx Routing Api to mask my URLs to the pages so that instead of http://server/page.aspx?id=1 I have something like http://server/page/1 (no aspx extension or query string explicitly in the URL). The routing API is used in the method RegisterRoutes in the Global.asax.cs (C# extension) and its in there that I have to add the ignore routes for pages that use the axd handler. This is the order of my routes to the page where I use the FileUpload: ``` public class Global : System.Web.HttpApplication { ... void RegisterRoutes(RouteCollection routes) { ... routes.Ignore("Administration/Slides/Edit/{resource}.axd"); routes.MapPageRoute("", "Administration/Slides/Edit", "~/AdministrationWeb/WebPages/Slides/SlideEdit.aspx"); routes.MapPageRoute("", "Administration/Slides/Edit/{Id}", "~/AdministrationWeb/WebPages/Slides/SlideEdit.aspx"); ... } } ``` If you are not using the routing API I guess this solution will not be applied to you, although trying don't kill :)

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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