Wrox Programmer Forums
BOOK: Professional ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 4 in C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470502204
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 7th, 2010, 11:39 PM
Registered User
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Chapter 7 error message

Hi there,
I'm using VWD 2010 IIS 7.0 on Vista x64 Business edition and SQL Server 2008 Dev.

When I browse through chapter 7 I'm getting error that says:

Server Error in '/Chapter 07' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBu ildProvider'.

Source Error:

Line 21: </codeSubDirectories>Line 22: <buildProviders>Line 23: <add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesig nerBuildProvider" />Line 24: </buildProviders>Line 25: </compilation>
Source File: C:\inetpub\wwwroot\Chapter 07\web.config Line: 23

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

How do I solve this issue

Oded Dror
Old September 8th, 2010, 02:49 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Looks like a configuration error to me, where the config file contains older information. Try this:

1. Remove the offending elements from the config file

2. Remove the references to the Entity Framework assemblies from the config file

3. Add a new Entity Model to your project and complete the wizard

At this stage, VS has updated the config file with the necessary information. You can now remove your new model and work wth the existing one.

Hope this helps,

Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 4-Error message rickymartini76@yahoo.it BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 13 January 14th, 2010 06:16 PM
Chapter 7 Error message carlfoster BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 1 January 31st, 2007 02:07 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.