2.0: using System.Web.Profile (newbie)

R

R.A.M.

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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top