This can be the result of a corrupt installation of QuickBooks Desktop. Please try re-installing QuickBooks to see if it clears up the error.
NOTE: Uninstalling and re-installing QuickBooks does not remove your accounting files so there should not be any loss of data in doing this.