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:
- Created these nested folders off of the root of my application: \App_Data\RadUploadTemp
- Assigned the child folder Write privileges
- 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.