Microsoft KB Archive/106062

PUB2: Err Msg: "Can't Write to File" When Saving Changes

= PUB2: Err Msg: "Can't Write to File" When Saving Changes =

Q106062
- The information in this article applies to:

- Microsoft Publisher versions 2.0 and 2.0a - Microsoft Word for Windows, version 6.0 - Microsoft Works for Windows, version 3.0 - Microsoft PowerPoint for Windows, version 4.0 -

SYMPTOMS

=
When you try to save a Publisher 2.0x file after making some modifications, you may receive the following error message:

Can't write to file.

Publisher can no longer write to [filename] on the disk. Your hard disk may be full, or you may have hardware problems. Please exit Publisher, check to make sure your hard disk is not full, check for hardware problems, and try again. Press F1 now if you want information on possible solutions.

This problem may occur in any OLE application for several reasons.

IF YOU ARE USING MS-DOS 4.01

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

Under MS-DOS version 4.01, it appears that the application can no longer find the hard disk location of the open file, or you may no longer be able to save the file.

To eliminate this problem, add the following line to your Config.sys file

INSTALL= \SHARE.EXE [/L:500] [/F:5100]

where is the drive and directory where your Share.exe file is located. For example, if Share.exe is located in your DOS directory on drive C, add the following line:

INSTALL=C:\DOS\SHARE.EXE [/L:500] [/F:5100]

After you restart your computer, you should be able to save changes in Publisher 2.0x and other OLE applications without any error.

IF YOU ARE USING ANY OTHER VERSION OF MS-DOS

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

When installing Microsoft Publisher, Setup will add a line to your Autoexec.bat file with the following parameters

c:\ \share.exe /L:100

where is the drive and directory where your Share.exe file is located. For example, if Share.exe is located in your DOS directory on drive C, you would see the following line:

c:\dos\share.exe /l:100

This setting may be too low if you are using several OLE objects in your publication. Each time you select an OLE object to be placed in your publication, you use locks. (This is the /L:100 parameter; with this parameter, you are setting locks to 100.)

By changing this parameter to a higher number, you will be able to save these larger publications with several OLE objects in them. Change the paramters to the following:

c:\dos\share.exe /F:5100 /L:500

MORE INFORMATION

=
===

Steps to Reproduce Problem under DOS 4.01 --

1. On a computer using MS-DOS 4.01, start Publisher 2.0 or Word 6.0 for Windows.

2. If you are using Word 6.0 for Windows, turn off the "fast save" feature.

3. In the new, blank publication or document, create a WordArt object.

4. From the File menu, choose Save. Name and save the file.

5. Delete the WordArt object.

6. From the Edit menu, choose Undo.

7. From the File menu, choose Save.

The error message appears.

Additional query words: 2.00 2.00a mspub pub20 win31 save lose lost publication file document