` TPS file error 530: TPS File corruption (Sean Stockbridge ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: TPS file error 530: TPS File corruption
2005-08-05 -- Sean Stockbridge
 
I have had big problems with TPS file corruptions recently, for no apparently reason. I have finally got to the cause and thought it maybe something you might like to add to your FAQs. For the last 2 years we've had occasional TPS file error 530 on some of the files used by our webapps on a Windows 2000 based network containing 4 servers. The corruption has got a lot more frequent since I updated our forum section recently, adding to the frequency of updates of one of the files. I've been through all my code and could find nothing wrong and no explanation for it. Out of sheer desparation, I gave up looking at my program and started looking around Microsoft site and found a very interesting document which I think perhaps you should be aware of in case someone else suffers the same problem. http://support.microsoft.com/kb/q148367 When using a file via a file share, if the file is updated by several people, such that the file doesn't change it's size and the file is updated more than once in a 2 second period, Windows caching VREDIR serves the requests from cache and not from the file on disk. This is what has been corrupting some of our database files. The corruptions magically stop when you add the following registry entry :- HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VREDIR Value Name: DiscardCacheOnOpen Value: 01 00 00 00 This registry entry is not set up by Windows during install.


Today is November 21, 2024, 3:49 am
This article has been viewed 35232 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: