This error can occur when doing the following,
Opening/Closing QuickBooks, or creating or 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.
Below are the steps to resolve the issue. You may need to try one or more of the steps to resolve this error.
Solution 1: Test by turning User Account Control (UAC) on/off.
Solution 2: Perform a Clean Uninstall and Reinstall Quickbooks
If a clean uninstall and reinstall of QuickBooks does not resolve the issue, proceed to the next solution
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.
If selective startup does not resolve the issue, proceed to the next solution.
Solution 4: Repair the .Net Framework using the Component Repair Tool
If these solutions don't resolve the issue, you can read discussions and post messages and questions relating to your issue on the Intuit QuickBooks Community site for free. You can contact an agent for additional guidance. Fees may apply.