Copied to clipboard

Flag this post as spam?

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


  • Steve Brown 125 posts 290 karma points
    Apr 17, 2014 @ 20:43
    Steve Brown
    0

    config file issue with 6.16

    I just tried installing the https redirect module on an installation of 6.16 and ran into a bit of a problem. After the install, I selected the option to add https redirect to the dashboard. Then, my whole site (front end and back office) crashed with a 500.22 error. I switched my application pool from integrated to "classic" mode which brought everything back. However, after I uninstalled, I still cannot switch back to integrated mode. If I switch it, I still get the 500.22 error, so I suspect there may be something added to a config file somewhere that isn't compatible with integrated mode, that was not removed during the uninstall. Any ideas where I should look?

  • Jan Skovgaard 11258 posts 23499 karma points MVP 7x admin c-trib
    Apr 17, 2014 @ 20:47
    Jan Skovgaard
    0

    Hi Steve

    That's really odd - I know that there is a key added in the web.config file - But can't remember if anything else is added though. Does it help to remove the key?

    /Jan

  • Steve Brown 125 posts 290 karma points
    Apr 17, 2014 @ 20:51
    Steve Brown
    0

    In web.config? do you happen to know what the key is called? I will try removing it if I can identify which key it is

  • Jan Skovgaard 11258 posts 23499 karma points MVP 7x admin c-trib
    Apr 17, 2014 @ 20:53
    Jan Skovgaard
    0

    Yes, there should be an

    Hope this helps.

    /Jan

  • Steve Brown 125 posts 290 karma points
    Apr 17, 2014 @ 21:10
    Steve Brown
    0

    the only key I saw that I thought might be related was this one: <add key="umbracoUseSSL" value="false" />

    I tried removing it and still had the same issue.

  • Jan Skovgaard 11258 posts 23499 karma points MVP 7x admin c-trib
    Apr 17, 2014 @ 21:19
    Jan Skovgaard
    1

    Hi Steve

    Hmm ok, that key should not be removed since it's an Umbraco key.

    The key I'm thinking about has probably been removed by the uninstall then.

    Don't know if you could try doing some of the suggested here http://stackoverflow.com/questions/7370513/http-error-500-22-internal-server-error-an-asp-net-setting-has-been-detected ?

    /Jan

  • Steve Brown 125 posts 290 karma points
    Apr 17, 2014 @ 21:27
    Steve Brown
    0

    ok, I had already put that umbraco key back in.

    That article is what I referred to when I changed to classic pipeline mode. Based on the article, it appears to be an issue with the config file. However, other than installing and uninstalling this module, I have not modified any config files in any other way.

  • Steve Brown 125 posts 290 karma points
    Apr 17, 2014 @ 22:00
    Steve Brown
    0

    I followed the link in there to this page - http://www.iis.net/learn/application-frameworks/building-and-running-aspnet-applications/aspnet-20-breaking-changes-on-iis - and ended up running "appcmd migrate config", and I was able to put the app pool back into integrated mode. No idea what happened to the config file. Oh well!

Please Sign in or register to post replies

Write your reply to:

Draft