Hi,
I am trying to use personalization, but in my code file Profile object does not have stronly typed properties I have defined in web.config.
Here is how I set up my web.config:
I also have using System.Web.Profile; in the web form. But when I type Profile. I do not get Favorites property
What am I missing?
Thanks
I am trying to use personalization, but in my code file Profile object does not have stronly typed properties I have defined in web.config.
Here is how I set up my web.config:
Code:
<profile defaultProvider="CustomProfileProvider">
<providers>
<add name="CustomProfileProvider" connectionStringName="SQLConnString" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
<properties>
<add name="Favorites" type="string"
allowAnonymous="true" />
</properties>
I also have using System.Web.Profile; in the web form. But when I type Profile. I do not get Favorites property
What am I missing?
Thanks