Various errors can mean that your labels file is corrupted and is unreadable by your program. Some of the common errors are:

- MFC Application error. This program has encountered a problem and will now be closed by Windows.

- This program has performed an illegal operation and will be shut down.

- MYLABELS has caused an invalid page fault in module mfc42.dll

- An error has occurred while opening the database file. The database may be corrupted or you may be out of disk space. Clear some space and try to open the file.


If you have a corrupted labels file that will not open in your program, this usually occurs because your system shut down or "froze" unexpectedly while your list file was open and active in your labels program. This can happen if you experience a power outage, a system failure, or a program error from ANY program running on your system while our labels program is running at the same time.


Essentially, if our labels program is not allowed to save the file and close normally, the active database that was in use at the time can become corrupted.

When the labels list file is open, the data is in a "writeable" state and the database is in flux as it sits in your computer memory. If the program cannot close down properly and save the data in your file's database properly, the integrity of the database can become compromised. When this happens, either the list file will not open at all or whenever you try to make a change to the file, the program will crash.


You can often recover the names and addresses in your labels file by exporting or extracting the data out of it and then re-importing the information into a new, blank labels file. This uses your existing list data information in a newly created database structure.


If you are able to open the list file in your labels program, but you cannot make a change to it:


(Scroll down the page to read about what to do if you cannot open the list file at all)


If the file opens, but you cannot edit a design, save the file or make other modifications to it, then the database is corrupted, but not so much so that it cannot be read by our program. You do not want to continue using this file, as continued use may cause the database to become more corrupted and eventually fail to open at all. We recommend you do the following to "re-build" your list file:

  1. Open your list file in your labels program. Do this by selecting the Open command in the File menu and then double-clicking on your list file in the browsing window.
  2. Once your file is open, choose Export from the File menu at the top of the screen.
  3. On the Export dialog, select the option All Records for the "Export Mode" and then click the Add All button to tell the program to export all the fields for each exported record. When you're done, click OK.
  4. A Save As dialogue will open. Choose a hard drive or disk location to create the file in by selecting it in the Save In drop-down. Then, give the export file a name in the File Name entry (we recommend you use the default ExpFile name if you want). When you're ready to export, click Save. Make note of the name and location of your file for importing later - usually the export is on your Windows Desktop.
  5. What you have now created is an exported file of just the text data from your labels list. Open a new file now by choosing the File menu and selecting New File
  6. Once you have your new, blank file open, choose the File menu and select Import
  7. In the main browsing window of this Import dialog, you should find the file you just exported. When you see it, left-click on it once to highlight it, then click the Open button.
  8. A dialog Use First Record for Field Names will appear. Click the Yes button on this dialog.
  9. A window Assign Import Fields will appear next. If the bottom-left dialog box for Fields in Import File is completely empty, then simply click the OK button. If the bottom-left dialog box for Fields in Import File has field name entries in it, you will need to assign those fields to an appropriately-matching field from the bottom-right dialog box for Fields in Current File. Do this by left-clicking to highlight a field entry in Fields in Import File list, then finding its appropriate match and clicking on it in the Fields in Current File listing. When you do this, both entries should disappear from their respective lists and re-appear as a field assignment in the top dialog box (For example, you might need to click on First Name in the Fields in Import File listing and then click on its "match" in the Fields in Current File listing, which is First). Repeat this manual assignment process until you have assigned every field from the Fields in Import File listing (so that it is empty), or it contains the leftover fields you have decided you do not need. Click OK when you are done.
  10. Now, you should return to the Data Entry tab. Click on the Data Table Tab to view whether or not your data imported correctly. If you have matched up the fields properly in the previous step during the "Assign Import Fields" process, you should have your data back into the program in a file that is not corrupt.
  11. The data of your file will have transferred, but any customized label designs will have to be re-created as these will have been lost with your previous corrupted file.
  12. Save your re-built file by choosing the File menu and selecting Save As... Give your rebuilt file a name and save location in the browsing window and click Save when you are ready to save the file.

If you cannot open your list file at all in your labels program


If you cannot open your labels file at all because our program crashes whenever you try to load the list, then you will need to extract the data from the main labels file using Microsoft Excel. If you do not have Microsoft Excel to perform these operations, contact Technical Support for further assistance in recovering your list data.


