Hi,
why is it, that i do get the following error, if i want to upload a file using the AdvancedMode property?
Access to the server path "~\App_Data\UploadTemp" is denied. The reason might be due to lack of permissions to write files in this (or parent) folder.
It was no problem when i did use the standard upload mode, to upload files. This just occurs if i change to AdvancedMode.
Please help with this problem, because i cant find any help .
Thanks & Regards
Erhan
Hello Erhan,
Thank you for your message. According to the Uploading Large Files help topic, it is necessary to write access to the folder on the server:
In Advanced Mode, ASPxUploadControl saves each uploaded file into a temporary file within a specific server folder. You can specify this folder by using the UploadAdvancedModeSettings.TemporaryFolder property (by default it is "~\App_Data\UploadTemp"). Ensure that the ASP.NET application has write access to the folder on the server (you can find more information on granting a web application with write access in this MSDN topic section: FileUpload Class: Security Considerations).
This requirement is not related to a standard Upload mode.
Thanks,
Marion
Hello Erhan:
We should discuss this problem with our R&D team.
Please accept our apologies for the delay in responding. We will keep you informed of any progress.
Thanks
Kate.
Hello Erhan,
Thank you for your patience.
We have discussed the problem with our developers. It is necessary to set "Write, Modify" permissions for the "Authenticated Users, ASP NET" username, so this functionality works properly.
Please let me know whether or not this hint resolves the problem. If you need any further assistance with this subject, feel free to reactivate this ticket.
Thanks,
Jenny
Hello Erhan,
Thank you for your clarification. Our developers are still working on your issue.
I will inform you of our results as soon as I get them.
Your patience and understanding are appreciated.
Thanks,
Jenny
Hello Erhan,
Thank you for your patience.
We have tried to reproduce the issue under different conditions, but failed.
Please add the "Everyone" group with the 'Read', 'Write', 'Modify' permissions to the security of the folder, which you set to the TFileUpload1.AdvancedModeSettings.TemporaryFolder property and let me know whether or not it resolves the problem.
If possible, provide us with a small working project (containing only the problematic controls) that shows the described behavior. It will help us find the cause of the problem.
I am looking forward to your reply.
Thanks,
Jenny
Hello Erhan,
Thank you for your clarification.
We need additional time to investigate the issue. Please accept our apologies for the delay.
Best regards,
Vladimir