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. (Last updated on: November 16, 2018).
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 |
Published Date: January 7, 2015 |
Last Revised Date: January 7, 2015
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.

F:\Extension\EXT-653\Configuration Error.PNG

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.

F:\Extension\EXT-653\Select Console.png

Figure 2: Visual Studio Menu

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

PM> install-package EntityFramework


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.

Note: 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.

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