The data from your list file is in a file with a *.mlb extension located in the directory where you save your labels data. To understand how you are going to be able to recover your label data, you will need to understand how your labels program saves and archives your files.


For example, if your labels file was saved on your computer as a file you called "friends", then the files that our labels program creates to save your data are as follows:

friends.mlb
friendsmlb.bcf
friendsmlb.fsif
friendsmlb.msif


This collection of files works together to act as your complete labels file. All of these files would be in the same Windows folder you saved your labels file to.

The raw text data of this list would be stored in the file friends.mlb. It is this *.mlb file that would be used for the steps described below to open and extract with Microsoft Excel.


Here is how you can extract your data using Microsoft Excl:

  1. Open Microsoft Excel on your computer
  2. In the File menu choose the option Open
  3. In the Look In: drop-down box, browse to the folder location where your corrupted labels files reside. If you are not sure where your labels file was saved, try looking in the default Data folder in the program's installation directory:

    C:\Program Files\MySoftware\(name of program)\Data \
  4. Once you have selected the folder with your file in it in the Look In: drop-down box, change the Files of Type drop-down at the bottom of the window to the selection All Files (*.*)
  5. You should see collections of files with names similar to the ones used as examples above. You want to find the main *.mlb file of your corrupted labels list in this window and Open it. This file will have an icon different than the other files in this window - it will have an icon similar to the icon for your program. If you are not sure if you are identifying the correct file, right-click on the file you think is your *.mlb file and then choose Properties from the menu that appears. The Type should say My Labels Document or something very similar. If so, then this is the correct file.
  6. If you open the correct file, you should rows and columns of data that make up your label file's list data. Go to the File menu here and select Save As...
  7. The Save As dialog will open. Change the Save In: drop-down dialog to My Documents. Then, change the Save As Type: drop-down selection to "CSV ( Comma delimited) (*.csv)". With these settings, click Save. Close Microsoft Excel.
  8. You will now want to try and open your labels program again. If you cannot open your labels program, it is because the program is trying to open the last list file you were working on - which also happens to be the file that is corrupted and you are trying to recover. You will need to move or delete your corrupted list file in Windows so that your labels program does not find it and keep trying to open it unsuccessfully when you launch the program. The best way to move the file is to browse to the folder where your labels file was saved and then Cutting and Pasting the *.mlb file to a completely different folder, like your My Documents folder. As long as the file is moved, your labels program will then be able to open with a new, blank labels file.
  9. Once you can open your labels program successfully, you want to start a new file. You can do this by selecting the File menu and selecting New File (choose Standard Template if you are prompted to select a template).
  10. Once you have your new, blank list file open, choose the File menu and select Import
  11. In the main browsing window of this Import dialog, you should browse to your My Documents folder. In this folder you should see the file you saved through Microsoft Excel. When you see it, left-click on it once to highlight it, then click the Open button.
  12. A dialog Use First Record for Field Names will appear. Click the Yes button on this dialog.
  13. A window Assign Import Fields will appear next. If the bottom-left dialog box for Fields in Import File is completely empty, then simply click the OK button. If the bottom-left dialog box for Fields in Import File has field name entries in it, you will need to assign those fields to an appropriately-matching field from the bottom-right dialog box for Fields in Current File. Do this by left-clicking to highlight a field entry in Fields in Import File list, then finding its appropriate match and clicking on itin the Fields in Current File listing. When you do this, both entries should disappear from their respective lists and re-appear as a field assignment in the top dialog box (For example, you might need to click on First Name in the Fields in Import File listing and then click on its "match" in the Fields in Current File listing, which is First). Repeat this manual assignment process until you have assigned every field from the Fields in Import File listing (so that it is empty), or it contains the leftover fields you have decided you do not need. Click OK when you are done.
  14. Now, you should return to the Data Entry tab. Click on the Data Table Tab to view whether or not your data imported correctly. If you have matched up the fields properly in the previous step during the "Assign Import Fields" process, you should have your data back into the program in a file that is not corrupt.
  15. The data of your file will have transferred, but any customized label designs will have to be re-created as these will have been lost with your previous corrupted file.
  16. Save your re-built file by choosing the File menu and selecting Save As... Give your rebuilt file a name and save location in the browsing window and click Save when you are ready to save the file.

It may turn out that you cannot recover your data on your own using these methods. If you need to retrieve your data, please contact Technical Support for additional assistance.