Last post Sep 11, 2014 10:44 PM by Fuxiang Zhang - MSFT
Sep 09, 2014 11:58 PM|ubuntu118|LINK
I am using AjaxControlToolKit component, AjaxFileUpload. Maximum number of files is set to 1. After clicking Upload button, I receive following errors:
No query string(s) in page, no complex code(s) and no limitation(s) in server (ASP.NET Development Server on local machine). Full access to saving path (except prevention of direct access from browser to the save folder via authorization tag in web.config,
which I have already used in another project with no problems, but not combined with this component. I am pretty sure that this isn't the issue as execution process never reaches UploadComplete point). I searched the net and found more than 50 posts and links
all saying paddling with web.config done the trick, but none worked for me. I added/removed/edited any line recommended by those posts with no success.
Sep 11, 2014 12:27 AM|chetan.sarode|LINK
Sep 11, 2014 10:44 PM|Fuxiang Zhang - MSFT|LINK
"uncaught exception: error raising upload complete event and start new upload"
With above error message, I think you have not add the "AjaxFileUploadHandler" properly. Please make sure your web.config file
contains below sections:
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" maxRequestLength="42949672" />
<add verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>
<add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>