web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error message in Rate Shop

(0) ShareShare
ReportReport
Posted on by

Hi,

We have suddenly the infamous "Error RateShopBroker, TMSException" in the rate shop on our prelive environment when we are trying to rate. On our other environments with exactly the same code and carrier/rate setup this is not happening.

If I look at the TMS system error log this error is shown:

Exception at level 0Message: Error RateShopBroker, TMSExceptionSource: Microsoft.Dynamics.Ax.TmsStack trace:   at Microsoft.Dynamics.Ax.Tms.API.TmsService.ExecuteTransaction(String requestXml)Exception at level 1Message: The requested operation cannot be performed because you are not logged on to Microsoft Dynamics.Source: Microsoft.Dynamics.AX.ManagedInteropStack trace:   at Microsoft.Dynamics.AX.ManagedInterop.CMultiSession.{ctor}(CMultiSession* , IAxSession* pAxSession, Boolean* pfSessionTerminated)   at Microsoft.Dynamics.AX.ManagedInterop.Record.createValueExpressionNode(String theValue)   at Microsoft.Dynamics.AX.Framework.Linq.Data.ManagedInteropLayer.AxInterop.CreateValueExpressionNode(String value)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.VisitConstant(ConstantExpression c)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.VisitNamedValue(NamedValueExpression value)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.VisitBinary(BinaryExpression b)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.VisitBinary(BinaryExpression b)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.VisitBinary(BinaryExpression b)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.VisitBinary(BinaryExpression b)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.VisitSelect(SelectExpression select)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryFormatter.Format(Expression expression)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryProvider.Translate(Expression expression)   at Microsoft.Dynamics.AX.Framework.Linq.Data.AXQueryProvider.Execute(Expression expression)   at Microsoft.Dynamics.AX.Framework.Linq.Data.QueryCollection`1.GetEnumerator()   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)   at Microsoft.Dynamics.Ax.Tms.Data.TMSRatingProfileRepository.Retrieve(String inventoryLocationId, String inventSiteId, Nullable`1 scheduledShipDate)   at Microsoft.Dynamics.Ax.Tms.Data.TmsDataService.GetRatingDtos(TransactionFacade transactionFacade, Nullable`1 scheduledShipDate)   at Microsoft.Dynamics.Ax.Tms.Bll.RatingService.RetrieveCarrierServiceList(TransactionFacade transactionFacade, XElement segment)   at Microsoft.Dynamics.Ax.Tms.Bll.RateShopBroker.RateEntity(TransactionFacade transactionFacade, XElement entity)

I tried to switch the business connector account but this is valid account and for instance reports work fine... Any suggestions?

Thank you in advance!

*This post is locked for comments

I have the same question (0)
  • Hans Christian Profile Picture
    on at

    Hi Davox

    Have you find a solution?

    We have the same error in the customers live environment, but not in the development environment.

    It seems it lock the first user/session to run the rateshop. The problem occur when this user logoff.

    If we restart the AOS - and keep the first user runniing the rateshop, logged on - then it runs until this user logoff again.

    Please let me know if you find a solution

    Best regards

    Hans  

  • Community Member Profile Picture
    on at

    Hi Hans,

    Correct, with our environment it also works after an AOS reboot but then after a while it stops working!

    I don't have a solution for this yet!

    Regards,

    Davox

  • Verified answer
    Community Member Profile Picture
    on at

    This was an issue with the kernel build. We installed kernel build KB3161115 Build 6.3.3000.3312 and the issue was resolved.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans