Last post Oct 29, 2013 08:38 AM by farrel
Oct 08, 2013 11:00 AM|Pedro Otavio|LINK
I have a file upload page, I'm using the AjaxFileUpload in its latest version, the server already have permission to read and write files. My problem is that when I upload the file and try to open the system the server is requesting an authentication to
view it, does anyone know why it is happening so?
Oct 09, 2013 12:02 AM|chetan.sarode|LINK
Oct 09, 2013 07:31 AM|Pedro Otavio|LINK
I saw this post, in my case the problem is not browser, I'm using chrome, uploading normally occurs, the file is saved in the informed, however I can not visualize it for lack of permission, when using the FileUpload component works well, I can upload and
view the file
Oct 11, 2013 04:49 AM|Fuxiang Zhang - MSFT|LINK
Thanks for posting to asp.net forum.
From your description, I see that you are using the AjaxFileUpload to upload file. However it needs login when upload files.
I think you need register the AjaxFileUploadHandler.axd handler in web.config.
<add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>
When upload file, client side will call the handler file registered. And if your WebSite needs Authentication then it will ask you login.
I'd like to suggest you read the introduction of AjaxFileUpload in below link. It will tell you how to set and use AjaxFileUpload.
Oct 29, 2013 08:38 AM|farrel|LINK
I have tried adding this to my web.config, but after I save it, my entire website breaks and displays the error: "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed." Any idea what might cause