KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q90227: Changes Lost or Cannot Save Changes

Article: Q90227
Product(s): Microsoft Windows 3.x Retail Product
Version(s): WINDOWS:3.1
Operating System(s): 
Keyword(s): 
Last Modified: 30-SEP-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows for Workgroups version 3.1 
-------------------------------------------------------------------------------

SUMMARY
=======

Many MS-DOS-based and Windows-based applications handle files in a way that
allows data loss to occur in a peer-to-peer multitasking environment. Data loss
can occur if an application opens and closes a data file that is being edited.
This includes some network-aware applications that make no provisions for a
peer-to-peer environment, and instead assume all networks follow the
client/server model.

MORE INFORMATION
================

When you open a file, Windows for Workgroups assigns ownership of that file to
you. If your application closes the file once it has loaded it into system
memory (RAM), Windows for Workgroups no longer thinks the file is owned by you
or anyone else. This allows another user to access and modify the file. The same
can be true for files and applications run on remote servers, again dependent on
the application.

Windows for Workgroups (as with other networking environments) allows other
users, locally and remotely, to access and modify files if they are not locked.
When you attempt to save changes to a data file, you may be denied access if
another user has opened the file, or, if another user has modified the file, the
changes made will be lost when you save your changes. Applications written
assuming they will only be run on a single-tasking, non-networked platform
encounter these problems occasionally.

If you are not able to save changes because another user is accessing your data
file, try to save your changes under a different filename. Depending on the
application and the data file in question, integrating the two files may be
difficult.

Manually lock your data files using a file-locking utility such as the MS-DOS
command ATTRIB. You only need to lock files that other users can access (those
that are on a shared drive.)


Additional query words: 3.10

======================================================================
Keywords          :  
Technology        : kbAudDeveloper kbWFWSearch kbWFW310
Version           : WINDOWS:3.1

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.