Unable to Upload File

Last post 02-01-2006, 6:30 PM by hewittf. 3 replies.
Sort Posts: Previous Next
  •  01-27-2006, 5:29 PM 15201

    Unable to Upload File

    I'm attempting to upload an image (...or pdf...or flash movie...) and continue to get a javascript alert saying "Unable to Upload File".  I've granted ASPNET full control to the upload directory with no luck.  Anyone have any ideas?
     
    I've also granted full control to the Anonymous user (IUSR_...) and Everyone.  Still no luck.  Please help.
     
    Frank Hewitt
  •  01-27-2006, 5:38 PM 15202 in reply to 15201

    Re: Unable to Upload File

    Frank,
     
    It looks like it's still a permission issue.

    How did you set the ImageGalleryPath, MediaGalleryPath, FlashGalleryPath and TemplateGalleryPath?

     <security name="ImageGalleryPath">~/uploads</security>
     <security name="MediaGalleryPath">~/uploads</security>
     <security name="FlashGalleryPath">~/uploads</security>
     <security name="TemplateGalleryPath">~/templates</security>
     
    Can you double check the above settting and make sure you set permission to the right directory?
     
    Keep me posted
     
     

    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

  •  02-01-2006, 5:15 PM 15459 in reply to 15202

    Re: Unable to Upload File

    Here's the deal...

    When I try to upload to:

    C:\Inetpub\wwwroot\RVLMS20\LMS20\LaunchPad\Courses\RedVector\Legacy\HTML\courses\5182adda619f476a8a59a1c93f06136f

     it doesn't work!
     
    When I try to upload to:

    C:\Inetpub\wwwroot\RVLMS20\LMS20\LaunchPad\Courses\RedVector\Legacy\HTML\courses\test

     it works!

    Both directories have the same permissions!

    Any ideas?
     
  •  02-01-2006, 6:30 PM 15460 in reply to 15459

    Re: Unable to Upload File

    Another bit of helpful informaton (maybe)...

    The directory...

    C:\Inetpub\wwwroot\RVLMS20\LMS20\LaunchPad\Courses\RedVector\Legacy\HTML\courses\5182adda619f476a8a59a1c93f06136f
     
    is created at runtime in ASP.NET code using:
    System.IO.Directory.CreateDirectory(FileDir);
     
    Thanks.
View as RSS news feed in XML