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


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s