Copied to clipboard

Flag this post as spam?

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


  • Hong 66 posts 228 karma points
    May 14, 2018 @ 01:58
    Hong
    0

    Unable to pass "Configure an ASP.Net Machine Key"

    I unzipped the zip installation file to a folder, then run the site to go through the following steps: 1: enter image description here 2: enter image description here 3: enter image description here

    No matter whether I click "Continue" or "I don't want a custom Machine Key", it will go back to step 1.
    I have tried three times, and started from scratch every time. Could you anyone offer a tip on how to finish the installation?

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    May 14, 2018 @ 08:24
    Dan Diplo
    100

    I'm not sure why you are getting this error, but you could try adding the key manually - maybe once it exists the installer won't ask for it?

    It should go in web.config in the <system.web> node.

    These article should explain how you can manually create one:

    https://blogs.msdn.microsoft.com/amb/2012/07/31/easiest-way-to-generate-machinekey/

    https://stackoverflow.com/questions/3855666/adding-machinekey-to-web-config-on-web-farm-sites

  • Hong 66 posts 228 karma points
    May 14, 2018 @ 12:29
    Hong
    0

    Thank you so much, Dan. Adding the machine key following your instructions worked instantly. Two instances of working Umbraco that were created a while ago do not have machine key in their web.config files. I assume this is relatively new.

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    May 14, 2018 @ 13:08
    Dan Diplo
    1

    Yes, it's relatively new - there's a blog post by Shannon (lead Umbraco architect) explaining a bit more about what it is used for - https://shazwazza.com/post/umbraco-passwords-and-aspnet-machine-keys

  • Hong 66 posts 228 karma points
    May 14, 2018 @ 13:54
    Hong
    0

    Now, I suspect if the problem has to do with shared hosting. I have not tried that type of installation with VPS or a dev machine that I have full control and all privileges. I think the installation process should show some error message when it fails creating the machine key. I like this kind of quick installation with a zip file. I always used VS to install Umbraco before this.

Please Sign in or register to post replies

Write your reply to:

Draft