"Stream read error" when compiling [SOLVED]

Compiling my site using version 4.5. Files all get compressed just fine. When it gets to the end of compiling I just get “Stream read error”. No file is created and there’s no other info. What is the cause of this error? Running Windows 7 SP1.

Here’s the log file:

HTML Executable Compilation Log
Version 4.5.1

Publication Information

  • Type: Interner-Explorer based Viewer (IEViewer)
  • Title: Command Web Core IMI
  • Company: XXXXXXXXXXXXXXXX
  • Date/Time: 7/24/2013 4:35:43 PM
  • File Virtualization Settings: max. file size: 25 MB, storage capacity: 64 MB.

Reading Parameters
Checking publication settings…
Preprocessing source file lists…
First check done: the compilation may continue.

Compressing Files
Listing files to be compressed…
Beginning file compression…
Notation: U=Uncompressed Size, C=Compressed Size (in bytes).

File List:
--------List deleted to save space. All compressed successfully.---------

File compression done.
Number of files: 489
Total uncompressed size: 474954563 byte(s)
Total compressed size: 371822695 byte(s)
Compression ratio: 22%

Writing Publication
Writing publication basic settings…
Writing language table…
Compiling skin data files…
Processing file properties…
Processing map IDs…
Collecting internal resources…
Generating data for navigation panels and menus:

  • Favorites Panel
  • Image Resources
    Processing custom HTML dialogs:
  • dlgaddfavorite.htm
  • dlgabout.htm
    Compiling scripts for the publication:
  • Main Script…
  • Localization Script…
  • Global Commands Script…
  • Favorite Manager Script…
  • Internal HTML Dialog Scripts:
    o dlgaddfavorite.hex
    o dlgabout.hex
  • User Scripts:
    o Script "UserMain"
    o Script “Macros”

All scripts were compiled and linked.
Adding anti-debugger check…
Generating publication final data…
Generating publication executable file…

  • Generating EXE resources…

FATAL ERROR
The following error has occurred during compilation:
Stream read error

Figured it out. Had something to do with trying to add a custom icon. Took that off and it worked fine. Redid the icon and it works fine now, too.