Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • kentiler 76 posts 69 karma points
    Jun 21, 2012 @ 06:39
    kentiler
    0

    404 Error without .aspx! Please help!

    Hi,

    We have 2 sites that have recently stopped working for sub pages.  The home page still works. 

    When looking at the properties page, the URL shows the .aspx.  If we click on that, it works.  However, navigating to the page via the site shows just the directory path.

    The web.config has the umbracoUseDirectoryURLs set to true:

     

     

    <add key="umbracoUseDirectoryUrls" value="true" />

     

    The URL of the site is http://www.fbcs-elyria.org

    If you click on enrollment, you'll get the 404 when it goes to:
    |http://fbcs-elyria.org/enrollment/

    However, if you go to:
    http://fbcs-elyria.org/enrollment.aspx

    it works fine.

    This is on umbraco v 4.6.1 running on Windows 2003 Server and IIS 6.

    Any help would be appreciated!

    Thank you!

    --Kent

     

     

     

     I've gone through the posts, and tried many things, but can't seem to get this fixed!

  • Paul Blair 466 posts 731 karma points
    Jun 21, 2012 @ 07:16
    Paul Blair
    0

    has the umbracoUseDirectoryUrls settings changed recently. If so try republishing the whole site.

    If that doesn't work then I would suggest setting it to false & republish the site until the matter is resolved

    The error you are getting (No input file specified.) is strange and is not one I have seen before. Is it a custom error? Maybe try turning custom errors off to also help with the debugging

  • Paul Blair 466 posts 731 karma points
    Jun 21, 2012 @ 07:21
    Paul Blair
    0

    Another thing I just thought about - could directory browsing in IIS be causing an issue. All my directory URL sites are based on IIS7 so I don't know how to help you check this but I suspect IIS6 is trying to serve up a directory listing for /enrollment before it is passed to Umbraco

  • Rodion Novoselov 694 posts 859 karma points
    Jun 21, 2012 @ 08:32
    Rodion Novoselov
    0

    Hi. It's because you use IIS 6 that works exactly like the "classic mode" of IIS 7 and higher. You just need to map extensionless URLs to the ASP.NET ISAPI dll in the IIS settings. For instance google the internet for "MVC on IIS6" for the exact setup procedure (for Umbraco it will be the very same).

  • kentiler 76 posts 69 karma points
    Jun 21, 2012 @ 14:11
    kentiler
    0

    Thanks for your replies.  Paul - directory browsing isn't turned on.  We haven't defined any custom errors, either - these are the defaults from IIS6.

    Rodion, I found this link:
    http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx

    I already had updated the Wildcard application maps section with the aspnet_isapi.dll path.

    Changing the global.asax.cs file shouldn't apply since I'm not deploying a custom application.

    The thing the is driving me crazy is that these sites have been running for a year without issues, and they just stopped!  We're trying to see if a .Net patch was applied, or IIS patch that could have broken things.

    Any other ideas would be appreciated!

    Thank you!

    --Kent

  • Rodion Novoselov 694 posts 859 karma points
    Jun 21, 2012 @ 14:16
    Rodion Novoselov
    0

    I would also try to turn the trailing slash off (in ~/config/umbracoSettings.config) at least for a while - to investigate how it could affect the behaviour.

  • kentiler 76 posts 69 karma points
    Jun 21, 2012 @ 17:00
    kentiler
    0

    That didn't help.  Any other ideas?  Getting lots of push from the clients.

    Thanks!

    --Kent

  • Rodion Novoselov 694 posts 859 karma points
    Jun 21, 2012 @ 21:03
    Rodion Novoselov
    0

    I have tried the URLs - there's definitely something wrong with the mapping settings since it's IIS' own 404 page - not the Umbraco's one. Do you have the "check the file exists" (or somethiing like that - neither remember I how it's called exactly nor I have IIS6 right on hand) option turned off in your wildcard mapping settings along with mapping * to aspnet_isapi.dll?

  • kentiler 76 posts 69 karma points
    Jun 21, 2012 @ 21:52
    kentiler
    0

    Another admin had put http://www.helicontech.com/isapi_rewrite/ on the server, and it seems to have been affecting all the sites on the server.

    We disabled the software and it started working properly.

    Thanks to everyone for your help!

    --Kent

Please Sign in or register to post replies

Write your reply to:

Draft