Skip to main content

Thanks for reply,, this error it happened only in one program calls an other 2 programs,

the called program reads a record form Indexed file then it called a sub-program which makes some calculations in that record and gets the results back to the called program.

I'm in editing phase I tried to animate it, but no progress, because it happens after  reading hundreds of records, I made a manual break point to the certain record no when it stops, but I did  not reach that number because it does't stop on the record number,,

I've read a lot in the Web concerning this error, mostly they say the mfc42.dll is corrupted and needs to be reinstalled. 

therefore I made a trial installation for Netexpress 5.1 in other machine with a fresh Windows 7 installation, then everything works fine.  

in my situation I can't do that because I'm restricted with installed response key for Netexpress.

so I thought of an other solution: I copied all the logic for the called program and I put it in the calling program and instead of calling that sub-program I used Perform statement ,, then it works fine.

as you know this solution is not always right, 

Thanks for reply,, this error it happened only in one program calls an other 2 programs,

the called program reads a record form Indexed file then it called a sub-program which makes some calculations in that record and gets the results back to the called program.

I'm in editing phase I tried to animate it, but no progress, because it happens after  reading hundreds of records, I made a manual break point to the certain record no when it stops, but I did  not reach that number because it does't stop on the record number,,

I've read a lot in the Web concerning this error, mostly they say the mfc42.dll is corrupted and needs to be reinstalled. 

therefore I made a trial installation for Netexpress 5.1 in other machine with a fresh Windows 7 installation, then everything works fine.  

in my situation I can't do that because I'm restricted with installed response key for Netexpress.

so I thought of an other solution: I copied all the logic for the called program and I put it in the calling program and instead of calling that sub-program I used Perform statement ,, then it works fine.

as you know this solution is not always right, 

I would recommend that you either repair or uninstall Net Express from Control Panel and then reinstall it.

If you uninstall Net Express you will be prompted to either retain or revoke the license. If you select to retain it then the license will still be installed even after uninstalling Net Express. After reinstalling the product the same license will be used.


Thanks for reply,, this error it happened only in one program calls an other 2 programs,

the called program reads a record form Indexed file then it called a sub-program which makes some calculations in that record and gets the results back to the called program.

I'm in editing phase I tried to animate it, but no progress, because it happens after  reading hundreds of records, I made a manual break point to the certain record no when it stops, but I did  not reach that number because it does't stop on the record number,,

I've read a lot in the Web concerning this error, mostly they say the mfc42.dll is corrupted and needs to be reinstalled. 

therefore I made a trial installation for Netexpress 5.1 in other machine with a fresh Windows 7 installation, then everything works fine.  

in my situation I can't do that because I'm restricted with installed response key for Netexpress.

so I thought of an other solution: I copied all the logic for the called program and I put it in the calling program and instead of calling that sub-program I used Perform statement ,, then it works fine.

as you know this solution is not always right, 

Posted by on Jul 9, 2015 13:32

Kindly would you tell me how to do the repair ??

is the  uninstall  ((uninstall  programs  in Control panel)) ??.

what  about If I do reinstalling of Windows 7?? as far as MFC42.dll is a part of Windows OS


Thanks for reply,, this error it happened only in one program calls an other 2 programs,

the called program reads a record form Indexed file then it called a sub-program which makes some calculations in that record and gets the results back to the called program.

I'm in editing phase I tried to animate it, but no progress, because it happens after  reading hundreds of records, I made a manual break point to the certain record no when it stops, but I did  not reach that number because it does't stop on the record number,,

I've read a lot in the Web concerning this error, mostly they say the mfc42.dll is corrupted and needs to be reinstalled. 

therefore I made a trial installation for Netexpress 5.1 in other machine with a fresh Windows 7 installation, then everything works fine.  

in my situation I can't do that because I'm restricted with installed response key for Netexpress.

so I thought of an other solution: I copied all the logic for the called program and I put it in the calling program and instead of calling that sub-program I used Perform statement ,, then it works fine.

as you know this solution is not always right, 

Hello Shatty,

Here are the steps to do a repair on Windows 7 and Windows Server 2008:

1. Go to Control Panel > Program and Features

2. Right-click on Micro Focus Net Express 5.1

3. Click Repair

4. Click Yes to allow NXP32MSI to update software

Here are the steps to do a repair on older Windows platforms:

1. Go to Control Panel >  Add or Remove Programs

2. Select Micro Focus Net Express 5.1

3. Click on Change

4. Click on Next

5. Select Repair

6. Click on Next

7. Click on Install

Regards,