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 RMS (Archived)

Transaction Being delayed

(0) ShareShare
ReportReport
Posted on by

We are having issues with our transaction being delayed, by 5-6 mins when its trying to post. After testing the network and adjusting settings based on most of the advice on this site. What we have discovered however using SQL profiler when a transaction is posting is the transaction trys to run the exact same query 5-6 times in a row with a 1 min wait in between trys. this is where the delay comes from. Once the query actually goes then the transaction finished very quickly. Below is the listed query, so hopefully someone can help advise why it is having to run it so many times, or how to reduce the retry time between them.

exec sp_executesql N'SET NOCOUNT OFF; INSERT INTO "storedatabase".."TransactionEntry" ("Commission","Cost","FullPrice","StoreID","TransactionNumber","ItemID","Price","PriceSource","Quantity","SalesRepID","Taxable","DetailID","Comment","DiscountReasonCodeID","ReturnReasonCodeID","TaxChangeReasonCodeID","SalesTax","QuantityDiscountID") VALUES (@P1,@P2,@P3,@P4,@P5,@P6,@P7,@P8,@P9,@P10,@P11,@P12,@P13,@P14,@P15,@P16,@P17,@P18); SELECT SCOPE_IDENTITY() AS SCOPE_ID_COLUMN',N'@P1 money,@P2 money,@P3 money,@P4 int,@P5 int,@P6 int,@P7 money,@P8 smallint,@P9 float,@P10 int,@P11 bit,@P12 int,@P13 nvarchar(1),@P14 int,@P15 int,@P16 int,@P17 money,@P18 int',$0.0000,$0.0000,$0.0000,20,526481,21299,$0.0000,1,1,0,1,0,N'',0,0,0,$0.0000,0

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    raelhefn Profile Picture
    on at

    check database log file size of your database it may require to shrink log file size.

  • Community Member Profile Picture
    on at

    our database is 7gb, and the log file is only 200mb. so it doesn't seem like it requires shrinking. This is also not a constant issue so i'd say 10% of transactions get slowed like this.

    thanks.

  • raelhefn Profile Picture
    on at

    Are you trying to reindex your database.

  • Community Member Profile Picture
    on at

    No, were just trying to process an RMS transaction.

  • Suggested answer
    raelhefn Profile Picture
    on at

    are you trying to configure your client network utility?

  • Community Member Profile Picture
    on at

    Are you sure you don't have any hooks in your POS? Also no triggers in 'Transaction', 'TransactionEntry' tables? Are you experiencing the same issue even after a SQL restart?

  • Suggested answer
    Jettbuster Profile Picture
    35 on at

    Hello Big Rob,

    The issue you are experiencing can occur for multiple reasons. Some of the reasons are linked to network connections or just  time out issues. I would highly recommend to do the following:

    1. Add port 1433 to the Windows Firewall in the Inbound and Outbound rules as a TCP/IP port.

    2. Enable the Named/Pipes and TCI/IP in the Client Network Utility on ALL computers. (The Client Network Utility can be found on Windows 7 operating systems by going to Start/All Programs/Microsoft Dynamics RMS/Client Network Utility.)

    3. Make sure that on your server computer (This is the computer that hosts the database.) that your SQL Configuration Manager has the TCP/IP, Named Pipes and Shared Memory options enabled in the following sections:

    SQL Server Native Client 10.0 Configuration/Client Protocols

    SQL Server Network Configruation/Protocols for your SQL Server instance.

    (By default your SQL Server instance may be named SQLSEVEREXPRESS2005, SQLSEVEREXPRESS2008, or MSSQLSERVER depending on what version of SQL you are using.)

    The SQL Configuration Manager and sections of information listed above can be found with the following pathing:

    Start Menu/All Programs/Microsoft SQL Server 2005, 2008, or 2012/Configuration Tools folder/SQL Configuration Manager/SQL Server Native Client 10.0 Configuration/Client Protocols/SQL Server Network Configuration/Protocols for your SQL Server instance.

    Note: That you will have to use the drop down icon to find the TCP/IP Named Pipes/Shared Memory options.

    When you have found all of these options if any of the TCP/IP/Named Pipes/Shared Memory options are not enabled right click on each one and click "Enable".

    After you have checked and adjusted all of these settings listed above you MUST restart your computer for the settings to take effect.

    Once all these options have been properly enabled and configured you will see a over all improvement with communications to your database.

    If all of these options have been already configured and the issue still occurs just let me know.

    Regards,

    Jettbuster

    Microsoft Dynamics RMS Support Team Professional

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 RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans