Hi In addition to the previous email. (noise of a can of worms slowly being opened in background)
Since we have started using XP we have had, both internally and with customers, numerous problems where xp seems to leave a lock on a file even after a user has closed it(delphi apps,office,myob). If you try to access the file again you get an error (If the application is nice it tells you that someone else is using it). You either need to restart the server/machine or go into computer managent and delete the lock that way. This is with xp clients and 2000 server (non xp clients seem to clear locks ok when they are finished with a file). We also open files in a licence directory user.001 user.002 etc to keep track of the number of users running our program. The licence program trys to lock each file exclusively until it find one not locked and keeps hold of that. Occasionally things go a bit strange and when trying to a file exclusively it seems to wait for about 30sec before timing out and carrying on to the next file. Again with XP clients. This has worked with no problems for 5+years until XP. Finally I have had a problem where a delphi program opens a file (assign,reset) reads the data and then updates the information (rewrite). This seemed to put a lock on the file and I needed to reboot the server. Fixed it by closing the file, deleting it (deletefile) and then reopening it for writing (assign,rewrite). This was with a win98 client and a XP server. This also has worked for 5+ years until XP! Most of these problems seemed to have appeared with SP1 I think We have tried switching off opportunistic locking as per the microsoft website with limited or no success. I am not sure if all these problems are related (appart from all being in XP) Are there others having these problems and what if anything have you done to try and get around them? Is everyone else, like me, waiting/praying for SP2 in hope that it will fix the problems? Thanks Warren ps Also does anyone else get the problem in notepad where you use the mouse to position the cursor at the end of a line and then text you inert seems to do between the CR and LF so the next line comes up? This must be in the common controls as the the memo control in delphi also exhibits this behaviour. pps Apart from the above I think that XP is pretty neat really. Definitely like the faster start up and shut down times. -----Original Message----- From: Paul A Norman [mailto:[EMAIL PROTECTED] Sent: Friday, 28 November 2003 12:48 p.m. To: [EMAIL PROTECTED] Subject: [DUG] Xp File Access Error Hi, Anyone struck a situation where a prog is installed on an Xp machine as Admin, but sometines it throws File Access Exception errors when user, as Admin, even tries to save a simple text file from with in prog? Or make directories on the same drive useing forecdirectories? This is a fickle problem. Also a paradox databse freezes sometimes on that machine - new machine, clean install, and Xp updated. Prog works fine on two other Xp machines, 98 and I think a 95 machines. Any thoughts appreciated Paul [EMAIL PROTECTED] http://PaulANorman.com Ph NZ 021 782 433 Fx NZ 021 292 2433 Overseas: Ph. +6421782433 Fax +64212912433 P.O. Box 1005 Nelson 7015 New Zealand ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal For more information please visit www.marshalsoftware.com ##################################################################################### _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
