Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

allocation process taking 2 hours

(0) ShareShare
ReportReport
Posted on by 54

We were using SL 2011 with the remote desktop to access 2011 SL , later we upgraded it to 2015 SL, our allocation process has gone from 5 minutes to over 120 minutes, when we run allocations on new SL 2015 from client. What might be causing the issue?

*This post is locked for comments

  • Brian_IL Profile Picture
    719 on at
    RE: allocation process taking 2 hours

    Breaking down the setup into separate components makes troubleshooting much easier. If you have an SL demo database, you can run an allocation there to look for environment vs. program changes vs. the upgraded database being the issue. Reviewing and testing each part separately helps greatly in narrowing down what is causing a large difference in performance.

  • JohnTwohig Profile Picture
    152 on at
    RE: allocation process taking 2 hours

    That is puzzling. Is it only with allocations that you noticed a big change after the upgrade?

    I assume you have done the simple things like checking that the server that SQL Server runs on isn't short of disk space and checked the Event Logs and SQL Logs for errors. And be sure to check the same things on the remote desktop you are using. 

    At this point I would do one of two things:

    1.  Have a Dynamics SL partner do a SQL trace to see exactly what is happening. I find it hard to make much sense out of a SQL trace with Dynamics but we had a case once where our partner was able to find a problem that way.
    2.  In a test database try different allocations to see if the issue is related to one particular step in the allocation method, or one project or type of project, or one currency. I would create a new allocation method with one step, enter one transaction, and allocate it. It should be quick. Then I would try different steps and more transactions. With any luck you will find the one change that causes things to slow down and that will point out the problem.
  • MaruthiG Profile Picture
    54 on at
    RE: allocation process taking 2 hours

    Thank you John for your response. We built all the missing indexes on APP and SYS DBs and the RAM also  14 GB each on DB server and on APP server, no change in the performance :(

  • JohnTwohig Profile Picture
    152 on at
    RE: allocation process taking 2 hours

    When something slows down like that the first thing I try is rebuilding the indexes in SQL Server. 

    Maybe you don't have enough RAM in your SQL Server. If your server is virtualized it is easy enough to increase the RAM to see if it makes a difference. But I would do the indexes first.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,206 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,968 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans