Copied to clipboard

Flag this post as spam?

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


  • Tys van den Heuvel 3 posts 23 karma points
    Oct 10, 2013 @ 01:11
    Tys van den Heuvel
    0

    Run Umbraco 6.x in Medium Trust / Shared hosting environment

    I have a Umbraco 6.1.5 project, and i want to deploy it to a shared hosting environment. I read that Umbraco 6 can run in Medium Trust, but i cant find much more info than just that one sentence.

    And, in the web.config i found this setting: umbracoUseMediumTrust which i can set to "true". But, after doing so, i get the following error:

    Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

    Is there anyone who knows how to run Umbraco in such a Shared Hosting environment?

  • Lars-Erik Aabech 350 posts 1102 karma points MVP 8x c-trib
    Oct 28, 2013 @ 13:30
    Lars-Erik Aabech
    0

    I'm sorry I don't have a valid answer to your question.
    I just wanted to tell you that Microsoft has said that medium trust is about to be removed. ASP.NET will only run in full trust in a relatively close future. Maybe you should discuss running full trust with your hosting provider?
    Ask them to read this: http://support.microsoft.com/kb/2698981

    L-E

  • Khai 71 posts 161 karma points
    Jan 23, 2014 @ 13:34
    Khai
    0

    This is an exception which has nothing to do with medium trust, you need to generate a machinekey and put in the web.config ( generate key here : http://aspnetresources.com/tools/machineKey )

Please Sign in or register to post replies

Write your reply to:

Draft