HTTP Error 404 - File or directory not found. When downloading a file.

2 posts, 0 answers
  1. Suresh
    Suresh avatar
    2 posts
    Member since:
    Mar 2008

    Posted 28 Aug 2013 Link to this post

    We have customized the physical location as well as file download behavior by using the sample code files 'CustomFileSystemProvider.cs' and 'FileSystemHandler.ashx'. The implementation works fine on developer machine, but getting 404 error on production server.
    =========================================================================================================
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    --------------------------------------------------------------------------------

    Please try the following:
    •Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    •If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
    •Click the Back button to try another link.

    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)

    --------------------------------------------------------------------------------

    Technical Information (for support personnel)
    •Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    •Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
    =========================================================================================================
    Is that some configuration related to .ashx is missing on the server or what could be the issue.  Please suggest.

    Thanks,

    Suresh.C

  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 02 Sep 2013 Link to this post

    Hello Suresh,

    Most probably the experienced error is due to permission limitations. You can find detailed information on how to test for such in the following FileExplorer's help article: Troubleshooting

    I hope this helps.

    Regards,
    Veselina Raykova
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top