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 November 18th, 2009, 09:33 AM
Authorized User
Points: 47, Level: 1
Points: 47, Level: 1 Points: 47, Level: 1 Points: 47, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up DuplicateCheck' is inaccessible due to it's protection level

I am working thru chapter 3. On page 64, I add the IsDuplicate method. This contains a reference to Execute<DuplicateCheck...

When I compile I get this error message
DuplicateCheck' is inaccessible due to it's protection level

I downloaded chtr 3 code.

I added :
DuplicateCheck.cs to the DAL

The two overloads I found in the ENTBaseData.cs
protected static bool IsDuplicate(...

Has anyone else run into this?...and found a fix?
  #2 (permalink)  
Old November 24th, 2009, 05:19 AM
Friend of Wrox
Points: 742, Level: 10
Points: 742, Level: 10 Points: 742, Level: 10 Points: 742, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2009
Location: Tehran, Iran
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts
Default check scope words

Hello
I have not encountered this problem because I have followed book's class definitions step by step.
check that your classes are defined as 'public' in your program. if you don't put 'public' keyword in the begining of class definition, then class will be defined as 'private'. if your problem does not solved replace 'internal' keyword with 'public' in the definition of DuplicateCheck class to test that is it accessible after this change.
  #3 (permalink)  
Old November 24th, 2009, 12:17 PM
Authorized User
Points: 47, Level: 1
Points: 47, Level: 1 Points: 47, Level: 1 Points: 47, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Resolved add the IsDuplicate method

Thanx for your reply..I'm all set .I entered the ISDuplicate method into the ENTUserAccountEO.cs in the BLL...I should have entered it in the ENTUserAccountData.cs in the DAL Framework
 


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
DB Protection ~Bean~ SQL Language 4 October 25th, 2005 07:37 AM
Protection evad Excel VBA 0 April 26th, 2005 09:06 AM
Protection and commandButtons bahachin Excel VBA 3 March 4th, 2005 09:27 AM
Protection level noman77 .NET Framework 2.0 0 October 23rd, 2004 07:33 AM
classes :: base class is inaccessible .... Kaliste C# 3 July 16th, 2004 04:56 AM



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


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