Re: Write to uploadTemp folder when site deployed to Windows Azure

  •  01-28-2012, 1:42 AM

    Re: Write to uploadTemp folder when site deployed to Windows Azure

    Randy,
     
    Can you manually set up a temp folder then try again?
     

    Setting temporary file location

    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.


    You can easily specify the temporary file location using the following two methods:

    1. Using TempDirectory property 

      For example:

      <CuteWebUI:Uploader id="Uploader1" TempDirectory="~/UploaderTemp" runat="server"></CuteWebUI:Uploader>
    2. Setting temporary file location in web.config 

      Add the following tag into the <appSettings> element of your application web.config file:
      <add key="CuteWebUI.AjaxUploader.TempDirectory" value="~/UploaderTemp"/>

      In web farm environments, the Url that you specify must map to a central location, which is saved to by all servers in the farm. This can be done using a virtual directory that maps to a common shared folder on the network.

      <add key="CuteWebUI.AjaxUploader.TempDirectory" value="\\shareserver\temp"/>

     


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread