Greetings,
Sorry to post a new problem the same day you shipped a new version.
Unfortunately this one is causing us a serious issue and renders the Profile Provider unusable as we are unable to empty or remove any profile entries. Hopefully I'm doing somethig wrong because no-one else seems to have reported it. To reproduce:
We have a Profile Provider configured in the web config as follows:
In the Page_Load of a test web site we have just the code:
string s = Profile.ZipCode;
Profile.ZipCode = string.Empty;
If we visit this web page twice in sucession (or simply refresh) we get the error as follows:
Array cannot be null.
Parameter name: bytes
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Array cannot be null.
Parameter name: bytes
Source Error:
Line 28: public virtual string ZipCode {
Line 29: get {
Line 30: return ((string)(this.GetPropertyValue("ZipCode")));
Line 31: }
Line 32: set {