This article was previously published under Q299603
When one user shuts down a Visual FoxPro application that runs on Windows 2000 under Terminal Services and uses networked data (either a mapped drive or a UNC path), the other users see the following error message:
Error reading file.
NOTE: This is error 1104.
This is caused by a problem with the Terminal Services network redirector. For performance reasons, the Windows 2000 redirector holds one file handle for each table that is open, and shares it between the sessions. When one session logs off, that handle is released, causing all other sessions to receive Error 1104 when they access the file handle.
To resolve this problem, try one of the following methods:
The most reliable resolution to this problem is to put the data on the local computer. For additional information on how to do this, click the article number below to view the article in the Microsoft Knowledge Base:
294816 Programs Run from Network Share on TS Close or Generate Errors
There is a fix to the redirector that works in some situations. First, test the data locally. If that works, see the following Knowledge Base article for information on how to obtain the fix:
818528 Problems When More Than One User Accesses the Same File Through Terminal Services
If the data files reside on an Windows NT 4.0 File Server, move the data to a Windows 2000 File Server.