This error can occur when opening/closing QuickBooks, or creating/editing a transaction.
The error message is a generic windows error that occurs inside if Windows Vista, Windows 7 and Windows Server 2008 when the program installation has become corrupt or when something is interfering with QuickBooks.
Intuit recommends more than one solution for this problem. The first solution may solve your problem, or you may need to try all of them to resolve the issue. For best results, perform the solutions in the order shown.
Solution 1: Test by turning User Account Control (UAC) on/off
Solution 2: Perform a Clean Uninstall and Reinstall Quickbooks
Solution 3 : Selective Startup Troubleshooting
If QuickBooks opens successfully: Follow an elimination process by repeating Steps 1 thru 6 but instead of clicking Disable All, start enabling a couple of services at a time (four or five) then finish the rest of the steps (7 thru 11). If QuickBooks works with all the Services enabled we will move on to the Startup tab and proceed with the same elimination process for this section. This should help us to determine which program that is interfering with QuickBooks.
Solution 4: Repair the .Net Framework using the Component Repair Tool