back to top

Incorrect delpoyment of the DynamicMethods.xml file in the SalesLogix 8.0 web client

We have had several clients report random errors occurring in their SalesLogix v8.0 web client.  No meaningful error is presented to the end user but on the web server’s Event Logs you can see something similar to this:

2013-12-05 08:15:36,025 [23] ERROR
SlxClient.InsertSalesOrderPage – SalesLogix Web Client unhandled exception
during async postback [SalesLogix Error Id=SLX76DA70529671C361]

{

 
“slxErrorId”: “SLX76DA70529671C361”,

 
“mitigation”: “AjaxErrorResponse (576)”,

 
“date”: “2013-12-05T08:15:36”,

 
“utc”: “2013-12-05T16:15:36”,

 
“message”: “Could not find the dynamic method
BillToShipTo.lstbxShippingAddress_OnChange. 
Check your dynamicmethods.xml configuration file to ensure that this
method exists.”,

 
“source”:
“Sage.Platform.DynamicMethod.DynamicMethodLibrary, Sage.Platform,
Version=8.0.0.8494, Culture=neutral, PublicKeyToken=null”,

 
“type”: “System.ArgumentException”,

 

  “stackTrace”: “   at Sage.Platform.DynamicMethod.DynamicMethodLibrary.GetInvoker(String
methodName)rn   at
Sage.Platform.DynamicMethod.DynamicMethodLibrary.Execute(String methodName,
Object[] args)rn   at

This error references the DynamicMethodLibrary.  This library gets its data from the DynamicMethods.xml file in the root of the SalesLogix client’s deployed portal location.  This file is created dynamically by the Application Architect during the build and deploy process.  The file contains all of the C# methods on the various smart parts in the web client.

If you look at a properly formed line in this file it will look something like this:

    <dynamicMethod xsi:type=”BusinessRuleMethod” methodName=”BillToShipTo.lstbxBillingAddress_OnChange” methodReturnMode=”None” returnType=”System.Void”>
      <preExecuteTargets />
      <primaryTarget targetType=”Sage.BusinessRules.CodeSnippets.BillToShipToEventHandlers, Sage.SnippetLibrary.CSharp” targetMethod=”lstbxBillingAddress_OnChangeStep” />
      <postExecuteTargets />
    </dynamicMethod>

However an incorrect one will look something like this:

    <dynamicMethod xsi:type=”BusinessRuleMethod” methodName=”6fbf306a-9ee2-4ed4-a0e5-985babe54703.lstbxShippingAddress_OnChange” methodReturnMode=”None” returnType=”System.Void”>
      <preExecuteTargets />
      <primaryTarget targetType=”Sage.BusinessRules.CodeSnippets.BillToShipToEventHandlers, Sage.SnippetLibrary.CSharp” targetMethod=”lstbxShippingAddress_OnChange” />
      <postExecuteTargets />
    </dynamicMethod>

Note how a GUID appears instead (shown highlighted above).

To fix this you have one of two options:

  1. Modify the offending code snippet.  You can just add a space or something to modify it.  Do a full build and re-deploy.  Before deploying, delete the DyanmicMethods.xml file from the portal deployment location to ensure it is replaced.  This is often enough to fix the issue.
  2. Modify the deployed DyanmicMethods.xml file directly and change the GUID to the correct value.  You will need to do an IIS reset afterwards.

I have reported this problem to SalesLogix support.  Hopefully a fix will be forthcoming. 

 

 

Contact Customer FX for your CRM project
We let our expertise speak for itself - let us know how our all-star team can help on your CRM project
About the Author
Kris Halsrud
Kris Halsrud
Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Infor CRM SLX 10.0: Delegate Ownership Changes for “Everyone” Records

Learn how the new EveryoneOwnerAssignment secured action in Infor CRM SLX 10.0 allows designated users to change ownership of Everyone-owned records without requiring Administrator access.

Related Articles

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Related Videos