Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : 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 April 23rd, 2013, 02:26 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Warnings/Errors?

Also seeing as how I can't do the database diagrams and I have to use your .edmx file and database diagrams in order to complete the assignments, I get the following compile warnings using your version of the code:

Warning 1 Unable to update auto-refresh reference 'entityframework.dll'. Cannot find assembly 'C:\Users\Imar\Documents\Visual Studio 2012\Projects\Site\packages\EntityFramework.5.0.0\ lib\net45\EntityFramework.dll'. C:\BegASPNET\Chapter 14\Bin\entityframework.dll.refresh C:\BegASPNET\Chapter 14\
 
Old April 23rd, 2013, 02:36 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
Also seeing as how I can't do the database diagrams and I have to use your .edmx file and database diagrams in order to complete the assignments
I don't get that. Why can't you create diagrams in SQL Server and build your own EDMX file? Just use SSMS.

That said, it sounds like your site doesn't have the EntityFramework packge installed. Hard to tell though with the limited information you're providing.

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!
 
Old April 23rd, 2013, 03:00 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default I will reinstall Entity Framework.

Quote:
Originally Posted by Imar View Post
I don't get that. Why can't you create diagrams in SQL Server and build your own EDMX file? Just use SSMS.

Because I don't have SQL Server 2012 I have SQL Server 2008 instead.

That said, it sounds like your site doesn't have the EntityFramework packge installed. Hard to tell though with the limited information you're providing.

Imar
I am pretty sure that I installed the entity framework through Nuget. I will try to install it again and see if that is the cause of the problem.
Yes I went to Nuget Package manager and tried to download the latest version of Entity Framework and the package manager told me that Entity Framework already exists for the project. So that is not the problem or the cause of that error message when I try to compile the application.

Last edited by vbboyd; April 23rd, 2013 at 03:12 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
284 Errors, 3 Warnings in sketcher Ch15 bgwinn Visual C++ 2005 3 August 6th, 2008 05:40 PM
TBH - Errors and warnings all of a sudden! codewife55 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 November 12th, 2006 06:58 PM
How to view warnings IronStar MySQL 1 May 1st, 2005 10:46 PM
Set Warnings Teqlump Access VBA 4 October 27th, 2004 11:12 PM
Help Sesssion Warnings! Empier4552 Beginning PHP 1 July 8th, 2003 11:49 AM





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