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 June 28th, 2010, 03:07 PM
Registered User
 
Join Date: Jun 2010
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default edmx

Hi Imar:

I am trying to view the chapter 19 example code in VS 2010 and I get the following error:

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

pointing to the following web.config code:

[code]Line 50: <add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesig nerBuildProvider"/[code]

Am I missing something simple?

Thanks,
Clark
 
Old June 28th, 2010, 03:38 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 Clark,

There was a slight change in behavior between the latest version of VS the source was compiled against and the final release version of Visual Studio. I fixed the source code a few days ago after I found out about the issue and submitted a new version to Wrox. It should be on-line tomorrow.

In the mean time, you can download the latest versions here:

http://imar.spaanjaars.com/Downloads...p_Download.zip
http://imar.spaanjaars.com/Downloads...B_Download.zip

Sorry for the inconvenience...

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:
ClarkNaylor (July 4th, 2010)
 
Old June 29th, 2010, 01:20 PM
Registered User
 
Join Date: Jun 2010
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Chapter 14 page 538 0f 844 in on line textbook

Hi again Imar,

Many thanks for your quick response. I haven't tried it out yet, but I'm sure it will work for me. I went back to chapter 14 and started over there and ran into another problem.

This may be the same problem. In the Try It Out step 8. where it says

"Enable inserting for the DetailsView control by checking the item Enable Inserting on the same Smart Tasks panel."

There isn't any Enable Inserting on the smart panel. The resultant code doesn't get the following bold underline italic parts:

Code:
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
      <asp:CommandField ShowInsertButton="True"/>
Code:
 DefaultContainerName="PlanetWroxEntities" EnableFlattening="False"  EnableInsert="True"
    EntitySetName="PhotoAlbums" OnInserted="EntityDataSource1_Inserted">
Excelsior!
Clark





Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Huagati DBML/EDMX Professional Tools License for 10 Purchasers of my New Book rogerj BOOK: Professional ADO.NET 3.5 with LINQ and the Entity Framework ISBN: 978-0-470-22988-0 1 February 18th, 2009 08:54 PM
EDMX arivarasuk ASP.NET 3.5 Professionals 6 January 30th, 2009 10:30 AM





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