Tuesday, February 1, 2011

AX 2009 enterprise portal -- Sys.ArgumentNullException error

While testing one of the controls in enterprise portal one of my team-mate got this error. In this scenario he got it after clicking on the ax date control to choose a date. This error was coming most of the time except for the first when the page was opening. The error is associated with date control. The detailed error is as follows:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8; InfoPath.2)

Timestamp: Mon, 31 Jan 2011 10:11:33 UTC

Message: Sys.ArgumentNullException: Value cannot be null.
Parameter name: panelsDeleting[7]
Line: 4723
Char: 21
Code: 0
URI: http://AXDev/ScriptResource.axd?d=BbXpLQ1o3AIdHtS9ypBQfYDbdhpQLYX3HwkftdXT3c85Pz79UWU7kN5H85iLIwwP4D2wY1XbQFNNAZH_mWXc22MaLkqOGf2gE11PwTELiSg1&t=4ca27158

Usually in order to debug code in enterprise portal we change  the property debug = true from the standard false in Web.config file. The complete standard value is  <compilation batch = "false" debug="false"> .

This is the solution, making debug= false and then a IISRESET comand will resolve the issue.


  1. thanks it's working
    Hardik Patel
    Sai InfoSystem(India) Ltd.

  2. The IISRESET isn't required. SP will know when the web.config has been modified and reload fresh.