Search code examples
http-redirectiis-6dotnetnuke

DNN doesn't redirect to Default.aspx


I have a DNN site (5.06) that I developed on a standalone machine running IIS7. When I copied the site to the production machine running IIS6 and enter the URL, such as www.site.com, I get a generic DNN error page with no additional information. However, if I add the default page, www.site.com/Default.aspx everything works fine.

The Friendly URL settings were never changed and I've verified Default.aspx is entered on the Documents tab in IIS6. The portal event viewer has no entry for the error page I get.

I'm nearly certain it has to do with migrating from IIS7 to II6; clearly I'm missing something here. Any ideas?


Solution

  • DNN has confirmed this is an error in 5.06, and will be addressed in a future update. That doesn't help me today, but I was able to work around the problem by adding the following to the Friendly URLs list:

    Look for: .*/
    Send To:  ~/Default.aspx
    

    I can't find the forum thread I was reading yesterday, but did find this one which also goes into detail on the issue: Error upgrading from 5.5.1 to 5.6.0