Com Error Code 80040154
Contents |
, .NET Framework > Visual Basic Question 1 Sign in to vote Greetings, I have a VB.NET application that references a 3rd party Com component. The file is Interop.WINTSRRLIB.dll. My windows live messenger error code 80040154 VB.NET application has a project reference to the COM comonent which lives in the
Error Code 80040154 Msn
directory: C:\WaveTracker. The application runs fine. When I sent it to my customer, he installed in on his desktop error code 80040154 class not registered machine. It runs fine. Then he copied all of the application files (which live in C:\WaveTracker) to his laptop. However, on his laptop, he gets the error: "System.Runtime.InteropServices.COMException (0x80040154). Retrieving the COM class factory for error code 80040154 windows 7 component xxxx failed due to the following error: 80040154" The customer swears he has the .NET 2.0 Framework installed properly on his laptop. Any ideas on how I can get over this problem??? Kind Regards, Scott Tuesday, September 26, 2006 10:44 PM Reply | Quote Answers 1 Sign in to vote Make sure you look in the registry of a PC on which your app works.
Windows Update Error Code 80040154
Don't do a search, just look through the keys in HKCR\CLSID for the GUID, they are sorted alphabetically. The fact that you can't find a DLL that can be registered with regsvr32 is a strange problem. If might live in another folder, c:\windows\system32 perhaps. Look at the properties of the WinTSRRapiLib reference in your project. Also, the component may itself use another ActiveX component that requires registration. Like the VB6 runtime files for example.Another way to debug this problem is to use the RegMon utility, available for free at www.sysinternals.com. It shows you how your app uses the registry. Run it on yours and run it on the customer's and compare the two. Friday, September 29, 2006 12:55 AM Reply | Quote Moderator 0 Sign in to vote i went to www.sysinternals.com and downloaded a few utilities that led me to the problem...'listdlls' and 'procexp' were very useful. The problem was simply that the 3rd party dll required other dlls that were not on the system. So I installed the required (other) dlls and everything is fine. Thanks for your help and recommendations. Scott Friday, September 29, 2006 2:51 AM Reply | Quote All replies 0 Sign in to vote The COM component
such as Windows Error Code 80040154 can be resolved with without too much difficulty. In this article we will go through solving the problem and how to prevent it in the future. Description You error code 80040154 quickbooks receive this error message when you try to sign in to Windows Live Messenger. comexception 80040154 If you attempt to uninstall and reinstall Messenger you still receive the same error code. Step-by-step instruction The error can be
Error 80040154 Class Not Registered
caused by a variety of factors however the most common issue with this error is the Microsoft XML library is corrupt. When you try to sign in Messenger is trying to access a control which https://social.msdn.microsoft.com/Forums/vstudio/en-US/88a6ea68-f476-4231-822f-27fabe59f458/error-80040154-retreiving-com-class-factory?forum=vbgeneral is corrupt or unregistered. The solution is to re-register the DLL file.If you are using Windows XP click on Start and then choose Run from the pop-up menu. When the Command Prompt appears enter REGSVR32 %windir%\system32\msxml3.dll and then press the Enterkey. You should receive a confirmation message that tells you the process succeeded and then you can proceed to reinstall Microsoft XML 3 by visiting http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582&displaylang=en. When you arrive on http://www.error.info/windows/messenger-80040154.html the page scroll down and click on the msxml3.msi link. Once you click on this link you will be walked through the process of reinstallation.If you are running the Windows Vista operating system click on Start on the main toolbar and navigate to All Programs. Choose Accessories and then right click on Command Prompt on the menu and click on Run as administrator. Enter your password if you are prompted to do so and then click on Continue. When the Command Prompt appears enter REGSVR32 %windir%\system32\msxml3.dll. You should receive a confirmation message that the file re-register succeeded and then you can proceed to reinstall Microsoft XML 3 by visiting http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582&displaylang=en. Once you arrive on the site scroll down the page and locate the msxml3.msi link and click on it. From there you will be stepped through the process of reinstallation. For both XP and Vista operating systems you will need to restart your PC and then try singing in to Windows Live Messenger again. To learn more about this error, please check out our Error Analyzer software. User Comments Score What do you know about Windows error 80040154: < Please select how do you rate it > essential neutral can be deleted ------------------------------------------------------------------------ don't know Incorrect, please try a
bits of IT knowledge by writing an article on Bytes. COM class error 80040154 Expert Mod 5K+ P: 9,581 Frinavale This article https://bytes.com/topic/net/insights/952785-com-class-error-80040154-a is specifically about the error code 80040154. If you are not seeing this error code then the follow information may not apply to you. If you are seeing a 80040150 error you should probably also read through this article but it is highly likely your registry is messed up by multiple versions of your COM component being registered with the error code operating system. Looking on the web for information about this error can be frustrating and tedious because the error code is vague and there is no official explanation about it from Microsoft. From my experience I have discovered that this error is caused by one or more of the following: Insufficient permissions have been applied to the COM component to allow error code 80040154 the user running the application to access/use it The component was registered using the incorrect regsvr32 tool for the operating system platform that it is being used on The visual studio project build settings are targeting an incorrect platform The first point is the most common cause to the 80040154 error. You have to make sure that the user running the application has sufficient permissions to read/execute the component. In the past, all 32bit COM components had to be placed into the C:\Windows\SysWoW64 folder so that the 64bit operating system could run the component properly. Setting permissions on this folder and the components within it could compromise your operating system if you apply them incorrectly. For example, if you are developing a web application that uses a COM component, you should NEVER give the internet user account permissions to this folder! You can now move the 32bit COM components out of the SysWoW64 folder to another place and use appropriate tools to tell the operating system how to execute them. That brings me to the second point, if your applicat