Issue after upgrading to Sage 300 2022 PU2 and CRM 2022

I have just upgraded a customer to Sage 300 2022 PU2 and Sage CRM 2022.  I am encountering an issue where on certain customers, when I click on one of the integration options on CRM (AR Inquiry, Customer, OE Inquiry), I get the error message:

"An error has occurred in a CRM .net customisation. Please contact your vendor to resolve."

If I select a different company, I am able to use the integrations with no problem at all.

The Sync between Sage CRM and Sage 300 looks to be fine, as if I change the address in Sage CRM in the problem company it updates in Sage 300 and vice versa.

The only log that updates with any error information is the dotnet.log and it reports as follows:

Sep 9 2022 18:27:08.603 11672 11656 5 Set WebPage object reference.
Sep 9 2022 18:27:08.603 11672 11656 5 Loading CRM Interfaces:
Sep 9 2022 18:27:08.604 11672 11656 5 LOADING MAIN INTERFACES
Sep 9 2022 18:27:08.607 11672 11656 5 Got assembly: Inquiry, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Sep 9 2022 18:27:08.609 11672 11656 5 EntryPoint - Initializing dotnet objects
Sep 9 2022 18:27:08.609 11672 11656 5 Type: CRMCrypto, BaseClass: System.Object
Sep 9 2022 18:27:08.610 11672 11656 5 Is Class: True; Is AppFactory: False
Sep 9 2022 18:27:08.610 11672 11656 5 Type: Inquiry.AppFactory, BaseClass: System.Object
Sep 9 2022 18:27:08.610 11672 11656 5 Is Class: True; Is AppFactory: True
Sep 9 2022 18:27:08.611 11672 11656 5 AppFactory found
Sep 9 2022 18:27:08.611 11672 11656 5 Invoking Method: GetInquiryPage; DLL: Inquiry, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Sep 9 2022 18:27:08.612 11672 11656 5 Casting the Method result to Sage.CRM.WebObject.Web
Sep 9 2022 18:27:08.612 11672 11656 5 Before invoke BuildContents
Sep 9 2022 18:27:08.697 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.704 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.711 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.750 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.770 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.808 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.856 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.889 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.921 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.955 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.963 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.970 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:08.978 11672 11656 5 TCrmWebObject.GetQuery FeWare.refCount = 1
Sep 9 2022 18:27:12.824 11672 11656 1 Class: CRMWrapper - Method: ExecWebPageNew - Error: An error has occurred on PreBuildContents or BuildContents
Sep 9 2022 18:27:12.828 11672 11656 5 StackTrace:
Error: Invalid URI: The Uri string is too long.
at System.UriHelper.EscapeString(String input, Int32 start, Int32 end, Char[] dest, Int32& destPos, Boolean isUriString, Char force1, Char force2, Char rsvd)
at System.Uri.EscapeDataString(String stringToEscape)
at Common.CommonPage.GetOpportunityTabInfo(String logonUser, String companyDb, String compId, String emailSubject)
at Inquiry.InquiryPage.BuildContents()
at Sage.CRM.Wrapper.CRMWrapper.ExecWebPageNew(String fullFileName, String callFunction)
Sep 9 2022 18:27:12.828 11672 11656 5 Unloading Domain
Sep 9 2022 18:27:12.828 11672 11656 5 NET - BASE RELEASE CORE INTERFACES
Sep 9 2022 18:27:12.828 11672 11656 5 Metadata Unload.
Sep 9 2022 18:27:12.828 11672 11656 5 Keys Unload.
Sep 9 2022 18:27:12.832 11672 11656 5 UserSession Unload.
Sep 9 2022 18:27:12.832 11672 11656 5 Dispatch Unload.
Sep 9 2022 18:27:12.832 11672 11656 5 Unloading WebPage

So I expect the issue is to do with the Error: Invalid URI.  However I dont know where to look for that.

Any assistance will be gratefully received.

Thanks

Parents Reply Children
No Data