XmlProfileProviders sure don't work

Nov 12, 2011 at 6:59 AM

The XmlProfileProviders don't work. There is no way to get the profile for a user other than the current Membership user.

Even if the web.config has the correct setup, code such as the following shows that "Person" is not
found in the config.

(string) profile.GetProfileGroup("Person").GetPropertyValue("FirstName")

I'm surprised nobody else has noticed this.


Nov 12, 2011 at 7:38 AM


Have you defined your group Person and its fileds (like FirstName) in web.config profile section.