Copied to clipboard

Flag this post as spam?

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


  • Martin Valen 1 post 71 karma points
    Aug 12, 2016 @ 11:38
    Martin Valen
    0

    Changes to web.config not added to live

    We recently got a crash on one of our live sites and got the usual "set customErrors mode:"Off" to view". Since restoring from the live environment and running the same codebase didn't give us any similar crashes locally, we pushed a change to the web.config to the live environment. Unfortunately though, this didn't update the web.config at all...

    Is this how it's supposed to work?

    We managed to manually update the web.config by visiting the clone-url minus the gibberish in the end and editing the file from there, but this felt awfully hacky.

    Are there any better ways of handling this, or is it a bug that the web.config didn't get updated when we pushed its changes to the live environment?

    Martin

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Aug 12, 2016 @ 13:05
    Niels Hartvig
    2

    Hi Martin!

    For security reasons we ensure that a live site can't run in debug mode by accident.

    Instead we offer an easy way to do it from the Umbraco as a Service portal where you can active debug mode with a click: enter image description here

    Hope this helps, Niels...

Please Sign in or register to post replies

Write your reply to:

Draft