21
  1. Created an ASP.NET empty web application in Visual Studio
  2. Installed Umbraco 7.1.5 via NuGet Package Manager
  3. When asked to overwrite the web.config file, typed Y(Yes)
  4. Built the project
  5. F5

When I run the project I get the following error in Chrome:

Could not load type Umbraco.Web.UmbracoApplication

How can I solve this problem and get to the installation page?

alex
  • 1,226
  • 1
  • 28
  • 57

2 Answers2

48

I also encountered same problem few days ago..i solved that...Just change the name of MVC project from 'Umbraco' to something else and then it will work fine..

Kartikeya Khosla
  • 18,039
  • 8
  • 39
  • 64
  • 1
    Thank you for this answer - I didn't even think about that! – jdraper3 Feb 19 '15 at 11:25
  • @Kartikeya the name of my Umbraco website is not "Umbraco" - so how can i fix my issue? And how do you change the name of the MVC Project? – MJCoder Nov 05 '15 at 10:37
  • 1
    This answer (and the question) still applies - for Umbraco 7.7.2. – Mattias Örtenblad Oct 05 '17 at 06:50
  • Still works today on v7.7.2 Visual Studio 2017 Community with ReSharper Ultimate. Rather than renaming project i just created a new one as I was following this guide https://our.umbraco.org/documentation/getting-started/setup/install/install-umbraco-with-nuget and installing from nuget. – Developer1010 Oct 13 '17 at 08:52
1

The solution, when I encountered it after installing Umbraco 7.2.12 into an existing but empty project, was to change the assembly name and default namespace from "Umbraco" to the name of the (startup-)project eg. "Website".

In Visual Studio 2017 (applies to many other versions of VS), you can do it like this:

  1. Select your project
  2. Select Properties
  3. Select tab Application
  4. Change Assembly name and Default namespace
  5. Save ... and wait
  6. Run
Techek
  • 455
  • 5
  • 13