Re: Unable to write to folder:~/UploaderTemp... but using custom AxaxUploader.Provider (UploaderSqlServerProvider)

  •  01-31-2011, 1:57 PM

    Re: Unable to write to folder:~/UploaderTemp... but using custom AxaxUploader.Provider (UploaderSqlServerProvider)

    Dear rmacfadyen,
     
    Unlike standard ASP.NET HtmlInputFile control, AJAX Uploader does not read the entire uploaded file into memory. It streams the data into a temporary file while the data is received. For this reason, you must specify a temporary file location. You should ensure that the ASPNET user (NetworkService in Windows Server 2003) has read/write permission to this specified folder.
    There are two ways to change the default temporary directory.
    Solution 1:
    Add the following tag into the <appSettings> element of your application web.config file:
    <add key="CuteWebUI.AjaxUploader.TempDirectory" value="~/MyTempDirectory"/>
     
    Solution 2:
    <CuteWebUI:Uploader id="Uploader1" TempDirectory="~/MyTempDirectory" runat="server"></CuteWebUI:Uploader>
     
    Thank you for asking

View Complete Thread