Error wrt Temporary Folder

4 posts, 0 answers
  1. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 05 Sep 2014 Link to this post

    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
  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 09 Sep 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 09 Sep 2014 in reply to Hristo Valyavicharski Link to this post

    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
  5. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 12 Sep 2014 Link to this post

    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.

     
Back to Top