Cannot access the system temp folder

Thread is closed for posting
2 posts, 1 answers
  1. Mark Davison
    Mark Davison avatar
    82 posts
    Member since:
    Jul 2005

    Posted 28 Dec 2007 Link to this post

    Hi,

    I have just downloaded and installed the latest "Prometheus" build and I am trying to get the upload to work.

    The local sample seems to work fine. A test page in my application does not!

    I am using impersonation and have made sure the WEB user has permissions over the system temp folder (Windows\Temp) but get the following when I try to upload:

    Cannot access the system temp folder. Please, make sure your application have Full Control rights on that folder or check
    RadUpload 2.x help --> Using RadUpload --> Configuration --> Configuring the RadUploadHttpModule.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.IOException: Cannot access the system temp folder. Please, make sure your application have Full Control rights on that folder or check
    RadUpload 2.x help --> Using RadUpload --> Configuration --> Configuring the RadUploadHttpModule.

    Please Help!!

    Regards,

    Mark
  2. Answer
    Mark Davison
    Mark Davison avatar
    82 posts
    Member since:
    Jul 2005

    Posted 28 Dec 2007 Link to this post

    Hi,

    I have managed to solve this! If anyone elses gets the problem, here are the details:

    As mentioned, I run the site using impersonation (as a user called WEB). When the error message mentioned the system temp folder, I assumed it was the Windows\Temp folder. After spending ages trying to get this to work, I finally used Process Monitor (www.sysinternals.com) to track the problem down.

    It turns out that it is not trying to use the Windows\Temp folder. Instead, in this case it was trying to access the I:\\NetworkService\AppData\Local\Temp folder. I cannot find a way to get to this folder (under Vista).

    I finally resolved this by creating a folder on my c drive (c:\temp) and granting the WEB impersonated user full control over this new folder.

    Hope this might help someone else. It has taken me ages to track down!

    Regards,

    Mark
Back to Top