answersLogoWhite

0


Best Answer

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

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Retrieving the com class factory for component with clsid bd1700a9-a639-4966-9654-d79aab35f0cd failed due to the following error 80040154?
Write your answer...
Submit
Still have questions?
magnify glass
imp