Page 1 of 1

Profile Provider System.ArgumentNullException

Posted: Tue 07 Nov 2006 23:06
by nick
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 {

Posted: Wed 08 Nov 2006 12:12
by Alexey
We are investigating this problem. You will be notified on results as soon as possible.

Posted: Wed 13 Dec 2006 13:43
by Alexey
This problem is fixed.
Look forward to the next build.