Copied to clipboard

Flag this post as spam?

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


  • Mangirish Wagle 34 posts 106 karma points
    Mar 13, 2019 @ 11:42
    Mangirish Wagle
    0

    Server Error after installing Umbraco 8.0.0

    Hello All,

    I tried to install Umbraco 8.0.0 on local machine using Package Manager Console on Visual Studio 2015 and .NET Framework 4.6.1. I ran the project after build, and after that, I encountered this error.

    Server Error in '/' Application

    Please help, ASAP.

  • Kevin Jump 2348 posts 14896 karma points MVP 8x c-trib
    Mar 13, 2019 @ 11:54
    Kevin Jump
    2

    Hi

    Umbraco 8 requires Visual Studio 2017 (v 15.9.6 or later) and .net 4.7.2

    https://our.umbraco.com/documentation/Getting-Started/Setup/Requirements/#local-development

    I think the errors you are seeing relate to that.

    Kevin

  • Mangirish Wagle 34 posts 106 karma points
    Mar 13, 2019 @ 12:06
    Mangirish Wagle
    0

    Thanks a lot, Kevin. Sad to know that, it's incompatible with Visual Studio 2015 and .NET 4.6.1.

  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    Mar 13, 2019 @ 16:08
    Søren Gregersen
    0

    It would be even sadder if it was IMHO :-)

    Vs2017 is being replaced by vs2019 next month, .Net Framework 4.8 will (most likely) be the last version of the .Net framework before it’s just .Net Core.

    I welcome this move alot :-)

  • Bahadur 7 posts 78 karma points
    Oct 23, 2019 @ 20:34
    Bahadur
    0

    Just wanna add that you if you're facing this error even after getting all the version compatibility right, do this:

    Step 1 : Go into the web.config and look for this section:

    <system.codedom>
    <compilers>
        <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
        <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
    </compilers>
    

    Step 2 : Go into the packages.config and look for this line:

    <package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="2.0.1" targetFramework="net452" />
    

    Step 3 : Update the version number in the web.config file to match the version in the line of the packages.config file.

    <system.codedom>
    <compilers>
        <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
        <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
    </compilers>
    

    That should fix it. Failing the above you could just run this command in the Package Manager Console:

    Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r
    

    For additional information on V8 dependencies:

    https://www.nuget.org/packages/UmbracoCms/8.0.0

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies