PRB: Repeated Open / Close DBF May Cause "Illegal Seek Offset"

Last reviewed: January 21, 1997
Article ID: Q162412
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6, 2.6a

SYMPTOMS

An "Illegal Seek Offset" error message, followed by a "File In Use" error message may be generated on a workstation (or session of FoxPro for Windows) that is running a program or run-time FoxPro executable, which is repeatedly opening and closing the same FoxPro for Windows database file.

This error may occur only while a second workstation (or session of FoxPro for Windows) is running a program that is seeking to read a record in the first FoxPro for Windows database file and then update a second FoxPro for Windows database file.

CAUSE

PCAnywhere version 7.5 by Symantec adds the following line to the Windows 95 registry:

   [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\SYMEVNT]
   "StaticVxD"="C:\PROGRA~1\SYMANTEC\SYMEVNT.386"
   "Start"=hex:00

RESOLUTION

Download the latest patch file (currently version 7.5a) named Symevnt.exe. This file is a self-extracting .exe file available from Symantec's BBS at (541) 484-6669. Connect to Symantec's Web site at http://www.symantec.com on the World Wide Web for more information on how to obtain this file update.

Search the Windows 95 registry file for the string "Symevnt.386" and remove the value reference.

MORE INFORMATION

When you install PCAnywhere, it installs a file named Symevnt.386 and modifies the Windows 95 system registry file. FoxPro for Windows or executable applications created from FoxPro for Windows may give you an "Illegal Seek Offset" error message.

In most cases where the error message "Illegal Seek Offset" was observed, it was followed by a spurious "File In Use" error message.

PCAnywhere is manufactured by Symantec, a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Perry Newton, Microsoft Corporation


KBCategory: kbenv kbprb
KBSubcategory: FxenvOs FxenvError FxinteropGeneral FxotherReference
Additional reference words: 2.50 2.50a 2.50b 2.60 2.60a FoxWin kbdsd



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.