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

Error wrt Temporary Folder

3 Answers 59 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 05 Sep 2014, 09:03 PM
In my ASP.NET 4.0 Web Forms application, I'm using AsyncUpload for just one thing: To allow my client to send a file to me via e-mail.  The functionality works perfectly fine in Visual Studio on my development machine but I'm getting an error (see screenshot) when it's deployed onto the client's server.  The problem appears to revolve around the temporary file that needs to be created by the control.  To solve this I first tried this on the client's server:
  1. Created these nested folders off of the root of my application:  \App_Data\RadUploadTemp
  2. Assigned the child folder Write privileges
  3. Added this property to the instance of RadAsyncUpload:  TemporaryFolder="~/App_Data/RadUploadTemp"

But when I ran my app, the same error occurred.

So then I changed the property setting to this:  TemporaryFolder="~/Logs"
The "Logs" folder is an existing one that also has Write privileges.

But once again, the same error occurred!

I'm not sure what to do now and am hoping someone on this forum might be able to help.  If there was a way to avoid the necessity for a temporary folder at all, that would be preferable.

Any ideas?

Robert

3 Answers, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 09 Sep 2014, 12:57 PM
Hi Robert,

Please make sure that your application has write permissions to the \App_Data\RadUploadTemp folder. If is needed use the standard ASP.NET upload to test the permissions.

Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Robert
Top achievements
Rank 1
answered on 09 Sep 2014, 02:07 PM
Hristo,

Thank you.  Just so I'm 100% clear, do I have to set these write permissions in IIS or Windows Explorer or both?

Robert
0
Hristo Valyavicharski
Telerik team
answered on 12 Sep 2014, 11:30 AM
Robert,

It doesn't matter. You have to set these permissions in IIS, but IIS uses the same Windows Explorer's permission dialog window. For more details please look here: http://support.microsoft.com/kb/313075

Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AsyncUpload
Asked by
Robert
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Robert
Top achievements
Rank 1
Share this question
or