Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 9th, 2006, 04:56 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Default error in downloaded code

Hi,

I bought the book "beginning asp.net 2.0" and downloaded the code. When i try to start from IIS the default.aspx file from BEGIN or END of any chapter (except chapter 1), i get always the following error, and because i'm new to this, i don't know how to fix it.
Thanks for help.
Phil

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: BC30456: 'Cart' is not a member of 'System.Web.Profile.DefaultProfile'.

Source Error:
Line 6: Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Line 7:
Line 8: If Profile.Cart Is Nothing Then
Line 9: Return
Line 10: End If

Source File: d:\inetpub\wwwroot\aspnet\End\Chapter03\WroxUnited \ShoppingCart.ascx.vb Line: 8





Similar Threads
Thread Thread Starter Forum Replies Last Post
downloaded code Joseph BOOK: Beginning SQL 5 December 23rd, 2007 09:35 PM
downloaded code show me error from this site josna VS.NET 2002/2003 0 December 18th, 2005 09:15 AM
Problem with downloaded code Jags ADO.NET 1 April 10th, 2005 03:56 PM
ThePhile C# Downloaded code aruny2kprasad General .NET 3 April 16th, 2004 03:02 AM





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