Have an issue with an application. They are reporting that when running under Windows 10 (Pro) the app is intermittently crashing, while the Windows 7 machines are running just fine.
Am supporting another app using both OS's and works fine.
Not even sure at what I should look at. Am reviewing the tables for any oddities,
Any suggestions/thoughts? TIA, Desmond
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
Do you use third party ActiveX tools? The csmail tool I used stopped working in Windows 10. It will send out some emails then the vfp app just cloy. I find an error in the windows event viewer regarding my application crashing.
Have you looked in the event viewer?
HTH, Tracy
On September 18, 2019 6:51:55 PM EDT, Desmond Lloyd desmond.lloyd@gmail.com wrote:
Have an issue with an application. They are reporting that when running under Windows 10 (Pro) the app is intermittently crashing, while the Windows 7 machines are running just fine.
Am supporting another app using both OS's and works fine.
Not even sure at what I should look at. Am reviewing the tables for any oddities,
Any suggestions/thoughts? TIA, Desmond
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/CAAJXvaOfSB3ee6t=F5jhGJSZc8Mxd828O=1BuGkwZv... ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Report [OT] Abuse: http://leafe.com/reportAbuse/CAAJXvaOfSB3ee6t=F5jhGJSZc8Mxd828O=1BuGkwZv0cMm...
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
Hi Desmond, Make sure that on those Win10-boxes the SMB-Caching is switched off. If not, that would lead to index corruption, which in turn crashes the application.
The easiest way to set those settings is by running this MSI package, which just sets three RegistryKeys: https://www.dropbox.com/s/aa9vwwup1u8h2zy/OPLock_Set_SMB2-infocache.msi?dl=0 The benefit of that MSI is, that you can deploy it as a GPO (GroupPolicy), targeted for any Domain-Computer.
If you want to set those keys directly, then on every Client-PC (not Servers!) at HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\LanmanWorkstation\Param eters
Set this keys to a value of 0 FileInfoCacheLifetime FileNotFoundCacheLifetime DirectoryCacheLifetime
In your App you could query those RegKeys and show a warning if not zero. (You normally can't change them from your app, since they are at machine-level and therefor need Admin-rights to modify)
With kind regards from Bavaria
Jürgen Wondzinski Visual FoxPro Evangelist Microsoft "Most Valuable Professional" from 1996 to 2009, "Servoy Valued Professional 2011
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von Desmond Lloyd Gesendet: Donnerstag, 19. September 2019 00:52 An: ProFox Email List profox@leafe.com Betreff: VFP9 App: Running on Windows 7 and Windows 10
Have an issue with an application. They are reporting that when running under Windows 10 (Pro) the app is intermittently crashing, while the Windows 7 machines are running just fine.
Am supporting another app using both OS's and works fine.
Not even sure at what I should look at. Am reviewing the tables for any oddities,
Any suggestions/thoughts? TIA, Desmond
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]
Make sure that on those Win10-boxes the SMB-Caching is switched off. If not, that would lead to index corruption, which in turn crashes the application.
Don't do this unless absolutely necessary or it will destroy performance on multiuser applications. The problem that this solves has been solved by Microsoft in Windows 10 1809.
Hi Alan,
do you have a link to some Knowledgebase entry to your advise?
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von Alan Bourke Gesendet: Donnerstag, 19. September 2019 10:05 An: profox@leafe.com; profoxtech@leafe.com Betreff: Re: VFP9 App: Running on Windows 7 and Windows 10
Make sure that on those Win10-boxes the SMB-Caching is switched off. If not, that would lead to index corruption, which in turn crashes the
application.
Don't do this unless absolutely necessary or it will destroy performance on multiuser applications. The problem that this solves has been solved by Microsoft in Windows 10 1809.
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]
I only have the direct experience of sites who had corruption issues with Windows 10 1803 initially. Where we turned SMB caching off, 50% of them were rendered nearly unusable due to speed issues. Subsequent monthly updates to 1803 and 1809 seem to have resolved whatever Microsoft broke in SMB that was causing issues for VFP (and MS Access) users. As far as I'm aware there are no KB articles that either detail what they broke in SMB in the first place, or what they fixed. Not that I can find, anyway.
So this is only relevant if you're using DBFs, right?
On 9/19/2019 8:01 AM, Alan Bourke wrote:
I only have the direct experience of sites who had corruption issues with Windows 10 1803 initially. Where we turned SMB caching off, 50% of them were rendered nearly unusable due to speed issues. Subsequent monthly updates to 1803 and 1809 seem to have resolved whatever Microsoft broke in SMB that was causing issues for VFP (and MS Access) users. As far as I'm aware there are no KB articles that either detail what they broke in SMB in the first place, or what they fixed. Not that I can find, anyway.
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
On Wed, Sep 18, 2019 at 6:52 PM Desmond Lloyd desmond.lloyd@gmail.com wrote:
Have an issue with an application. They are reporting that when running under Windows 10 (Pro) the app is intermittently crashing, while the Windows 7 machines are running just fine.
Did they just start running under Windows 10, or has the problem suddenly arose?
If they just suddenly started running Windows 10 machines, the Windows Update control panel applet needs to be run and updated and rebooted several (to many) times before the machine is ready to roll.
IME, every Patch Tuesday (September 10th this month) has brought instability to some Windows apps. One client who runs VFP on a remote server inside multiple VMs and using Remote Desktop to access has to reboot both the workstation and server VMs every month after applying updates. "Something" in their configuration outside of my responsibility to fix.
If the Windows 10 is new, have you re-installed the VFP app on the Win10 machines. Dependencies aren't properly registered otherwise.
ActiveX/OCX controls installed by default in earlier versions are missing from Win10. In addition, 32-bit support on 64-bit machines is incomplete. I don't seem to be able to locate the thread in the archives, but there's something (VC runtimes? Common Controls? Something.) that may need to be installed manually.
Am supporting another app using both OS's and works fine.
Not even sure at what I should look at. Am reviewing the tables for any oddities,
Any suggestions/thoughts? TIA, Desmond
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
My FabMate app from 2003 (updated to VFP9SP2 way back when, using DBC/DBFs) worked great on one client's network until they upgraded to Windows 10 machines on the clients...and then things got wonky. Made no sense and I honestly don't recall the particulars too well but I moved them to the latest version of that product line (FabNet) which does NOT use DBC/DBF but MariaDB (MySQL) and all the problems went away.
Again, can't recall the particulars but there was something not behaving with respect to Win10 clients accessing DBC/DBF on their Windows Server 2016.
On 9/18/2019 6:51 PM, Desmond Lloyd wrote:
Have an issue with an application. They are reporting that when running under Windows 10 (Pro) the app is intermittently crashing, while the Windows 7 machines are running just fine.
Am supporting another app using both OS's and works fine.
Not even sure at what I should look at. Am reviewing the tables for any oddities,
Any suggestions/thoughts? TIA, Desmond
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]