Unable to write to folder:~/UploaderTemp

Last post 07-16-2013, 2:58 AM by Anonymous. 4 replies.
Sort Posts: Previous Next
  •  07-27-2011, 3:16 PM 68925

    Unable to write to folder:~/UploaderTemp

    Hi,
     
    I've download the  ASP.NET Image Gallery 3.0 evolution version and I'm testing it on my production server before buying the Domain License.
    I'm working with VS2010, VB.NET and Framework 4.0.
    On my local workstation everything is working fine.
     
    As for the Developer's Manual, I've modified my web.config in this way:
     
        <httpModules>
          <add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery"/>
        </httpModules> 
     
    I've registered the assembly on my page:
     
    <%@ Register TagPrefix="DotNetGallery" Namespace="DotNetGallery" Assembly="DotNetGallery" %> 
     
     Now, on my production server, I get :
     

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

     
    [ArgumentException: Unable to write to folder:~/UploaderTemp.  Please change the permissions of this folder or specify a temporary folder using TempDirectory property or setting temporary file location in web.config.]    DotNetGallery.UploaderBase.as() +429    DotNetGallery.UploaderBase.ar() +22    DotNetGallery.UploaderBase.b(HtmlTextWriter A_0) +3560    DotNetGallery.UploaderBase.Render(HtmlTextWriter writer) +57    f.Render(HtmlTextWriter writer) +18    o.Render(HtmlTextWriter writer) +43    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25    DotNetGallery.GalleryBrowser.RenderContents(HtmlTextWriter writer) +582    System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +32    DotNetGallery.GalleryBrowser.Render(HtmlTextWriter writer) +109    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8    System.Web.UI.Control.Render(HtmlTextWriter writer) +10    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
     
     
    As for may posts I read, I tried to :
     
    1) Add the TempDirectory="~/Fotogallery/UploaderTemp" on my control
    2) Moified the web.config adding:
     
    <configuration>  
          <appSettings>  
    <add key="DotNetGalleryLicense" value="/Bin/DotNetGallery.lic" />  
          </appSettings>  
    </configuration>
     
    3) Add this section to my web.config:
     
         <add key="DotNetGalleryClient" value="~/CuteSoft_Client/Gallery/" />
         <add key="DotNetGalleryFolder" value="~/Fotogallery/GalleryFiles/" />-->
         <add key="DotNetGallery.UploadModule.TempDirectory" value="~/Fotogallery/UploaderTemp"/>
     
    Everything in different orders, testing each one of them, but nohing works.
     
    The directory  Fotogallery as full permission on it.
     
    Any idea?
  •  07-27-2011, 8:19 PM 68927 in reply to 68925

    Re: Unable to write to folder:~/UploaderTemp

    Hi mbizzaro,
     
    Is your site solution a web site or web application project?
    I will create a test project as same as your site.
     
    Another way, you can send your demo to me, [email protected] 
    I will test and back to you ASAP. 
     
    Regards,
    Jeff 
  •  03-24-2012, 11:16 AM 73556 in reply to 68927

    Re: Unable to write to folder:~/UploaderTemp

    I have the same problem.
    I'm testing the version dotnetgallery before purchase.
    in my development computer works all perfectly, but the gallery, published on the provider  production web server, I have the same problem mbizzaro.
    If you can help me because I have to choose the engine of the gallery for the site I'm remaking www.courtband.com and had found satisfaction in the dotnetgallery 
     thank
    Paolo
     
  •  03-26-2012, 8:53 AM 73561 in reply to 73556

    Re: Unable to write to folder:~/UploaderTemp

    Hi paolosub,
     
    Please check the permission of folder "UploaderTemp" which under the root of your site, ensure that your site has the write/read permission of this folder.
     
    Regards,
     
    Ken 
  •  07-16-2013, 2:58 AM 77730 in reply to 73561

    Re: Unable to write to folder:~/UploaderTemp

    I've testing this ASP.NET image gallery, and I won't came across the above problem, it does not containCOMcomponentstoregister.Andrefer to the image uploader here.
View as RSS news feed in XML