Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning 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 August 5th, 2010, 03:06 PM
Registered User
 
Join Date: Dec 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Web.config Error

When finishing the Try it outs of Chapter 14, everything went well.
Then I wanted to have my code "like in the book" and I copied the chapter 14 sources into my directory.
Since then, I have an error:
Error 1 Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBu ildProvider'. C:\wrox\BegAspNet\Site\web.config 22

Any advise is welcome.

Thanks
 
Old August 5th, 2010, 04:46 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Are you using a recent version of the download? A few weeks ago I submitted a new version of the code that fixes similar issues.

Cheers,

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!
The Following User Says Thank You to Imar For This Useful Post:
[email protected] (August 6th, 2010)
 
Old August 6th, 2010, 03:07 AM
Registered User
 
Join Date: Dec 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default solved

Thanks for this prompt reply. The code is indeed older, so I will certainly download this.
I found a work around by removing the lines from the web.config and adding a new (dummy) EF. Then it worked and I could remove the newly created EF.
 
Old August 6th, 2010, 03:12 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yes, that's how I fixed it as well. There were changes in what EF writes to the web.config file when you add a model after I submitted the code to Wrox, so the downloadable code was incorrect. That should be fixed now.

Cheers,

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Web.config.. ashokparchuri General .NET 10 April 30th, 2011 05:14 AM
Fix for Web.config Error in ...\Chapter01\LINQforBinding Web Sites rogerj BOOK: Professional ADO.NET 3.5 with LINQ and the Entity Framework ISBN: 978-0-470-22988-0 0 February 18th, 2009 01:59 PM
web.config error koco ASP.NET 2.0 Basics 1 February 16th, 2007 12:04 PM
error at web.config aynajus BOOK: ASP.NET Website Programming Problem-Design-Solution 2 August 16th, 2006 03:24 AM
Web.config error ashokparchuri General .NET 4 June 28th, 2005 04:51 AM





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