Featured Post

Dynamics GP 2019 is now Released

It is now released, Microsoft Dynamics GP 2019 which moves the system to the modern product life cycle   " Beginning with the October...

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

1 comment:

  1. BE SMART AND BECOME RICH IN LESS THAN 3DAYS....It all depends on how fast 
    you can be to get the new PROGRAMMED blank ATM card that is capable of
    hacking into any ATM machine,anywhere in the world. I got to know about 
    this BLANK ATM CARD when I was searching for job online about a month 
    ago..It has really changed my life for good and now I can say I'm rich and 
    I can never be poor again. The least money I get in a day with it is about 
    $50,000.(fifty thousand USD) Every now and then I keeping pumping money 
    into my account. Though is illegal,there is no risk of being caught 
    ,because it has been programmed in such a way that it is not traceable,it 
    also has a technique that makes it impossible for the CCTVs to detect 
    you..For details on how to get yours today, email the hackers on : (
    atmmachinehackers1@gmail.com ). Tell your 
    loved once too, and start to live large. That's the simple testimony of how 
    my life changed for good...Love you all ...the email address again is ;
    atmmachinehackers1@gmail.com

    ReplyDelete