View Single Post
  #1 (permalink)  
Old March 13th, 2009, 09:19 AM
jon80 jon80 is offline
Authorized User
Points: 66, Level: 1
Points: 66, Level: 1 Points: 66, Level: 1 Points: 66, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2009
Posts: 12
Thanks: 5
Thanked 0 Times in 0 Posts
Unhappy [newbie] ProfileCommon ?

1. Listing 16-8

Does ProfileCommon require some namespace?
..
<%@ Page Language="C#" Import="System.Web.Profile.ProfileBase"%>
..

2. According to Pg.13 the Page Directive can have a Import attribute, however, I am getting the following error when trying to build Listing 16-8:

Error 2 Error parsing attribute 'import': Type 'System.Web.UI.Page' does not have a public property named 'import'. c:\inetpub\wwwroot\TestWebSite\Default.aspx 1

Web Profile Builder at (http://weblogs.asp.net/joewrobel/arc...-projects.aspx)
for VS 2005, seems to be related to the issue, but I'm not too sure, can you help?


Environment notes
Visual Studio 2008 SP1 + .NET 3.5 SP1

Last edited by jon80; March 13th, 2009 at 09:43 AM.. Reason: update #1