Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 17th, 2011, 01:11 PM
Registered User
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Red face ASP.NET 3.5 Enterprise Application Development ISBN 978-0-470-39686-5 : ENTMenuItemBO

I am getting an error:
The Type or namespace name 'ENTMenuItemBOList' could not be found.

I am just trying to do the example in the book.
Please Help.

File: Globals.cs

Code:
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Web.Caching;
using V2.PaidTimeOffBLL.Framework;



/// <summary>
/// Summary description for Globals
/// </summary>
public static class Globals
{
    #region Constants

    private const string CACHE_KEY_MENU_ITEMS = "MenuItems";
    private const string CACHE_KEY_USERS = "Users";

    #endregion Constants

    #region Methods

    public static ENTMenuItemBOList GetMenuItems(Cache cache)
    {
        //Check if the menus have been cached.
        if (cache[CACHE_KEY_MENU_ITEMS] == null)
        {
            LoadMenuItems(cache);
        }

        return (ENTMenuItemBOList)cache[CACHE_KEY_MENU_ITEMS];
    }

    public static void LoadMenuItems(Cache cache)
    {
        ENTMenuItemBOList menuItems = new ENTMenuItemBOList();
        menuItems.Load();

        cache.Remove(CACHE_KEY_MENU_ITEMS);
        cache[CACHE_KEY_MENU_ITEMS] = menuItems;
    }

    #endregion Methods

}
Reply With Quote
  #2 (permalink)  
Old August 8th, 2013, 02:49 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ajay Singh

Hello sir,
I am New to programming language in DotNet and i have download the code of your book (ASP.NET 3.5 Application Development with Visual Studio® 2008
Problem – Design - Solution) but unable to run the project while running i am getting the following error:-

1.Error (Cannot update project reference 'V2.PaidTimeOffBLL'. Source project not available. http://localhost/PaidTimeOffUI/)

2.Error 30 Cannot update project reference 'V2.PaidTimeOffDAL'. Source project not available. http://localhost/PaidTimeOffUI/

3.Error 36 Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. E:\Demoproject\Chapter11\Chapter11\PaidTimeOffSolu tion\PaidTimeOffUI\web.config 80




And plz Sir also tell me how to open the database in sql 2008 as the database in the your project was being made in sql 2005 and i have sql 2008


please suggest me the meaningfull answer as soon as possible..Thanks...

Last edited by ajays3356; August 8th, 2013 at 04:12 AM.
Reply With Quote
Reply


Thread Tools
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
Adobe AIR: Create-Modify-Reuse (978-0-470-18207-9) jaswanttak BOOK: Adobe AIR: Create - Modify - Reuse ISBN: 978-0-470-18207-9 3 April 16th, 2009 11:48 AM
Asp .Net Application Development Outsourcing Rigel ASP.NET 1.0 and 1.1 Basics 1 April 30th, 2008 02:34 PM
.NET Enterprise Development with C# sparky62 General .NET 3 November 8th, 2005 10:37 AM
Smart client in .Net Enterprise Development in C# bookworm_zju Wrox Book Feedback 0 February 17th, 2004 05:12 AM
look for the NET Enterprise Development in C# david_van Wrox Book Feedback 1 February 3rd, 2004 05:21 AM



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


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