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.

Unable to logon to microsoft dynamics AX

I got this error while trying to login to the dev. environment from the local client by changing the client configuration. On the other hand I was able to logon using remote client. This comes because some user information gets stored in the machine and it hinders the process to connect to the specified environment from the client. This user information is saved at following location - Start --> Control Panel --> User Account --> Manage Network Password --> from here remove the password.

Now move out and logon to any environment !!! :)

Reference