Skip to main content

Notifications

Microsoft Dynamics GP forum
Suggested answer

GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

Posted on by 10

GP gives 'Processes are currently being run that cannot be deleted.  THese processes must be run to completion before you exit.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,831 Moderator on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    Hi Mary

    If you are getting the message that processes are being run and you cannot see any processes in the process monitor in the local queue, there is a possibility that you could have a Visual Studio .Net Addin DLL running in your system that accesses a Dexterity table buffer, but does not close it when finished.

    This is a situation that will make Dexterity believe there is a background process even though it does not show in the process monitor.

    Regards

    David

  • Mary Ellison Profile Picture
    Mary Ellison 10 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    Thanks for all that good information.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    It always helps to run these scripts with no one in GP.

    SELECT * FROM DYNAMICS..ACTIVITY

    SELECT * FROM DYNAMICS..SY00800

    SELECT * FROM DYNAMICS..SY00801

    SELECT * FROM TEMPDB..DEX_SESSION

    SELECT * FROM TEMPDB..DEX_LOCK

    DELETE DYNAMICS..ACTIVITY

    DELETE DYNAMICS..SY00800

    DELETE DYNAMICS..SY00801

    DELETE TEMPDB..DEX_SESSION

    DELETE TEMPDB..DEX_LOCK

  • Suggested answer
    Mary Ellison Profile Picture
    Mary Ellison 10 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    Thank you - I had to fix the batch record for the transactions that were causing this error.  There was no lock but I had to delete a batch record  in the SYS00800 table.  Then she was able to pull up the batch again and post it.  

  • Mary Ellison Profile Picture
    Mary Ellison 10 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    Thanks - I reset the sy00500 record to available and it finally worked

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    She is trying to exit GP while something is running. Running process monitor will tell you what is running. If she were to login to GP and immediately try to exit she will get this message.

  • Mary Ellison Profile Picture
    Mary Ellison 10 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    Actually I am not getting this message a business user is - but yes she is free to exit.  I had her remote desktop session killed and I removed her session in GP.  I'm having her try it again and see if she is still getting this message.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    So you are free to exit GP. When did you see this message? Running historical trial balance reports can cause this as they take a while to run.

  • Mary Ellison Profile Picture
    Mary Ellison 10 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    I don't see any any processes running in the process monitor.  

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: GP gives 'Processes are currently being run that cannot be deleted. THese processes must be run to completion before you exit.

    Click on MS Dynamics GP  and then Process Monitor to see what processes are running. When you first login to GP there are a series of processes that will run. If they never end you have no choice but to use Task Manager to terminate GP.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans