I just finished my testing and its working reliably with my local 2021 Std install. While the issue happens locally with Standard as well as from a network share, I don't know if this is an issue with 2021 Advanced or Premium. Anyone?
What changed with version 2021? According to the "What's New" section:
Edge uses (and keeps open) files in the "WBWebView" sub folder of the "Sage 100" folder which is a sub folder of "> This PC > Documents >" folder. If you use OneDrive
personal for the Documents folder, its synchronizations will frequently hang Sage 100 as Wayne and I have been witnessing. I don't know how this applies to OneDrive Business subscriptions. I also have a Business subscription, but that's not what I use for the Documents folder.
Other than excluding the Desktop, Documents or Photos folders in their entirety,
OneDrive does not support folder exclusion. It may appear that it does since it has a "Choose folders" option, but this setting will remove the local folder when de-selected. Although Sage 100 will re-create the folder, one needs to do this while OneDrive is not running so that a synchronization error is intentionally created.
That's the required "trick" so that the re-created "Sage 100" folder doesn't automatically become a "chosen" folder again and start sync'ing. To use this remedy, one also has to be willing to live with a red X on the OneDrive icon on the Windows Taskbar. If there's no red X, then OneDrive is happily sync'ing and Edge will throw a tantrum that will involve its wise parent.
These steps are
only for those who have their "> This PC > Documents >" folder (I'll call it Documents below) backed with OneDrive. They do not apply to the "C:\Users\<<user>>\Documents" folder which is supplanted by the OneDrive Documents folder. Hopefully, this work-around will only be necessary until Sage addresses it or Microsoft deploys folder exclusion.
- You can save the contents of the original Documents folder, but Sage 100 will re-create it if you don't.
- Delete the "Sage 100" folder and respond "No" to whether to keep files online, if not prompted, then ensure the folder is removed in OneDrive online.
- Add a new "Sage 100" folder and let it Sync
- Note: this will become an empty conflicting folder online
- The new folder wouldn't show as sync'd so I created an empty text file in it and it then immediately reflected as sync'd.
- In the OneDrive client, select Settings, Choose Folders and uncheck the folder "Sage 100" which will cause the newly created folder to disappear, but remain online.
- Close OneDrive (just pausing it won't work)
- Repeat steps 2-5 on any other computers that run Sage 100, share the same OneDrive identity and online Documents folder.(I don't think sharing the Documents folders among several computers is typical)
- Create another new "Sage 100" folder in the Documents folder for those computers in this repeated group.
- Re-start OneDrive on these systems - you should see a red X over the white cloud
- If you saved the contents of your original Documents folder you can copy those back now
- Start Sage 100
------------------------------
Dan Burleson
Software Consultant
Connex Software
Corvallis OR
541-224-6642
------------------------------
Original Message:
Sent: 05-22-2021 08:28
From: Wayne Schulz
Subject: Random freezing Sage 100 2021
I have the same observations. So far what I'm testing is to only exclude the Sage 100 folder from syncing in the Documents folder.
Note that this does not appear to stop files from continuing to be placed nto the OneDrive folder - only from synchronizing them which is what may cause the freezing issue
If you delete the \Sage 100 folder from your OneDrive and keep the OneDrive installed you will notice that \Sage 100 is recreated in that OneDrive folder the next time you log back in. What doesn't happen though ( provided you turn off the sync of that \Sage 100 OneDrive folder ) is the syncing which as Dan points out may get hung up on several of the files that Sage now seems to keep open in that local folder.
I too found I was NOT able to work around this by right-clicking "Always keep on this device". While it would seem like this would keep an untouched copy of the files on the local machine that doesn't seem to be the case as there looks to be some type of synching going on which is perhaps conflicting with Sage.
So far what seems to be working is to disable the \Sage 100 folder from being shared to multiple computers
------------------------------
Wayne Schulz - Schulz Consulting - 860-516-8990
------------------------------
Original Message:
Sent: 05-22-2021 05:12
From: Dan Burleson
Subject: Random freezing Sage 100 2021
I have the entire "..\Documents\Sage 100" set to "Always Keep on this Device" and it still happens. This doesn't happen on other versions (same laptop) either as an Adv workstation or Std. I do see a difference in how the files in the "..\Documents\Sage 100" folder are managed. In 2021, many files are left open when the launcher is idle, whereas in prior versions files are only opened briefly. If one opens "File Explorer" to the "..\Documents\Sage 100\WebView2\EBWebView" folder and watches the "Status" column the open files can be seen with a recycle icon meaning the file is open or uploading. While idle, it never goes back to a green circle w/check so I assume it is open. A lock file ("lockfile") is also created and left open while only the launcher is running. No lock file is created in 2020 Std and no files are left open when only the launcher is idle.
As Wayne points out one can exclude the entire "Documents" folder, but there's no value for me to just backup (or share) the Desktop and Pictures. There are many complaints about this online and Microsoft has recently provided exclusions at the file level, but not the folder level. Click -> here <- for an article that describes a method to exclude one folder, but the downside is that it leaves a red X across the OneDrive icon in the taskbar.
------------------------------
Dan Burleson
Software Consultant
Connex Software
Corvallis OR
541-224-6642
Original Message:
Sent: 05-21-2021 14:44
From: Wayne Schulz
Subject: Random freezing Sage 100 2021
------------------------------
Wayne Schulz - Schulz Consulting - 860-516-8990
Original Message:
Sent: 05-21-2021 14:07
From: Phil McIntosh
Subject: Random freezing Sage 100 2021
Oh great, I can see the KB now:
Solution - Don't use any continuous backup software on your Documents folder.
------------------------------
Phil McIntosh
President
Friendly Systems, Inc.
Asheville NC
678.273.4010 ext 5
Original Message:
Sent: 05-21-2021 10:02
From: Wayne Schulz
Subject: Random freezing Sage 100 2021
I'm still testing this
I had not previously loaded Sage to this laptop so I can't say if this is an issue that only just arose with v2021 or if it might be an issue that would have appeared with prior versions as well.
I also do not know if this is the resolution but am hopeful that the issue will go away.
I think this is more of an environmental issue but if this fix works I suspect I may run into one or two other sites down the road with a similar problem.
------------------------------
Wayne Schulz - Schulz Consulting - 860-516-8990
Original Message:
Sent: 05-21-2021 09:46
From: Wayne Schulz
Subject: Random freezing Sage 100 2021
I wonder if having OneDrive sync my documents folder could be causing this?
------------------------------
Wayne Schulz - Schulz Consulting - 860-516-8990