Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AjaxFileUpload causes javascript error with authorization

$
0
0

Using AjaxFileUpload in WebForms targetting .NET 4.5.1, I get a javascript error only under a certain condition. This is the error:

throw "error raising upload complete event and start new upload"

And the condition:

Error only occurs when I include a web.config authorization element somewhere in the page's directory tree: deny users="?"

If I comment out the condition to restrict to authenticated users, AjaxFileUpload works successfully. If I apply this as a single condition in the authorization element (deny users), then the error is thrown.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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