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.
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'.
Line 6: Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
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