Profile Provider System.ArgumentNullException

Profile Provider System.ArgumentNullException

Postby nick » Tue 07 Nov 2006 23:06


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 {
Posts: 5
Joined: Fri 27 Oct 2006 03:33

Postby Alexey » Wed 08 Nov 2006 12:12

We are investigating this problem. You will be notified on results as soon as possible.
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Alexey » Wed 13 Dec 2006 13:43

This problem is fixed.
Look forward to the next build.
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Return to dotConnect for Oracle