Sage Line 500
Author
Discussion

K50 DEL

Original Poster:

9,788 posts

259 months

Monday 16th July 2018
quotequote all
I have an installation of Line 500 where it seems that a user has an orphaned process...
When users try to open the MRP module they get a message saying that the system is "preparing for a run" by a particular user.

That user has logged on and off the system a few times and I have rebooted the Line 500 server but this lock still remains.

there must be a way to kill it, but I can't find it.

Anyone have any idea?

928

221 posts

208 months

Monday 16th July 2018
quotequote all
Over a decade ago in Windows server but...find the process ID, kill in OS. I think somewhere in Sage system menus you used to be able to find proces ID alongside the application name.

If you don't have admin on the server then you may have difficulties, get you're users off first!

K50 DEL

Original Poster:

9,788 posts

259 months

Monday 16th July 2018
quotequote all
928 said:
Over a decade ago in Windows server but...find the process ID, kill in OS. I think somewhere in Sage system menus you used to be able to find proces ID alongside the application name.

If you don't have admin on the server then you may have difficulties, get you're users off first!
Yep..
Unfortunately the user isn't logged into Line 500 and doesn't show as being logged in, but the module still claims that she's got it locked when anyone else tries to open it...
There are no Windows server process IDs in the name of the user concerned either. (and i've already fully rebooted the Line 500 box anyway

Doofus

34,728 posts

204 months

Monday 16th July 2018
quotequote all
In Line50, an Admin can throw another user off. I've used this in the past when a process has got suspended due to the LAN going down and access to the database being lost while in the middle of a process.

I suspect Line 500 will have something similar

K50 DEL

Original Poster:

9,788 posts

259 months

Monday 16th July 2018
quotequote all
Doofus said:
In Line50, an Admin can throw another user off. I've used this in the past when a process has got suspended due to the LAN going down and access to the database being lost while in the middle of a process.

I suspect Line 500 will have something similar
Indeed it does, the problem is that the user concerned doesn't show as being logged in!

Doofus

34,728 posts

204 months

Monday 16th July 2018
quotequote all
K50 DEL said:
Indeed it does, the problem is that the user concerned doesn't show as being logged in!
Oh.

Well I've exhausted my technical knowledgebase now, so you're on your own! wink

ETA I take it you don't have SageSupport or whatever it's called?

plasticpig

12,932 posts

256 months

Monday 16th July 2018
quotequote all
K50 DEL said:
Indeed it does, the problem is that the user concerned doesn't show as being logged in!
I think your problem is in the database. IIRC Sage implemented there own locking mechanism for some tasks and these locks are stored in a table. You may also have orphaned records in some the wrk tables causing issues. There should be some scripts to clean these sort of things up.

K50 DEL

Original Poster:

9,788 posts

259 months

Tuesday 17th July 2018
quotequote all
plasticpig said:
K50 DEL said:
Indeed it does, the problem is that the user concerned doesn't show as being logged in!
I think your problem is in the database. IIRC Sage implemented there own locking mechanism for some tasks and these locks are stored in a table. You may also have orphaned records in some the wrk tables causing issues. There should be some scripts to clean these sort of things up.
thanks for this, you set me on the right path...
there's a facility within system key maintenance to call up the locked process and kill the lock.

Cheers.