PRB: Incorrect Number of Bytes Written to DiskLast reviewed: June 27, 1995Article ID: Q131611 |
The information in this article applies to:
SYMPTOMSYou see this error message:
Incorrect number of bytes written to disk - source file or destination disk may be corrupted - use ChkDsk. CAUSECOMPRESS.EXE is an MS-DOS-based application that is called by the Setup Wizard. If there isn't enough conventional memory, the application fails and displays this error message.
WORKAROUNDManipulate the DKSETUP.INI generated by the first run of the Setup Wizard. Change the value of SplitSize, doubling or quadrupling the given value of 363520. This eases the memory requirements for COMPRESS.EXE, giving it less to do.
Steps to Modify DKSETUP.INIEach application built using SETUP.APP produces a DKSETUP.INI file in the application Source directory. In this file, find this entry:
SplitSize= 363520Change this entry to one of the following:
SplitSize= 727040 -or- SplitSize= 1454080If you use the 727040 setting, you will not be able to distribute low-density 5.25" disks, and if you use the larger 1454080 setting, you will not be able to distribute low-density 3.5" disks. After making this change, you can no longer distribute certain low-density disks, but you can build larger applications. If your tables have a lot of data, you may want to use PKZIP to compress the files and add a separate data installation subroutine to your application, as described in the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119284 TITLE : How to Distribute a Large Database with an ApplicationThe Setup Wizard limits you to 10 disks. The information in Q119284 helps you work around that limitation.
STATUSThis behavior is by design.
|
Additional reference words: FoxWin 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |