Unable to write to folder

Last post 07-12-2009, 7:58 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  07-12-2009, 7:06 AM 53913

    Unable to write to folder

      After deploying the control to the testing environment I get the following error:

     Unable to write to folder:~/Data/Temp.  Please change the permissions of this folder or specify a temporary folder using TempDirectory property or setting temporary file location in web.config.

    I have the following entry in the configuration file:

     <add key="CuteWebUI.AjaxUploader.TempDirectory" value="~/Data/Temp"/>

     And have grated permissions to the asp.net user to write to the folder.

     However I can see that the control creates a text file in the temp directory every time I refresh the page where the control is located   “TempPathTest.txt”, which leads me to think that the control in fact has access to write to the designated temporary folder.

     Any help would be greatly appreciated, thanks in advance, regards anddy

  •  07-12-2009, 7:58 AM 53914 in reply to 53913

    Re: Unable to write to folder

    Hi,
     
    When uploader handle the upload stream , it will use the IIS account , instead of the ASP.NET account.
     
    Please add permission for Network Service account .
     
    Regards,
    Terry
     
View as RSS news feed in XML