Profile Provider System.ArgumentNullException

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
nick
Posts: 5
Joined: Fri 27 Oct 2006 03:33

Profile Provider System.ArgumentNullException

Post by nick » Tue 07 Nov 2006 23:06

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 {

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Wed 08 Nov 2006 12:12

We are investigating this problem. You will be notified on results as soon as possible.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Wed 13 Dec 2006 13:43

This problem is fixed.
Look forward to the next build.

Post Reply