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: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 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 June 17th, 2009, 09:49 PM
Registered User
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter2: Compilation Error.

Hey there, I get the following error when using the ENTUserSelectAll SProc in the Linq Designer even though I have referenced all the required classes. Even Intellisense can pick up the ENTUserSelectAll Method.



Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'V2.PaidTimeOffDAL.HRPaidTimeOffDataContext' does not contain a definition for 'ENTUserAccountSelectAll' and no extension method 'ENTUserAccountSelectAll' accepting a first argument of type 'V2.PaidTimeOffDAL.HRPaidTimeOffDataContext' could be found (are you missing a using directive or an assembly reference?)

  #2 (permalink)  
Old June 18th, 2009, 09:22 AM
Authorized User
 
Join Date: Jun 2009
Posts: 11
Thanks: 1
Thanked 2 Times in 2 Posts
Default

You said that IntelliSense can find ENTUserSelectAll, did you mean ENTUserAccountSelectAll? Because if you didn't move the ENTUserAccountSelectAll to the .dbml designer, then you'll get the error you're seeing.
  #3 (permalink)  
Old June 18th, 2009, 08:14 PM
Registered User
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem solved

Thanks you. I did mean ENTUserAccountSelectAll.
But I just solved the problem. For some reason, after I the new sproc ENTUserAccountSelectAll to the table, and refreshed it in the dbml, I did get the new SPRoc in the designer, but the compiler didnt detect the changes I guess.
However, after restarting the VS and my PC, the error was fixed.

Thanks for help anyway.
 


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
Error: Microsoft VBScript compilation error '800a0409' webXtreme Classic ASP Basics 4 February 4th, 2009 03:58 AM
Compilation Error furqanms Pro Java 2 September 28th, 2007 11:22 AM
Compilation Error jotnarta JSP Basics 1 March 23rd, 2007 07:14 AM
C++ Compilation error indupriyav C++ Programming 0 February 5th, 2007 08:37 AM
Compiled error of executing chapter2 source code williamlin BOOK Beginning Linux Programming, 3rd Edition 10 August 25th, 2006 10:23 AM



All times are GMT -4. The time now is 11:12 AM.


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