When you register an ATL server, you might get error 0x80040154 (hsows that the Class is not registered).
For DLLs, REGSVR32.exe returns this error. For EXEs, the call to _Module::RegisterServer(CComModule::RegisterServer) in _tWinMain() returns this error.
This means the ATL70.dll file is not installed/registered.
For Visual Studio 6.0 and earlier, the ATL runtime is contained in ATL.dll. If you use Visual Studio 6.0 or earlier, use ATL.dll instead of the later Visual Studio.NET version.
Solution for it
Install ATL70.dll (or ATL.dll for earlier versions of Visual Studio) in the Wind...Install ATL70.dll (or ATL.dll for earlier versions of Visual Studio) in the Windows\System or Winnt\System32 directory. You do not have to register ATL70.dll, however, you must register ATL.dll by using Regsvr32.exe. There are UNICODE and ANSI versions of ATL70.dll and ATL.dll. Install the appropriate version on the target operating system (that is, UNICODE for Microsoft Windows NT, and ANSI for Microsoft Windows 95 or Microsoft Windows 98).
for further click below link
http://support.microsoft.com/kb/201191
How can I fix Error code 80040154?
QuickBooks error 80048821 occurs generally when something restricting the path of users in accessing the company file. Other codes of this series are also associated with the opening or accessing the company file. Dial +1-888-927-0940 now to access the QuickBooks support service as they will make every possible effort to assist you in rectification of the error.