Copied to clipboard

Flag this post as spam?

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


  • David 2 posts 23 karma points
    Dec 11, 2013 @ 16:36
    David
    0

    U7 - MVC4 - VS2010 - Could not load type 'Umbraco.Web.UmbracoApplication'.

    Hello,

    I am new to Umbraco. However I have done the following:

    1. Created a new empty MVC 4 project up in VS 2010

    2. Installed Umbraco CMS from Nuget which has pulled down the latest version (7.0.0 currently)

    3. I have been asked to overwrite the web.config by the Nuget installation, which I accepted

    4. I then cleaned, and built the solution once the Nuget packages had been installed

    5. I hit F5

    I get the error:

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load type 'Umbraco.Web.UmbracoApplication'.

    Source Error:

    Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %>
    


    Source File: /global.asax    Line: 1

     

     

    I have tried to Google this but most of the solutions are for version 4 or 6 and none work for me. e.g. creating a global.cs class, changing the inherits line etc.

     

    What have I missed? Or is this just a bug in the installer? Ta!

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Dec 12, 2013 @ 08:02
    Sebastiaan Janssen
    0

    First: Umbraco 7 requires you to use .net 4.5 which is not supported in Visual Studio 2010.

    Second: I see this error in v6 sporadically, but only in VS2013, closing the solution and then starting it again seems to help. You should not create a global.cs and your inherits is fine.

  • David 2 posts 23 karma points
    Dec 12, 2013 @ 10:03
    David
    1

    I see, well maybe it would be helpful then if this document was actually updated with version 7 requirements, instead of me having to guess?

    http://our.umbraco.org/documentation/Installation/system-requirements

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Dec 12, 2013 @ 12:08
    Sebastiaan Janssen
    0

    You're absolutely right. Have done now, thanks for pointing that out!

  • Rob 43 posts 79 karma points
    Dec 15, 2013 @ 18:00
    Rob
    0

    So what versions support vs2010?

    The video on umbraco.tv specifies that it runs on 2010, 2012 & 2013.

    Is it only the 6 builds?

    If it stops somewhere in 6, which build?

  • Rob 43 posts 79 karma points
    Dec 15, 2013 @ 18:08
    Rob
    0

    Sebastiaan, thanks for that link. I guess if you are using 2010 or require medium trust and or your host doesn't have better than .net 4.0 you need to use 6.X.X.X

    • IIS6+ (IIS 7 Preferred)
    • SQL CE, SQL Server 2008 (Express and higher) or MySQL
    • ASP.NET 4 Medium-Trust/Full-Trust (Should work in Medium-Trust environments, but Full-Trust is still preferred)
    • Ability to set file permissions to include create/read/write (or better) for the user that "owns" the Application Pool for your site (NETWORK SERVICE, typically)
Please Sign in or register to post replies

Write your reply to:

Draft