Business Portal Requisitions Management Approval Hierarchy List: Server Error in ‘/’ Application

David Meego - Click for blog homepageI have seen this error pop up on a few Microsoft Dynamics GP 2013 systems, so I thought I would post some information to help you resolve it. .... Well, at least one possible cause of it.

When using Business Portal 6.0 for Microsoft Dynamics GP 2013 and click on the Approval Hierarchy List in Requisition Management, you receive the following error:

Server Error in '/' Application.

Depending on the system settings you may or may not get the detail of the error itself, see the screenshots below:


Click to expand screenshot without detail


To show better error information from Business Portal (BP), use the following steps on the Internet Information Server (IIS) machine:

  1. Navigate to the folder where BP's IIS site is stored (e.g. C:\inetpub\wwwroot\wss\VirtualDirectories\80)
  2. Make a backup copy of the Web.config file
  3. Open the Web.config in Notepad
  4. Search for the following line:
    and change it to:
  5. Search for the following line: 
        CustomErrors mode="On" 
    and change it to: 
        CustomErrors mode="Off" 
  6. Save and close the Web.config
  7. Close and re-open IE if it's open, then navigate to the BP Home page.


Click to expand screenshot with detail


You will notice that the error with the detail references Line 151 in the source file /BusinessPortal/Applications/ReqMgmt/ApprovalTree/ApprovalTree.aspx

Looking at that line in ApprovalTree.aspx file, we can see that the CssClass property is missing the opening quote.

<asp:button id="ModifyButton" CssClass=BrandingAndStyleActionButton" runat="server" Text="Modify"></asp:button> <asp:button id="OKButton" CssClass="BrandingAndStyleActionButton" runat="server" Text="OK"></asp:button>


Editing the ApprovalTree.aspx file to add the opening quote, fixes the issue

<asp:button id="ModifyButton" CssClass="BrandingAndStyleActionButton" runat="server" Text="Modify"></asp:button> <asp:button id="OKButton" CssClass="BrandingAndStyleActionButton" runat="server" Text="OK"></asp:button>


This is logged in the system as Problem Report 72313 and has been fixed in the code. However, it has not been made available as there has not been an update for Business Portal 6.0 released.

Update: You can now obtain the fix by installing Business Portal 6.1, see the details at Now Available: Business Portal 6.1 for Microsoft Dynamics GP 2013.

Or you can still fix the issue yourself, either by editing the file with Notepad.exe or by using the fixed file attached as an archive to the bottom of this article.


Hope this helps


14-Feb-2014: Updated to show release of Business Portal 6.1.


Comments (0)

Skip to main content