XmlProfileProviders sure don't work

Nov 12, 2011 at 5: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.

Budsy

Coordinator
Nov 12, 2011 at 6:38 AM

Hi,

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

Regards