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!
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.
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)
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!
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.
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
You're absolutely right. Have done now, thanks for pointing that out!
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?
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
is working on a reply...