Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

GP 2015 web client and dexterity customization

Posted on by Microsoft Employee

We have a couple dexterity customizations and began testing them through the web client in GP 2015.  One works fine, but with the other installed, we receive the following error while the app is starting.

Severity: Critical
Summary: A server side exception of type "DexRuntimeException" has occurred.
Details:
DexRuntimeException: 'rm_get_xml_for_resource' returned failure.  Error message:  'Form 'STO_Command' not found'.
   at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.GetResourceDefinition(Int16 dictionaryId, Boolean modified, DexResourceType resourceType, String resourceName, Boolean complete)

...

Form STO_Command is present in our custom dictionary, and it works fine when using the standard client.  The error is thrown when we run open form while the application is starting.  Below is the trigger and triggered code for this:

Procedure STO_Base_Open_Command_Form

{

open form STO_Command;

}

Procedure Startup

{

result = Trigger_RegisterProcedure(script OpenCommandForms, TRIGGER_AFTER_ORIGINAL, script STO_Base_Open_Command_Form);

}

Now the strange is that we have essentially the exact same code in our other customization (form name is different of course) and yet it works fine.  I can't see any meaningful difference between the command forms in each product and don't know why it doesn't seem to recognize the STO_Command form. 

Any help is greatly appreciated.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP 2015 web client and dexterity customization

    Hi,

    I have a Dexterity customized module called MYGST (I think David would be familiar with this). For users on the desktop clients GP2015 R2, the customization is stable. Currently I have 4 web client users who are getting the error - "A server side exception of type "ArgumentNullException" has occurred." when opening a customized form.

    I am not sure how to troubleshoot this or where to look.

    Any help would be greatly appreciated.

    Thanks.

    Regards,

    Saras

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: GP 2015 web client and dexterity customization

    Did you compiling your whole dictionary and then creating a new chunk?

  • hendy Profile Picture
    hendy 255 on at
    RE: GP 2015 web client and dexterity customization

    Hi, this error also happen in my customization. I recheck then I realized I have deleted an unused table that attached to my form. I deleted the table by I forgot to detached the table from my form. When I synchorize and compile my dictionary there isn't any warning or error message. I tried to export the form then source code errors show "form references a non-existent table". Detach the 'Not Found' table solved my problem.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,917 Most Valuable Professional on at
    RE: GP 2015 web client and dexterity customization

    Hi

    I am wondering if the dictionary is corrupted in some way. Can I suggest deleting it and reinstalling the chunk again.

    David

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,021 Super User 2024 Season 1 on at
    RE: GP 2015 web client and dexterity customization

    Hi Rob,

    I've stopped most of my testings with GP 2015 as we ran into some issues that keeps us from going there with GP2010... However, I'd see this definitely being a Dexterity coding issue and I'm not a Dex developer by nature..

    For the Web client, I ended up to create a separate .SET launch file with the minimum modules that I need for most users and this works fine and has been pretty stable since then.

    Let's see if we can have someone chime in with more Dexterity knowledge..

  • Rob Klaproth Profile Picture
    Rob Klaproth 1,730 on at
    RE: GP 2015 web client and dexterity customization

    Hello Beat, were you able to resolve this?  I have a client who is getting this error when exiting the web client and logging back in.

  • Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,021 Super User 2024 Season 1 on at
    RE: GP 2015 web client and dexterity customization

    Hi Gregory,

    I was starting to pull my hairs as I came across your post... I installed the whole web client/server package on a single test system last week with all the certs requires and so on.. Local GP client (full) login works fine as expected, so I went on and thought it would be just as easy as lemon pie to run thru the web client... wrong !!

    it started with a persistent message I couldn't figure out why it came up on the web client only, but not on the full client, until I remembered that my past upgrades used the 'client updates' option in GP... I kept getting the message "An available update may be required for your computer, but the update process couldn't verify information.", but once I disabled the update I had configured, that was gone at next login.

    Now what followed is less then pleasant.. after a long spinning of Silverlight and then opening of the GP main form/window, I waited, waited and waited until I got "A server side exception of type "ArgumentException" has occurred"...  and then when you click on Restart, you get other messages, like [HttpWebRequest_WebException_RemoteServer], and the one you got with DexRuntimeException too.

    At this point I'm thinking about stripping out the DYNAMICS.SET file from all the non-standard modules and 3rd party products and start with a 'minimalist' launch file just for the web client, in the hope that at least I'll be able to start a functional client.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans