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 Desktop.
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.
Test by toggling the UAC on and off. If the issue persist, please proceed to solution 2.
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.
If the issue persist, please proceed to solution 3.
Perform a clean installation of your QuickBooks Desktop. If the issue persist, please proceed to solution 4.
Use the QuickBooks Component Repair Tool/QBInstall Tool to fix the .Net Framework of your PC.