I am trying to install a clean Umbraco installation from NuGet in Visual Studio 2012, but when I am trying to run the code I get this error
Object reference not set to an instance of an object.
[NullReferenceException: Object reference not set to an instance of an object.]
Umbraco.Web.UmbracoModule.BeginRequest(HttpContextBase httpContext) +16
Umbraco.Web.UmbracoModule.<Init>b__8(Object sender, EventArgs e) +253
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Steps on how I do
- New Project
- ASP.NET MVC 4 Web Application
- Empty [Solution template]
- Open Package Manager Console
- Install nuget; PM> Install-Package UmbracoCms
- Build Solution
- Getting my error
Note: I am installing version 7.1.1 and using Visual Studio 2012 Professional