We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve Entity Framework configuration error in ASP.NET NuGet installed web application?

Platform: Miscellaneous |
Control: Extension
Tags: general

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.

Runtime error occurred while run ASP.NET NuGet package installed web application in VS2010

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.

  1. Click Tools->NuGet Package Manager->Package Manager Console from Visual Studio’s Menu. To open Package Manager Console by Visual Studio Menu.

Figure 2: Visual Studio Menu

  1. It opens the Package Manager console. Enter the following command in the console window.

    PM> install-package EntityFramework

Install Package by Package Manager Console command

 Figure 3: Package Manager

  1. This command downloads and installs EntityFramework package into the project. You need to wait till the installation is finished. Now, you can run the application without the EntityFramework configuration error.

    Visual Studio needs an active internet connection to install the EntityFramework package.


You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile