Problem with FoxPro application on Win2k Server in Terminal Services
Posted on 2006-10-19
I've got a real weird problem: I've got an application written in FoxPro (recent version), that is mostly accessed by people using terminal services on the Win2k server to access it. At seemingly random times, people are kicked out of the app with an error, and often subsequent restarts of the app fail with a Windows error message (unfortunately I don't have the exact wording at the moment, but it says something about Fatal Error, no real other description or numbers).
The odd part is that it starts affecting a few handful of profiles, then seems to get worse with time. There is one profile that seems to generally always work. Even the Administrator account will do it.
If I copy the file some where else, then copy it back over itself, the problem goes away! For a while.. then a week or two later, it starts coming back.
If I access the same file through a share, and load it on a remote workstation, it runs fine.
I've checked and double-checked permissions, and all is ok. There doesn't appear to be any write-lock on the file when this problem occurs.
I've spoken with the software authors, and they said that the error is not coming from FoxPro, as their error dialog boxes look different - it is some microsoft windows error message we're seeing. Everyone is stumped. This is a fairly fresh install of Win2k Server, so there's not much else on it that could be messing up. No spyware or viruses.
Any idea what I should look for? The strange thing is that it is pretty random, and only affects certain profiles... at first. When it was bombing out, I tried creating a new profile, but still no dice, so it doesn't seem to be too tied-in to the profile data.