I'm trying to use ASP.net profiles I've followed some instructions which means I have
- set up a the ASPNETDB (using SQLExpress 2005)
- configured the profile provider (in the web.config)
- defined some properties
- enabled authentication
But I can't seem to use code like (ie Intellisense doesn't like it)
Profile.UserCustomContent = "Hi Mom";
It's obvious I've missed something major, but I cannot see, please help me...
Here are some snips from my web.config
<connectionStrings>
<add name="SqlServices"
connectionString="Data Source=localhost;Integrated Security=SSPI;Initial Catalogue=aspnetdb" />
</connectionStrings>
<system.web>
<authentication mode="Windows" />
<authorization>
<deny users="?"/>
</authorization>
<profile enabled="true" defaultProvider="SqlServices">
<providers>
<clear/>
<add name="SqlProvider" type="System.Web.Profile.SqlProfileProvider"
connectionStringName="SqlServices" applicationName="MyInternalApplication" />
</providers>
<properties>
<add name="UserSearchFilterOptions" type="String" />
<add name="UserCustomContent" type="String"/>
</properties>
</profile>
</system.web>