Resolving unhandled exception error while creating a web module in Ax 2009/Ax2012 Enterprise Portal

While creating your first page or while creating a custom web page in Microsoft Dynamics Ax 2012 or Microsoft Dynamics Ax 2009 Enterprise Portal , the un-handled exception error pops-up very often. A screenshot of the error is mentioned below.

Featured image


1.   This issue arises because the debugging option is disabled in the web.config file.       This is an issue which we commonly face while developing ASP.NET applications.

2.    Irrespective of whether the Enterprise Portal site collection is hosted on port 80        or a non-port 80 site, the web.config file is generated for every website that is        hosted on the Internet Information Services (IIS) Web server role of Windows        Server 2012/Windows Server 2012 R2/Windows Server 2008 R2/Windows Server        2008.

       Ensure that the debug property on the tag is set to true in the web.config file.        This will resolve the problem of unhandled exception.

Featured image


         The default location for a web.config file is: <%systemdrive%>\inetpub\wwwroot\wss\VirtualDirectories\\web.config

     Featured image


Resolving “Error in URL property error”

A lot of times as an Enterprise Portal developer, i have faced this problem of URL property error. This is a problem that persisted in Microsoft Dynamics Ax 2009 and in Ax2012.

When we hit the ellipses button while setting the URL for a URL Menu Item, the Ax application fails to open the Enterprise Portal website folders through which we add a URL to the Enterprise Portal .aspx pages. The error is as showcased in the screenshot below.

Featured image                      Featured image



1.    To resolve the above mentioned issue, download the hotfix through the link        mentioned below.

Featured image

2. Install the package and try to navigate to the web folders. It will show the browse     web folders window. On hitting the ellipses button, one should get the Browse for     Files or Folders window to navigate to the .aspx pages that represent the     Enterprise Portal web pages.

Featured image     Featured image