Featured Post

Dynamics GP 2018 is now Released

It is officially published that Microsoft Dynamics GP 2018 is available, the download link is provided below: Product download page ...

Sunday, March 22, 2015

Dynamics GP 2015 – Web Client [ArgumentNull_Generic] error on Home Page


A client recently reported an issue related to the web client, it occurs with specifically one user as they are on the home page of the web client version. Once they click on “Sales” tab on the Navigation List, an [ArgumentNull_Generic] error pops up as stated below:

ArgumentNull_Generic

 

 

Severity: Critical

Summary: [ArgumentNull_Generic]

 

Arguments:

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information

to diagnose the problem.

Parameter name: contentValue

 

Details:

System.ArgumentNullException: [ArgumentNull_Generic]

Arguments:

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem.

Parameter name: contentValue

 

 

Troubleshooting a web client related error could sometimes be tiring, especially when the pattern of the error is not quite obvious. There is one reference that I admire about troubleshooting Microsoft Dynamics Web Client by MVP Mariano Gomez, a comprehensive list of seven parts that is a must-read.

 

The error is user-related, it occurs only for this specific user on the web-client version, there is no VBA modifications on the screen which could be in any way the root-cause of the problem.

 

When the user logged in the desktop version of Dynamics GP, they could easily click on the navigation list – Sales module tab with no issues. Checking the “Customize this page” option shown unexpected options as shown below:

 

Sales - Customize this Page

Sales - Customize this Page (2)

 

These are not standard options, the standard options to customize the area page includes the following:

  • Transactions
  • Inquiry
  • Reports
  • Cards
  • Utilities
  • Routines
  • Setup

The associated tables to be checked include the following:

SY08000 syHomePage

SY08100 syHomePageLayout

SY08120 syHomePageSubSection

SY08130 syHomePageMetrics

SY08140 syHomePageQuickLinks

On the SQL Profilder, the system calls each section as derived from the options and configuration on the “Customize this report”. For instance, when calling the [Transaction] section, you will find the following on the SQL Profiler:

 

exec sp_execute 31,'<section title="Transactions" image="Images/Transactions.png" expanded="true" column="1"><item title="Sales Transaction Entry"

link="http://dexterity/product=0/script=ExecuteAreaPageLink/args=0,1567,75"/><item title="Sales Batches"

link="http://dexterity/product=0/script=ExecuteAreaPageLink/args=0,1567,70"/><item title="Print Sales Documents"

link="http://dexterity/product=0/script=ExecuteAreaPageLink/args=0,1567,80"/><item title="-"/></section>',544,750,0

 

Solution:

 

Although there is still an ambiguous part of this issue as related to those other options (Purchasing and Inventory), unchecking them and keeping the original seven options above (Cards, Transaction,Reports, Setup, Inquiry, Utilities and Routines) from the “Desktop” version; (since the user is not being able to get in the sales area page at all) got the problem resolved.

 

Area Page Options

 

Best Regards,
Mahmoud M. AlSaadi

No comments:

Post a Comment