I run 8 locations using RMS and I only have a problem with one of them stalling during the "Check for Synchronization". In debug mode the last message is "Entering ExecuteState_CheckSynchronization - Retrieve synchronization fields". The HQ Client then stalls and times out. If i END PROGRAM by using Task Manager and restart everything works and connects fine. The problem is our locations are updated every two hours and this particular store will not connect for days because it stalls.
HQ Client Synchronization Stall
Jan 28, 2006
4 Replies
I use a couple of vbs scripts to start and stop the service daily and that seems to have solved a few problems for me. Are you running yours as an executable or as a service? Usually this type of thing is because there is some networking problem - bad connection, or in my case a bug in W2k3Sp1
-solved with a hotfix.
"Joey@legends-sports" wrote:
Stop Service.vbs: =====================================================strComputer = "." booldebug = false
Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colServices = objWMIService.ExecQuery _ ("SELECT * FROM win32_Service")
For Each objService in colServices
if booldebug = true then
msgbox objService.name end if
if lcase(objService.name) = "hq client" then objService.StopService()
if booldebug = true then
msgbox "Service Stopped" end if
end if
Next ====================================================Start Service.vbs: =====================================================strComputer = "." booldebug = false 'set to true to bring up the pop up message box for debugging
Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colServices = objWMIService.ExecQuery _ ("SELECT * FROM win32_Service")
For Each objService in colServices
if booldebug = true then
'msgbox objService.name end if
if lcase(objService.name) = "hq client" then
objService.StartService() if booldebug = true then
msgbox "Service Started"
end if
end if
Next ====================================================
Thanks for taking your time to answer me. I think we're on the right track because the only difference with this one locaton is a PPPoE DSL connection. So far that was the only thing I could think of as being the problem. I'm going to try this , I'll post when I've completed and let you know how it turns out. Thanks again for all you help ozzie.
I should mention this only works if the client is run as a service, and you may need to change "hq client" to whatever the name of the service is. I then just set up a scheduled task to kick it of in the morning to start it, and evening to stop it. Depending on exactly what is going on, you may need to change the frequency and interval.
Anyhow, I h> Thanks for taking your time to answer me. I think we're on the right track
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required