Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

Synapse doesn't allow Updating.

Last post 01-01-2010, 9:30 PM by Jason. 14 replies.
Sort Posts: Previous Next
  •  11-26-2006, 10:45 PM 1557

    When I see my handy "A new Synapse Version is available", I am eager to get it.  I usually hit [Restart]. 

    Inevitably, when I then hit [Upgrade] I get the "can't upgrade b/c still in use".  I know that's from the synapse.exe server running.  I often will right click on it, select [quit] before I hit [Upgrade] and that gets around the problem. 

    Most users aren't so crafty.

    Is it possible to either

    (1) the [Restart] button also closes the webserver

    (2) the [Upgrade] button closes the webserver if it is open

     




    Developer
  •  11-26-2006, 10:47 PM 1558 in reply to 1557

    Re: Synapse doesn't allow Updating.

    To top it all off,

    I get this message to remind me of my "forgetting to shut down the webserver" faux pas.

     




    Developer
  •  11-26-2006, 10:48 PM 1559 in reply to 1558

    Re: Synapse doesn't allow Updating.

    If the name already exists ... can't you use that .exe or write over it ?

    :)



    Developer
  •  11-26-2006, 10:53 PM 1560 in reply to 1557

    Re: Synapse doesn't allow Updating.

    There is code to shut down the web server during the upgrade process ...never fails for me.

    I need to investigate why it doesn't work for you ...

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
  •  04-04-2007, 6:59 PM 3459 in reply to 1560

    Re: Synapse doesn't allow Updating.

    This PC ( my secretary's ) always has the same problem : says the .exe is being used.

    Ideas ?

    I wonder if it is a problem when syanpse is not installed on the C drive.

    In this case the M: drive.

    I have another PC that is installed on D:Drive.  I think it updates erratically as well.  All my other PCs are flawless.




    Developer
  •  04-04-2007, 7:02 PM 3460 in reply to 3459

    Re: Synapse doesn't allow Updating.

    the problem is that there is *ANOTHER* synapse .exe running.  So when I shut down the synapse.exe and the webserver synapse.exe ... there is still another synapse.exe !  Must be from a different synapse running and it crashed and my secretary launched another synapse.exe.  This phantom synapse.exe is 45,000K and the other two are 23,000K and 19,500 K.

    Developer
  •  04-04-2007, 7:04 PM 3461 in reply to 3460

    Re: Synapse doesn't allow Updating.

    I am launching synapse.exe via an UltraMon Launcher.  Wonder if that is it.

    "M:\Program Files\UltraMon\UltraMonShortcuts.exe" /l M:\Documents and Settings\All Users\Application Data\Realtime Soft\UltraMon\ShellShortcuts\Shortcut to synapse.exe.umshortcut

    Hmmm.......



    Developer
  •  04-04-2007, 7:11 PM 3462 in reply to 3461

    Re: Synapse doesn't allow Updating.

    That will be it.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
  •  04-04-2007, 7:15 PM 3463 in reply to 3462

    Re: Synapse doesn't allow Updating.

    Graham:

    That will be it.

     

     

    Y ?

    Does the synapse.exe remember where it was "launched from" idea ?

    ie. so it knows where to rename ?

     



    Developer
  •  04-04-2007, 7:18 PM 3464 in reply to 3463

    Re: Synapse doesn't allow Updating.

    Some of these launchers automatically restart the program if you quit.

    Synapse has to know where it was launched from so that it can do the renaming.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
  •  04-04-2007, 10:32 PM 3473 in reply to 3464

    Re: Synapse doesn't allow Updating.

    Graham:

    Some of these launchers automatically restart the program if you quit.

    Synapse has to know where it was launched from so that it can do the renaming.

     

    I was using the launcher for controlling which monitor Synapse would startup on.  It wasn't that useful anyway.   I think I can tweak what directory it's launched from but I just got rid of it for now.



    Developer
  •  10-25-2007, 4:51 AM 4467 in reply to 3473

    Re: Synapse doesn't allow Updating.

    I still get this problem when orphaned synapse.exe (presumably the synapse.exe -  server type) are running in the background.  In this case I had five synapse.exe files running.  To update the client, I needed to [End Process] for them all.  (top screen).

    However, when I ran synapse.exe again to update the client, I got the second screen - I assume that is because the updated client had downloaded already.  

    I think the less savy user who doesn't know how to control + alt + del and manually close running .exe files will have to reboot their computer.  Probably not a good plan.

     

    Possible solution:

    When executing synapse.exe ... synapse.exe should look for other running synpase.exe files and shut them down.  This would ensure easy updating by avoiding the failure of synapse.exe from being deleted (before synapse211.exe can be renamed to synapse.exe).

     

    I do see this message in a DOS window. 

    Installing new version of Synapse EMR Client (synapse.exe)
    This process will take few moments to complete...
    If it fails due to "Access Denied", then shut down the
    web-server first
    by right clicking on icon in system tray before doing upgrade.
     
    Waiting 5 seconds
     
    1 file(s) copied.
    1 file(s) copied.
    ... Completed.
    This DOS window will disappear when you quit Synapse.

     

    The problem with that is I don't think shutting down 1 webserver with the icon, will close the other synapse.exes.

    I don't know if having phantom webservers running in the background is a problem for either a security or reliability standpoint.  I assume not as this happens a fair amount.  When we were updating the cleints more regularly before ... I ran into this alot.

    Why do I have so many synapse.exes running ?  I think it is from resetting the server PC here and there.  Not entirely sure though.

     

     

     




    Developer
  •  10-25-2007, 3:49 PM 4473 in reply to 4467

    Re: Synapse doesn't allow Updating.

    Well, I never see 5 Synapse processes running .. I'll have to investigate if there is any way I can shut them down.

    Graham Chiu
    Beta Downloads and Documentation Wiki
  •  10-25-2007, 4:18 PM 4474 in reply to 4473

    Re: Synapse doesn't allow Updating.

    I'm not sure why it happens.  I think it's when I shut down the server computer too much.  Then when I reset the client computer hours later, I just restart synapse.  I'll try to keep my eye on why it happens and how I can reduce it.

    Developer
  •  01-01-2010, 9:30 PM 9506 in reply to 4473

    Re: Synapse doesn't allow Updating.

    Graham:
    Well, I never see 5 Synapse processes running .. I'll have to investigate if there is any way I can shut them down.

    That might help.

    But it's not the only reason why the Update fails.

    I'll help try to debug it ... as I get it too.

    I usually just end up renaming synapse.exe to synapseDFDF.exe  and synapse.new to synapse.exe.

    This would likely confuse many users.

     

     



    Developer
View as RSS news feed in XML
Try-out the Click to try-out Synapse EMR Express Edition Free Synapse EMR Express Edition Click to try-out Synapse EMR Express Edition · ©2006 SynapseDirect · Terms and Conditions · Privacy Policy · help us keep Synapse EMR Express free for all Doctors

managing your electronic medical records · Unique Visits Dell Computer