Posts Tagged ‘Profile Error’

When I try to get an address profile object from the commerce server profile system, I used to get following error.

{“The requested profile could not be retrieved because the key name provided does not exist or is not an indexed property.  The profile type is ‘Address’.  The key name provided is ‘GeneralInfo.first_name’.”}

Commerce server can search on the entries which are unique, primary keys. Since firstname is not primary or unique key in my schema, I was getting this error. To make my application work, I made first name as unique key.

Note: You may not see your code working unless you perform IISReset.

Related Articles


If you like this post, please click on our sponsor advertisement.


Follow me on Google+
Add to circles

In 0 people's circles

Sign up for Newsletter