| MSCS_user 2005-11-29, 5:55 pm |
| Hello All:
I am a new MS CS application developer. I have come accross a very
strange problem on our Dev boxes. Doesn't fail on production.
The code basically deals with first time users. So I am creating a
profile object for the new user and setting its type as anonymus.
objUser.userProfile = UserObject.CreateUserProfile(objUser.userName);
objUser.userProfile.UserType = UserObject.UserAccess.Anonymous;
When I am trying to do this:
userProfile.Password = ""
I am getting this exception. While other properties
userProfile.FirstName, LastName etc are empty strings
but
userProfile.Password has value <error: an exception of type:
{Microsoft.Solutions.Framework.AccountManagementException}
occurred> string
And the inner exception says " {"Failed to retrieve value for profile
property 'user_security_password'." }"
and this specificly happens on our dev box.
Any Clue?
Thanks in advance
|