Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 7th, 2010, 11:39 PM
Registered User
 
Join Date: Sep 2004
Location: , , .
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

Thanks,
Oded Dror
  #2 (permalink)  
Old September 8th, 2010, 02:49 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
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!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.