Ticket Q339436
Visible to All Users

ASPxUploadControl in AdvancedMode - Access to the server path "~\App_Data\UploadTemp\" is denied.

created 14 years ago

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

Show previous comments (3)
DevExpress Support Team 14 years ago

    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

    DevExpress Support Team 14 years ago

      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

      DevExpress Support Team 14 years ago

        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

        Answers approved by DevExpress Support

        created 14 years ago (modified 12 years ago)

        Hi Erhan,
        In your markup, I see that you have not defined the UploadAdvancedModeSettings.TemporaryFolder property. By default, the folder is placed in "~\App_Data\UploadTemp" . However, in your screenshot, I see that you have provided permissions for the "Uploads" file. Make sure that you set the correct TemporaryFolder property of add write permissions to the "~\App_Data\UploadTemp" directory. For details, please see: FileUpload Class
        In addition, I have attached a screencast that illustrates that ASPxUploadControl operates properly in Windows Server 2003.
        Thanks,
        Marion

          Comments (2)
          SM SM
          Stefaan Menschaert 1 12 years ago

            Hello,

            I didn't had a uploadtemp folder on the server, I created it and set the permissions to the authenticated user and iis user.
            But still it seems that the application the the production test server don't come in the FileUploadComplete procedure.
            I don't understand why this don't happens on my development pc where I also don't have a uploadtemp folder?

            DevExpress Support Team 12 years ago

              @Stefaan,
              I kindly ask you not to post your Questions to thread comments that belong to other users. For now, I have created a separate thread for you. Let's continue our discussion in it:
              ASPxUploadControl in AdvancedMode - Access to the server path "~\App_Data\UploadTemp" is denied.

              Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

              Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.