Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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 July 31st, 2006, 10:23 AM
Registered User
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to itchy4388
Default Using Profiles with Vwebdev express 2005 and SQL

I can't seem to find anything on how to begin configuring so that I may use profiles in my website, and for the life of me I cannot figure it out!

I am new to all of this, but I know how to program in VB so using .NET has been an easy transition. I am creating a website for my boss' company, and as the site grows, so do the ideas for it. Now I find myself needing to use profiles for logins/accounts and perhaps choosing color schemes (which i have accomplished in a roundabout way). I have a limited understanding of how to get myself set up so that I can even use profiles. I downloaded SQL express and installed it, but I don't know how to get everything working together so that my Visual Web Developer express 2005 allows me to use profiles in this manner. As of now, whenever I attempt to use profiles, it just tells me that it is not a member of the '(...).DefaultProfile'.

I think that I can manage making profiles and all of that, I just can't find out what I need and what SQL, database, and other such things I must set up in order for profiles to function.

Thank you very much,

Old July 31st, 2006, 02:58 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

On a default installation, profiles "just work". At run-time, a template database is copied to your App_Data folder. This database is then attached to SQL Server using a default connection string called LocalSqlServer that is defined in the Machine.Config file located here: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONF IG (on a default Windows installation)

The following two articles might help in understanding how SQL Server and ASP.NET 2 can play together:


Hope this helps,

Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.

Similar Threads
Thread Thread Starter Forum Replies Last Post
MSDE or SQL 2005 EXPRESS? angelboy C# 2005 2 June 19th, 2007 12:10 AM
connect to SQL EXPRESS 2005 angelboy C# 2005 0 June 8th, 2007 01:34 PM
SQL 2005 Express Edition Maxxim SQL Language 2 February 5th, 2007 05:19 PM
SQL Express 2005 Tremmorkeep BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 July 20th, 2006 04:38 PM

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