You receive an "Error reading file" error message in Windows 2000 Terminal Services

Article translations Article translations
Article ID: 299603 - View products that this article applies to.
This article was previously published under Q299603
Expand all | Collapse all

SYMPTOMS

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.

CAUSE

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.

RESOLUTION

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.

Properties

Article ID: 299603 - Last Review: January 24, 2005 - Revision: 5.4
APPLIES TO
  • Microsoft Visual FoxPro 6.0 Professional Edition
  • Microsoft Visual FoxPro 7.0 Professional Edition
  • Microsoft Visual FoxPro 8.0 Professional Edition
  • Microsoft Visual FoxPro 9.0 Professional Edition
Keywords: 
kbprb kbtermserv KB299603

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com