Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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 October 5th, 2009, 05:42 PM
Authorized User
 
Join Date: Aug 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default VS 2008 SP1 and Profiles

I do create the profile in the web.confic file, but when I try to access it, (after building and rebuilding the website), the intellisense doesn;t allow me to access it?

Any ideas why?

I run VS 2008 Team System with SP1
 
Old October 6th, 2009, 01:29 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Sounds like you created a Web Application Project (WAP) instead of a Web Site Project (WSP). That is, you chose File | New Project instead of File | New Web Site when you created the site.

Profiles are not supported out of the box in a WAP and require a lot of manual work and code.

If you want to follow along with the PlanetWrox site, my advice is to grap a copy of the source from the previous web site and use that as your source.

WAPs and WSPs are discussed in Chapter 2, page 34. Page 37, step 1 then shows you how to create a WSP.

Hope this helps; if not, please let me know.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 7th, 2009, 04:00 PM
Authorized User
 
Join Date: Aug 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar, thank you very much for responding so fast. Sorry that I missed that, but now I know!

Thank you very much!
 
Old October 8th, 2009, 11:44 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default Profiles with WAPs

In case you're interested in learning how to work with Profiles inside of web application projects, here is a blog post of mine that will help you:

http://leedumond.com/blog/asp-net-pr...tion-projects/
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL 2008 will not run on Windows 2008? dkrus Book: Professional Microsoft SQL Server 2008 Administration ISBN: 978-0-470-24796-9 1 February 23rd, 2009 12:34 PM
Article: jQuery with ASP.NET 3.5 SP1 jminatel ASP.NET 3.5 Professionals 0 February 19th, 2009 10:01 PM
TheBeerHouse for VS2005/sp1 VB ADH BOOK: ASP.NET Website Programming Problem-Design-Solution 3 October 19th, 2008 05:07 AM
Visual Studio and .NET 3.5 SP1 Released Lee Dumond BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 August 18th, 2008 10:52 PM





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