Copied to clipboard

Flag this post as spam?

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


  • Jeffrey 10 posts 30 karma points
    Oct 24, 2013 @ 17:44
    Jeffrey
    0

    Instruction on installing Umbraco on hosting server

    First of all, I am new to Umbraco, so please forgive my ignorance.

    I am trying to install Umbraco 6.1.6 on my Windows hosting server running .NET 4.0, but keep getting this error:

    Operation could destabilize the runtime

     

    The current installation documentaion is about installing Umbraco on your local server, but what if I want to install Umbraco directly on my Windows hosting server? I searched the forum but could not find a good instruction on how to do it. Do I need to install Umbraco on mjy local server then migrate it to my hosting server.

    Can someone help me?

    Thanks,

  • Amir Khan 1287 posts 2744 karma points
    Oct 24, 2013 @ 18:39
    Amir Khan
    0

    Hi Jeffrey,

    That's an odd error, can you elaborate a bit on your hosting environment and the steps you've gone through so far?

    Thanks,
    Amir

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Oct 24, 2013 @ 18:42
    Dennis Aaen
    0

    Hi Jeffery and welcome to our :-),

    Have I searched the forum for similar issues,  to try to find some help for you. And I can see from the post I have found that you can get this error if you run your Umbraco installation in a webhotel with medium trust.

    Back in the days Umbraco needs full trust to run. I have read that with the version 6 you should be able to run Umbraco in medium trust.

    If you run on a webhotel with medium trust, you could try to add this to your webconfig file, and se if it goes better. So open the web.config search after system.web. When you have find this system.web section, the you could try to add the  <trustlevel="Medium"originUrl=".*"/>

    And then add the machineKey when you have generate it from the link under need.

    <system.web><trustlevel="Medium"originUrl=".*"/><machineKeyvalidationKey="yourKey"decryptionKey="yourKey"validation="SHA1"decryption="AES"/> .... </system.web>

    You can generate a validationKey and decryptionKey here: http://aspnetresources.com/tools/machineKey

    I hope this will help you to get Umbraco up and running on your Windows hosting server.

    /Dennis

  • Jeffrey 10 posts 30 karma points
    Oct 24, 2013 @ 19:19
    Jeffrey
    0

    Thank you for your replies.

    My hosting provider is HostGator and they only allow Medium Trust.

    Before I post the question, I tried to change web.config as follows:

    <trustlevel="Medium"originUrl=".*"/>

    But it didn't help.

    Dennis, I can't add <trust> tag in web.config (the web.config file in 6.1.6 doesn't have <trust> tag) because my hosting company does not allow it. It threw me an error if I did. Also, adding machineKey didn't help either.

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Oct 24, 2013 @ 19:34
    Dennis Aaen
    0

    Hi Jeffrey,

    I can see the editor have do some mess to my code that I have posted.

    Did you have written it like this;

    <system.web>
        <trust level="Medium" originUrl=".*" />
        <machineKey validationKey="yourKey" decryptionKey="yourKey" validation="SHA1" decryption="AES" />
        ....
    </system.web>

    Just to be sure after the mess with the editor :-),

    /Dennis

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Oct 24, 2013 @ 19:52
    Dennis Aaen
    0

    Hi again Jeffery,

    I  have found some documentation for running Umbraco in medium trust that I think that you should take a look on.

    This documentation is for Umbraco 4,5+. I think you could try the instructions for 4.7, and see if it´s solve you issue. Even though you have an Umbraco 6.1.6 installation

    http://our.umbraco.org/wiki/install-and-setup/medium-trust-with-umbraco-45plus

    /Dennis

  • Jeffrey 10 posts 30 karma points
    Oct 24, 2013 @ 21:36
    Jeffrey
    0

    Hi Dennis,

    Yes, I put those code in the right place and in the right way. Since HostGator disallows modification of the trust level, if I add <trust> section, it throws an error indicating that modification is not allowed.

    I have read the documentation, by default, 6.1.6 already have requirePermission="false" in clicentDependency section.

    Thanks again,

  • Jeffrey 10 posts 30 karma points
    Oct 24, 2013 @ 21:45
    Jeffrey
    0

    One more thing to confirm, when I download Umbraco, there are four zip files, do I need to download all of them? I only downloaded UmbracoCMS.6.1.6.zip file, because it says: "This is the main Umbraco download, generally you won't need anything else."

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Oct 24, 2013 @ 22:20
    Dennis Aaen
    0

    Okay Jeffrey,

    I was just thinking could it be a workaround  to setup a empty Umbraco 6.1.6 installation on you localhos machine. And since you can modify the web config on the server, then do it on you´re local installation. After you have done the modification to the web config then you to push the site up on your webhosting.

    If you need a guide how to setup an Umbraco installation on localhost, this could be a good guide, Even though it to an older version of Umbraco.Even it´s for an older version of Umbraco.

    http://www.franklinogsimonsen.dk/media/856/install_umbraco_4_on_windows_vista.pdf

    I know this is a little cumbersome workaround. Just my thoughts about how you might be able to install Umbraco on HostGator. Alternatively can you try to get in touch with their support, maybe they can guide you have to install Umbraco on your webhotel.

    /Dennis

  • Jeffrey 10 posts 30 karma points
    Oct 25, 2013 @ 15:57
    Jeffrey
    0

    Thank you Dennis. I am contacting HostGator regarding this issue and will let you know the result.

  • Jeffrey 10 posts 30 karma points
    Oct 25, 2013 @ 17:19
    Jeffrey
    0

    Well, HostGator says they cannot change to Medium Trust for my domain, and they think it is an Umbraco issue and asks me to contact Umbraco to see if there is some setting in Umbraco for the Medium Trust environment that I missed.

    Sigh....

  • Jeffrey 10 posts 30 karma points
    Oct 25, 2013 @ 17:20
    Jeffrey
    0

    Well, HostGator says they cannot change to Medium Trust for my domain, and they think it is an Umbraco issue and asks me to contact Umbraco to see if there is some setting in Umbraco for the Medium Trust environment that I missed.

    Sigh....

  • Jeffrey 10 posts 30 karma points
    Nov 14, 2013 @ 20:46
    Jeffrey
    0

    I gave up on HostGator because they refused to change my site to Full Trust. Now I switched to a different hosting company who supports Full Trust, now I have Umbraco installed.

  • Amir Khan 1287 posts 2744 karma points
    Nov 14, 2013 @ 20:54
    Amir Khan
    0

    Jeffrey, who'd you end up using for hosting?

  • John Palmer 76 posts 201 karma points
    Nov 25, 2013 @ 07:06
    John Palmer
    0

    Umbraco requires full trust permission. If you dont run it on full trust permission, it wont work.

  • sampahbau 7 posts 27 karma points
    Nov 27, 2013 @ 00:06
    sampahbau
    0

    I have Umbraco 6.1.6 works on GoDaddy Shared hosting, I just enable read & write to all files even root, and this is my web.config files:

     

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <configSections>
        <section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter" />
        <section name="microsoft.scripting" type="Microsoft.Scripting.Hosting.Configuration.Section, Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />
        <section name="clientDependency" type="ClientDependency.Core.Config.ClientDependencySection, ClientDependency.Core" requirePermission="false" />
        <section name="Examine" type="Examine.Config.ExamineSettings, Examine" requirePermission="false" />
        <section name="ExamineLuceneIndexSets" type="Examine.LuceneEngine.Config.IndexSets, Examine" requirePermission="false" />
        <section name="FileSystemProviders" type="Umbraco.Core.Configuration.FileSystemProvidersSection, Umbraco.Core" requirePermission="false" />
        <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false" />
        <section name="BaseRestExtensions" type="Umbraco.Web.BaseRest.Configuration.BaseRestSection, umbraco" requirePermission="false" />

        <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
          <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
        </sectionGroup>

      </configSections>

      <urlrewritingnet configSource="config\UrlRewriting.config" />
      <microsoft.scripting configSource="config\scripting.config" />
      <clientDependency configSource="config\ClientDependency.config" />
      <Examine configSource="config\ExamineSettings.config" />
      <ExamineLuceneIndexSets configSource="config\ExamineIndex.config" />
      <FileSystemProviders configSource="config\FileSystemProviders.config" />
      <log4net configSource="config\log4net.config" />
      <BaseRestExtensions configSource="config\BaseRestExtensions.config" />

      <appSettings>
       
        <add key="umbracoConfigurationStatus" value="6.1.6" />
        <add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd" />
        <add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
        <add key="umbracoContentXML" value="~/App_Data/umbraco.config" />
        <add key="umbracoStorageDirectory" value="~/App_Data" />
        <add key="umbracoPath" value="~/umbraco" />
        <add key="umbracoEnableStat" value="false" />
        <add key="umbracoHideTopLevelNodeFromPath" value="true" />
        <add key="umbracoEditXhtmlMode" value="true" />
        <add key="umbracoUseDirectoryUrls" value="false" />
        <add key="umbracoDebugMode" value="false" />
        <add key="umbracoTimeOutInMinutes" value="20" />
        <add key="umbracoVersionCheckPeriod" value="7" />
        <add key="umbracoDisableXsltExtensions" value="true" />
        <add key="umbracoDefaultUILanguage" value="en" />
        <add key="umbracoProfileUrl" value="profiler" />
        <add key="umbracoUseSSL" value="false" />
        <add key="umbracoUseMediumTrust" value="true" />

        <!-- Set this to true to enable storing the xml cache locally to the IIS server even if the app files are stored centrally on a SAN/NAS Alex Norcliffe 2010 02 for 4.1  -->
        <add key="umbracoContentXMLUseLocalTemp" value="false" />

        <add key="webpages:Enabled" value="false" />
        <add key="enableSimpleMembership" value="false" />
        <add key="autoFormsAuthentication" value="false" />

        <add key="log4net.Config" value="config\log4net.config" />
      </appSettings>

      <system.data>
        <DbProviderFactories>
          <remove invariant="System.Data.SqlServerCe.4.0" />
          <add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
          <remove invariant="MySql.Data.MySqlClient" />
          <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
        </DbProviderFactories>
      </system.data>

      <system.net>
        <mailSettings>
          <smtp>
            <network host="127.0.0.1" userName="username" password="password" />
          </smtp>
        </mailSettings>
      </system.net>

      <connectionStrings>
        <remove name="umbracoDbDSN" />
        <add name="umbracoDbDSN" connectionString="server=123456;database=123456;user id=123456;password=123456" providerName="System.Data.SqlClient" />
        <!-- Important: If you're upgrading Umbraco, do not clear the connection string / provider name during your web.config merge. -->
      </connectionStrings>

      <system.web>
        <!--<trust level="Medium" originUrl=".*" />-->
        <trust level="Full" />
        <!--<customErrors mode="RemoteOnly" />-->
        <customErrors mode="Off" />
        <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
        <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
        <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />
        <xhtmlConformance mode="Strict" />

        <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" />

        <pages enableEventValidation="false">
          <!-- ASPNETAJAX -->
          <controls>
            <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add tagPrefix="umbraco" namespace="umbraco.presentation.templateControls" assembly="umbraco" />
            <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          </controls>
        </pages>
        <httpModules>
          <!-- URL REWRTIER -->
          <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
          <!-- UMBRACO -->
          <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />
          <!-- ASPNETAJAX -->
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <!-- CLIENT DEPENDENCY -->
          <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
        </httpModules>
        <httpHandlers>
          <remove verb="*" path="*.asmx" />
          <!-- ASPNETAJAX -->
          <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
          <add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
          <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
          <!-- UMBRACO CHANNELS -->
          <add verb="*" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
          <add verb="*" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
          <!-- CLIENT DEPENDENCY -->
          <add verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
          <!-- SPELL CHECKER -->
          <add verb="GET,HEAD,POST" path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
        </httpHandlers>

        <compilation defaultLanguage="c#" debug="false" batch="false" targetFramework="4.0">
          <assemblies>
            <!-- ASP.NET 4.0 Assemblies -->
            <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
            <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          </assemblies>

          <buildProviders>
            <add extension=".cshtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
            <add extension=".vbhtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
            <add extension=".razor" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
          </buildProviders>
        </compilation>

        <authentication mode="Forms">
          <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
        </authentication>
        <authorization>
          <allow users="?" />
        </authorization>
        <!-- Membership Provider -->
        <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
          <providers>
            <clear />
            <add enablePasswordRetrieval="false" enablePasswordReset="true"
              requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type"
              passwordFormat="Hashed" name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" />
            <add enablePasswordRetrieval="false" enablePasswordReset="false"
              requiresQuestionAndAnswer="false" passwordFormat="Hashed" name="UsersMembershipProvider"
              type="umbraco.providers.UsersMembershipProvider" />
          </providers>
        </membership>
        <!-- added by NH to support membership providers in access layer -->
        <roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
          <providers>
            <clear />
            <add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" />
          </providers>
        </roleManager>
      </system.web>

      <!-- ASPNETAJAX -->
      <system.web.extensions>
        <scripting>
          <scriptResourceHandler enableCompression="true" enableCaching="true" />
        </scripting>
      </system.web.extensions>

      <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
          <remove name="UrlRewriteModule" />
          <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />

          <remove name="UmbracoModule" />
          <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />

          <remove name="ScriptModule" />
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

          <remove name="ClientDependencyModule" />
          <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />

          <!-- Needed for login/membership to work on homepage (as per http://stackoverflow.com/questions/218057/httpcontext-current-session-is-null-when-routing-requests) -->
          <remove name="FormsAuthentication" />
          <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
        </modules>

        <handlers accessPolicy="Read, Write, Script, Execute">
          <remove name="WebServiceHandlerFactory-Integrated" />
          <remove name="ScriptHandlerFactory" />
          <remove name="ScriptHandlerFactoryAppServices" />
          <remove name="ScriptResource" />
          <remove name="Channels" />
          <remove name="Channels_Word" />
          <remove name="ClientDependency" />
          <remove name="SpellChecker" />

          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add verb="*" name="Channels" preCondition="integratedMode" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
          <add verb="*" name="Channels_Word" preCondition="integratedMode" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
          <add verb="*" name="ClientDependency" preCondition="integratedMode" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
          <add verb="GET,HEAD,POST" preCondition="integratedMode" name="SpellChecker" path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
        </handlers>

        <!-- Adobe AIR mime type -->
        <staticContent>
          <remove fileExtension=".air" />
          <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
        </staticContent>

        <!-- Ensure the powered by header is not returned -->
        <httpProtocol>
          <customHeaders>
            <remove name="X-Powered-By" />
          </customHeaders>
        </httpProtocol>
       
      </system.webServer>

      <system.codedom>
        <compilers>
          <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
            <providerOption name="CompilerVersion" value="v4.0" />
            <providerOption name="WarnAsError" value="false" />
          </compiler>
        </compilers>
      </system.codedom>

      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

          <!-- Old asp.net ajax assembly bindings -->
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
          </dependentAssembly>

          <!-- Ensure correct version of MVC -->
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
          </dependentAssembly>
         
          <!-- Ensure correct version of HtmlAgilityPack -->
          <dependentAssembly>
            <assemblyIdentity name="HtmlAgilityPack" publicKeyToken="bd319b19eaf3b43a" culture="neutral" />
            <bindingRedirect oldVersion="1.4.5.0-1.4.6.0" newVersion="1.4.6.0" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>

      <system.web.webPages.razor>
        <host factoryType="umbraco.MacroEngines.RazorUmbracoFactory, umbraco.MacroEngines" />
        <pages pageBaseType="umbraco.MacroEngines.DynamicNodeContext">
          <namespaces>
            <add namespace="Microsoft.Web.Helpers" />
            <add namespace="umbraco" />
            <add namespace="Examine" />
          </namespaces>
        </pages>
      </system.web.webPages.razor>

    </configuration>


Please Sign in or register to post replies

Write your reply to:

Draft