check this article:
Appendix 2: Migrating Code that works with the ASP.NET 2.0 Profile Object
http://webproject.scottgu.com/CSharp...igration2.aspx
"R.A.M." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
> I want to use user profiles in my Web application. In Web.config I have
> added:
> <profile defaultProvider="SqlProfileProvider">
>
> <providers>
>
> <clear />
>
> <add name="SqlProfileProvider"
>
> type="System.Web.Profile.SqlProfileProvider"
>
> connectionStringName="SqlServices"
>
> applicationName="MIMStock" />
>
> </providers>
>
> <properties>
>
> <add name="Name" type="String" />
>
> <add name="Database" type="String" />
>
> <add name="DefaultStockName" type="String" />
>
> <add name="DefaultGroupName" type="String" />
>
> <add name="UsersAdministration" type="Boolean" defaultValue="False" />
>
> <add name="Configuration" type="Boolean" defaultValue="False" />
>
> <add name="Remarks" type="String" />
>
> </properties>
>
> </profile>
>
> The problem is that although I added to my code-behind "using
> System.Web.Profile;" I cannot use Profile (it is not displayed by
> IntelliSense dropdownlist).
> Please help.
> Thank you!
> /RAM/
>
>