While running an ASP.NET NuGet package installed web application in Visual Studio 2010, the browser may show the “unrecognized configuration section EntityFramework” error in some cases.
Figure 1: Unrecognized Configuration Section EntityFramework
This error occurs since the project needs the EntityFramework package to be installed. By default, Visual Studio 2012 and 2013 ASP.NET projects have the EntityFramework package. But, Visual Studio 2010 does not contain the EntityFramework by default. You can perform the following steps to install the Entity Framework into the project.
Figure 2: Visual Studio Menu
PM> install-package EntityFramework
Figure 3: Package Manager
Now, you can run the application without the EntityFramework configuration error.
Note: Visual Studio needs an active internet connection to install the EntityFramework package.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|