Articles in this section
Category / Section

How to resolve entity framework configuration error in Web Forms?

1 min read

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

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

Note

A new version of Essential Studio for ASP.NET is available. Versions prior to the release of Essential Studio 2014, Volume 2 will now be referred to as a classic versions.The new ASP.NET suite is powered by Essential Studio for JavaScript providing client-side rendering of HTML 5-JavaScript controls, offering better performance, and better support for touch interactivity. The new version includes all the features of the old version, so migration is easy.

The Classic controls can be used in existing projects; however, if you are starting a new project, we recommend using the latest version of Essential Studio for ASP.NET. Although Syncfusion will continue to support all Classic Versions, we are happy to assist you in migrating to the newest edition.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls. If you have any queries or require clarifications, please let us know in the comments section below.

You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied