This is a migrated thread and some comments may be shown as answers.

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

5 Answers 169 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Eric Klein
Top achievements
Rank 1
Eric Klein asked on 05 Sep 2013, 02:36 PM
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 

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 06 Sep 2013, 06:19 AM
Hi Eric,

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

Thanks,
Shinu.
0
Eric Klein
Top achievements
Rank 1
answered on 06 Sep 2013, 12:00 PM
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.
0
Wired_Nerve
Top achievements
Rank 2
answered on 25 Oct 2013, 02:59 PM
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)
0
Eric Klein
Top achievements
Rank 1
answered on 28 Oct 2013, 11:34 AM
NO I was never able to get this control to work.
0
Wired_Nerve
Top achievements
Rank 2
answered on 28 Oct 2013, 03:26 PM
I ended up having to add permissions to the folder once I deployed it to the IIS Server and that solved the problem.
Tags
AsyncUpload
Asked by
Eric Klein
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Eric Klein
Top achievements
Rank 1
Wired_Nerve
Top achievements
Rank 2
Share this question
or