Sage 100 Build Search Index and Task Scheduler Hanging Session
Sage 100's Build Search Index finishes its job but leaves a stranded session in the Master Console every night, with a hidden "Missing selection table for column $" pop-up behind it. What is known, what clears it, and what does not fix it.
You schedule the Build Search Index utility to run overnight through Library Master Task Scheduler, so auto-complete and global search stay current. The index builds — the Activity Log shows the job starting, the task completing, and the job completing. But every run leaves a session behind in the Master Console: no launcher, just the utility listed as still running. Leave it a week and you are looking at six stranded sessions, eating into your user count, and the Master Console cannot kill any of them. The reporting consultant saw this on two client systems and then on his own.
Be clear up front: this fault has no confirmed published fix on the versions where it is documented (Sage 100c 2017). The thread ends with Sage R&D reviewing the issue and the problem still present after the 2017 Product Update 2. What this page gives you is the mechanism Sage identified, how to clear the stranded sessions, the checks worth doing, and the dead ends to skip.
What is actually happening
The index build is not the part that hangs. The Activity Log for the stranded runs shows a clean sequence — Beginning job BUILDINDEX(), Beginning task Build Search Index, task complete, job completed — and new records do get indexed.
The hang is at the very end of the job, when it tries to print the activity log. On the server, behind everything, a pop-up appears:
Sage 100 - Missing selection table for column $.
That modal pop-up is waiting for someone to close it, and the session stays alive in the Master Console until someone does. The proof in the reported case: when the consultant closed each pop-up, a "Processing Task Schedule Log" progress window flashed and closed — and the hung sessions disappeared from the Master Console. If the server is not logged in, you will not see the pop-ups until you log in; if it is logged in, they are sitting on the desktop.
The fix
There is no documented cure for the 2017 versions. Work it in this order:
- Clear the backlog at the server. Log in to the Sage 100 server console and close each "Missing selection table for column $." pop-up. The stranded sessions should clear from the Master Console as you close them. If the pop-ups cannot be reached, the reported fallback is heavier: shut down Sage 100 and end the stranded sessions in Windows Task Manager on the server.
- Check for a corrupt saved report setting for the activity log report. Sage R&D's one concrete suggestion in the thread: the message is raised while printing the activity log at the end of the job, and a corrupt saved setting could be behind it. Look in SY_ReportSelection for Module: SYS, ReportID: SY_ActivityLogReport_ui (for your company). Honest caveat: the reporting site checked and had no such record, so this check is cheap and worth doing, not a promised fix.
- Keep one task per schedule. A consultant in the thread reported hangs with combined scheduled tasks — a module posting combined with the Daily Transaction Register was the example — and advised against stacking tasks into one schedule. In the reported Build Search Index cases the utility was already the only task, so this is a precaution for your other schedules, not this fault's cure.
- Watch the Master Console weekly until you change versions. Because each night adds one session and sessions consume user counts, a site that ignores this eventually locks real users out. A weekly clear-out keeps it a nuisance instead of an outage.
- Escalate with the evidence if you stay on 2017. Sage R&D already took this case once inside the thread and no resolution was published. If you open a case with Sage Support or your Sage partner, send the Activity Log sequence for a stranded run, a screenshot of the "Missing selection table for column $." pop-up, your exact version and product update, and the result of the SY_ReportSelection check in step 2 — that is the package R&D asked for in the thread.
- Plan the version move. A later community report — a consultant testing 2018.4 — said the earlier Task Scheduler hang for this utility seemed to be fixed by then, while noting they were not clear exactly which version fixed it. That is a lead, not a documented fix: no source names the fixing release. If you are moving off 2017 anyway, re-test the scheduled index build early on the new version.
Causes / why this happens
- The end-of-job activity log print fails with the "Missing selection table for column $." message, and the resulting modal pop-up holds the session open indefinitely — there is no timeout.
- Sage R&D took the case for review inside the thread; no root cause beyond the activity-log print error was published, and no Knowledgebase article covered it at the time (the reporter had already searched).
- The start and stop dates on the schedule being the same day was a red herring the reporter caught himself — a setup slip on his part, separate from the hanging sessions.
What doesn't work
- Setting a default printer. The reporter found Sage KB article 75776 on having a default printer set up and reported plainly that it was not the solution.
- Installing the latest product update. The problem continued unchanged after 2017 Product Update 2.
- Killing the sessions from the Master Console. They cannot be killed there — that is part of the symptom.
Affected versions
Documented on Sage 100c 2017 Advanced Update 1 (2017.1) on Windows Server 2008 R2, and persisting on 2017 Product Update 2. Not confirmed on other versions. A community report suggests the hang was gone in a 2018.4 test, but the fixing version is unidentified — treat anything beyond 2017 as unverified either way.
Prevention / best practice
- Any utility you schedule unattended deserves a Master Console check the next morning for the first week — a job that "completes" in its log can still strand a session.
- Give scheduled jobs a visible failure surface: if a modal dialog can block a session, someone should be looking at the server console regularly, because an unlogged-in server hides the pop-ups entirely.
- Build Search Index matters more than it looks: auto-complete and global search only know about records the index contains, and new customers, vendors, and items stop appearing in lookups when the index goes stale — which is how the reporting site's client noticed the problem in the first place.
Related help
- Run Task Scheduler While Not Logged In
- Sage 100c Window Will Not Open
- Daily Transaction Register Hangs
- Link Maintenance Painfully Slow
Still stuck? Send us a screenshot of the error, we will diagnose it for free.
Digit Masters has supported Sage 100 and Sage 300 since 1997. Send the screenshot through our contact page or to contact@digitmasters.com, or call (800) 965-4262.