System.Exception: RadAsyncUpload does not have permission to write files in the TemporaryFolder. In Medium Trust scenarios, the TemporaryFolder should be a subfolder of the Application Path

6 posts, 0 answers
  1. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 05 Sep 2013 Link to this post

    I have an application that is using the 2.0 framework and we have tried to use the AsyncUpload.  It works fine on local host but not when it is moved to our test environment.  When we run it we get the error 
    System.Exception: RadAsyncUpload does not have permission to write files in the TemporaryFolder. In Medium Trust scenarios, the TemporaryFolder should be a subfolder of the Application Path

    I have set the tempory folder to be located in a folder called Filemanger that the original Radupload used with no issues.  I have give Authenticated  user full controll and tried giving everyone full control, which I don't want to do, and still get this error.  I have set UseApplicationPoolImpersonation to true and still the same error.


    Also since this is an internal app it has full trust in IIS 
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 06 Sep 2013 Link to this post

    Hi Eric,

    Please have a look into this forum thread which deals with the same issue.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 06 Sep 2013 Link to this post

    I have read that thread but it was of no use.  Still get the same error, and the fact that the app pool is in full trust the Medium Trust message is not even applicable. I have the security set IIS_ISRS to have full control and I have added Authenticated User to full control yet this does not seem to help at all.  Why is it that the RadUpload has worked for years yet the AsyncUpload has such issues.
  5. Wired_Nerve
    Wired_Nerve avatar
    163 posts
    Member since:
    Oct 2007

    Posted 25 Oct 2013 Link to this post

    Any resolution to this issue?

    The details of the error follow:
    Void TestTemporaryFolderPermissions()
    RadAsyncUpload does not have permission to write files in the TemporaryFolder. In Medium Trust scenarios, the TemporaryFolder should be a subfolder of the Application Path.
    at Telerik.Web.UI.RadAsyncUpload.TestTemporaryFolderPermissions() at Telerik.Web.UI.RadAsyncUpload.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  6. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 28 Oct 2013 Link to this post

    NO I was never able to get this control to work.
  7. Wired_Nerve
    Wired_Nerve avatar
    163 posts
    Member since:
    Oct 2007

    Posted 28 Oct 2013 Link to this post

    I ended up having to add permissions to the folder once I deployed it to the IIS Server and that solved the problem.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017