I am building a GIS Application but whenever I run the code it's giving me this error > System.Runtime.InteropServices.COMException was unhandled Retrieving the COM > class factory for component with CLSID {FBF5715D-A05D-11D4-A64C-0008C711C8C1} > failed due to the following error: 80040154 Class not registered (Exception > from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). Also, [...] read more
I am trying to use an application, the application is working fine, i am trying to edit the existing item in the application. while clicking the edit am getting the following error, System.Runtime.InteropServices.COMException was unhandled Message="Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))" Source="System.Windows.Forms" ErrorCode=-2147221164 StackTrace: at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object [...] read more
Running an application from Visual Studio 2012 on 64-bit computers, displays the following error message: > Retrieving the COM class factory for component with CLSID > {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} failed due to the following error: > 80040154 Class not registered (Exception from HRESULT: 0x80040154 > (REGDB_E_CLASSNOTREG)) I am using Inventor packandgo dll [...] read more
I was getting the Virtualbox problem > Callee RC: REGDB_E_CLASSNOTREG” (0x80040154) all of a sudden. Problem started on VirtualBox 4.3 (I think). I upgraded to version 5 hoping to fix it but had no luck at that point. read more
We're using Windows 2012 Server R2. We're trying to automate the creation of LetsEncrypt certificates. We're using LetsEncrypt-Win-Simple (https://github.com/Lone-Coder/letsencrypt-win-simple). Once the cert is created (via LetsEncrypt.exe) we have a .bat script that gets called (using the --script and --scriptparameters flags). This runs powershell.exe and tries to create the necessary IIS [...] read more
I am trying to use PowerShell to automate the process of creating an n-tier solution based on a seed (think EDMX file or DbContext) configuration. I want to be able to open a skeleton solution, get the active instance, and populate project files with auto-generated code. I'm trying to transcode [...] read more
I am trying to convent a Ms Access Database to MS SQL 2012, using Microsoft SQL Server Migration Assistant for Access version 6.0 but each time i try to convert it an error pops up. any ideas how i can solve the problem i reinstall the program Microsoft SQL Server [...] read more
My ASP.Net-C# application works with mailmerge and the dll by name Microsoft.Office.Interop.Word.dll V14.0.0.0. All is well on my desktop (where office is installed). However when this application is deployed on the production machine, the following error is thrown: > System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM > class factory for component with [...] read more
I updated my machine to Windows 10 but I have issues to get it working. The error I got when I installed Virtualbox (version 5.0.3) is: Callee RC: REGDB_E_CLASSNOTREG (0x80040154) I have Googled around and I found this issue and have tried the options stated in the accepted answer but [...] read more
Google chrome (that I downloaded from FileHipoo.com) can not update it-self? The error message is Update failed (error: 3)An error occurred while checking for updates: Update check failed to start (error code 3: 0x80040154). I just want to understand the reason. read more
I developed a web application using asp.net C# to place online orders. my app. works fine on SAP server (windows 2008 R2) but when I copied my project to my local machine (runs windows 7) I got an error, can't see the SAPbobsCOM reference. I don't have SAP API DI [...] read more
I have an app that I am deploying using AWS Codedeploy to an EC2 instance running Windows Server 2012 R2 with code deploy agent installed. The code revision was successfully downloaded from S3 bucket to EC2 instance but PowerShell script throws error. Just to inform, when executing the script in [...] read more
I am trying to run my Windows Application (winForm) on a PC (OS Win7, 64 Bit) but it showing me this error or exception: > Retrieving the COM class factory for components with CLSID > {00853A19-BD51-419B-9269-2DABE57EB61f} failed due to the following error: > 80040154 Class not registered (Exception from HRESULT: [...] read more
After upgrading my Arch Linux system (Linux 4.20) and rebooting it, it fails to start VBox (now Vbox 6.0) Error message is: NS_ERROR_FACTORY_NOT_REGISTERED. Vbox kernel modules are loaded (see below). It seems everything ist fine, I don't know where to look for wrong config/install. If I do VBoxManage list -l [...] read more
I recently upgraded to windows 10 in my laptop. All has been smooth. But i cannot login to mail, store or calendar using mail accounts. What happens is, Start/mail/add account/ then the "choose an account" option pop up. But what ever option i clicks (except google), it opens a window [...] read more
I have tried the following: $edge = New-Object -com microsoft-edge.application $edge.visible = $true $edge.FullScreen = $true But I get error: New-Object : Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). At line:1 char:9 [...] read more
im doing an app in c# windowns form that register the entries of the employees with a biometric device. I did a setup and send to my other computer to test if it would work on another device. Everything works fine except the functionalities that work directly with the biometric [...] read more
So, a client has a COM object written in C from 2007 that validates an encrypted session cookie. This currently works fine with older versions of .NET using the following. var validate = Activator.CreateInstance(Type.GetTypeFromProgID("Company.Validate")); -------------------------------------------------------------------------------- The new implementation will be entirely in C#. I've extracted validation logic to a .NETCore [...] read more
I installed Virtual Box on Windows 7 Ultimate x64 and then I upgraded my system to Windows 10. VirtualBox did work properly with both versions of Windows and I was able to run everything perfectly. Today I did the downgrade to Windows 7 again and I can't open VirtualBox anymore [...] read more
I've written a application that scans images from a scanner. this works fine on my development machine (win7 ultimate sp1 64bit). i've tried to run the app on a windows xp machine (or windows server 2008 standard) and it failed with this error > System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM > [...] read more
We are using XenApp: 7.6. We have a .NET full framework 4.8 WinForms application as a published application within Citrix Receiver. This published application is hosted on a Windows Server 2008 R2 SP1 (64 bit) machine. Our application uses Microsoft.Web.WebView2 (1.0.824-prerelease) web browser Winforms control to provide an embedded web [...] read more
I have built an ASP.NET web application (that houses a Silverlight 4 app) and it utilizes a couple of COM dlls. The dlls are registered (verified by finding the CLSIDs in the registry, and seeing the classes within the CLSIDs), and they are located in a directory that has full [...] read more
I am trying to import Excel sheet into SQL server through SSIS The file was generated by SQL Server import task from another machine. but when I try to run it the SSIS on my machine/Server I get this error > TITLE: Package Validation Error > > Package Validation Error [...] read more
I have a post build step in an msbuild config which executes a powershell script. The powershell script works perfectly if I call it directly from Powershell but fails via msbuild. It seems it fails after it tries to use classes from the import: Import-Module WebAdministration I get the error [...] read more
I'm pulling my hair out on this one... I have a legacy application I built a few years ago that uses AutoItX - all working fine. The time has come to try and update the app, so I've upgraded it to VS2012/.NET4 and I simply cannot get a reference to [...] read more
I have the following COM call: IMFTransform* pMFT = NULL; HRESULT hr = CoCreateInstance(CLSID_VideoProcessorMFT, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pMFT)); On my development machine, this call to CoCreateInstance succeeds. However, when I deploy this on my old Windows 7 machine, the call to CoCreateInstance fails, and I don't know why. Here's how I'm [...] read more
We are working on a WPF application in .NET 4 that will be used with a touch screen. We are trying to use the built-in Windows OSK for our input, and the last remaining issue is to get the keyboard to open up as soon as a text box gets [...] read more
I've been trying to automate Golden Software's Grapher (version 15) using C#. The program's guide for C++ (the file looks old, however, and I am not sure if it applies in a similar way now) notes that the user should: > 1. Create a new AppWizard dialog-based application, using all [...] read more
I'm having some problems in using a type that comes from an old unmanaged DLL. gobjDPProject = New DP_Store_21.cProject When I make this assignment an exception is threw A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll Additional information: Retrieving the COM class factory for component with CLSID {98214FEB-FE5C-495F-A926-F23DC62EEDD6} [...] read more
I am encountering problems attempting to upgrade a server from 64-bit Windows Server 2008 "in-place" to Windows Server 2012 (not R2). The errors are similar to: [shmig] Failed to CoCreate IPersistAppItemsState object, hr=0x80040154 I have searched the web for suggestions and for the specific error messages. I have tried most [...] read more
I recently rebooted my Win2003 server and World Wide Web Publishing service did not start back up. I get the following error in the System Event log when I try to start manually: Source: Service Control Manager Event ID: 7024 Description: The World Wide Web Publishing Service service terminated with [...] read more
enter image description here [https://i.stack.imgur.com/j6bxp.png] I'm not able to start the virtualbox when I try to open the virtalbox I got this Error message I need help on this read more
OS: Ubuntu 16.04 LTS make an install.py file executable: pyinstaller -w install.py --onefile install.py script: import os VM = os.system('VBoxManage startvm win10 --type headless') if VM == 0: print("win10 started...") else: print("win10 not started....") Problem: When I run the python3 install.py on ubuntu terminal it works fine. After that I [...] read more
VirtualBox won't open. Here's what the error says: > Failed to create the VirtualBoxClient COM object. > The application will now terminate. > > Callee RC: REGDB_E_CLASSNOTREG (0x80040154) Screenshot: [https://i.stack.imgur.com/Fj7XA.png] It all started when I tried to install "Xamarin Android Player" and it installed a separate version of VirtualBox (I [...] read more
Here's the deal -- I just didn't want my Chrome installation to update, for certain reasons that are irrelevant here: * I'd disabled Google Update in the Group Policy (yes, I know Chrome ignores it) * I'd disabled the Google Update services * I'd uninstalled Google Update (not that Google [...] read more
I am running a c# application and I am using DSOFile dll. This DLL is referenced in the project. I am able to run the exe in my development machine. But when I run the exe in another machine, I am getting > Unhandled Exception: System.Runtime.InteropServices.COMException: Retrieving > the COM [...] read more
I'm trying to access Matlab functionality in C# using the Matlab Application Type Library. My program compiles fine, but for the following code static void Main(string[] args) { // Create the MATLAB instance MLApp.MLApp matlab = new MLApp.MLApp(); } I get this runtime error > System.Runtime.InteropServices.COMException: 'Retrieving the COM class [...] read more
I would appreciate please some help if possible with the following problem : I try to publish my .NET 5.0 Console app via the command line, because I have to included in ansible scripts to be able to build and deploy from jenkins, and when i try the following command [...] read more
My selenium test cases are written in JavaScript for testing my react application but it gives unusual error 1. Bluetooth: bluetooth_adapter_winrt.cc:713 GetBluetoothAdapterStaticsActivationFactory failed: Class not registered (0x80040154). 2. :ERROR:device_event_log_impl.cc(211)] [09:24:47.641] USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F). 3. [...] read more
I have deployed my application on azure as webjobs. Application use the Microsoft.Office.Interop.Excel.dll and Offcie.dll to convert the flat file to excel file. I know Azure do not have office on it and it is throwing error "Error Retrieving the COM class factory for component with CLSID {XXXX} failed due [...] read more
I'm trying to make a application which will print some values to the excel file, for this I'm trying to use the Microsoft.Office.Interop.Excel library but whenever I try to create a object as mentioned below Application xlApp = new Application(); I'm getting COM exception > System.Runtime.InteropServices.COMException: 'Retrieving the COM class [...] read more
I am having a horrible time with the Brother bpac SDK. I have an application and I am trying to print a label from it. It worked before but I do not know what is wrong now. Here is the error I am getting: Retrieving the COM class factory for [...] read more
I am trying to run Access (Office 365) from C# .net code. The reason I am trying to do this is to run an access query that uses VBA. My query is complicated and I'd rather call it as it is rather than convert everything to c#. I am using [...] read more
I am unable to use CreatePackAndGo feature on Forge as I am getting the following Exception 'Exception Retrieving the COM class factory for component with CLSID {F2D4F4E5-EEA1-46FF-A83B-A270C92DAE4B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).' on the line mentioned below. Dim oPacknGoComp As [...] read more
I am fairly new to programming with Visual Studio/Visual Basic. I am trying to write a Windows 8 Metro App with Visual Studio 2012 for Windows 8. I use Outlook 2007. It is supposed to open up an Outlook application but crashes with following error (hopefully without translation errors): Additional [...] read more
I'm studying Microsoft COM technology from the book Learning DCOM 1999. I am puzzled with its Hello Universe sample program in Appendex D. The code is available here. This sample contains a HelloClient.exe and a HelloServer.exe. They can be run on different Windows machines and HelloClient.exe is able to remotely [...] read more
I have to run packages asynchronously, so I used the ExecuteOutOfProcess property for the first time. As I run into troubles, I decided to make a very basic prototype to reproduce the error in VS 2017/2019: * Make a project without parameters and connectionmanagers. * Make a Package Slave with [...] read more
OS: Ubuntu 16.04 LTS make an install.py file executable: pyinstaller -w install.py --onefile install.py script: import os VM = os.system('VBoxManage startvm win10 --type headless') if VM == 0: print("win10 started...") else: print("win10 not started....") Problem: When I run the python3 install.py on ubuntu terminal it works fine. After that I [...] read more
We have an old asp.net website built in 32-bit platform using .net framework 2.0. This asp.net website is using a 3rd party com dll(testx.dll) along with interop dll(testx.Interop.dll) for one functionality. And the code to access this dll was written in the cs file which is in the App_Code folder [...] read more
I start 2 projects in one solution, one is .Net Framework 4.7.2 and the other one is Windows Runtime Component(C++/WinRT), What I want to do is write my DirectX related code in the WindowsRuntimeComponent and expose a certain number of classes to the .NetFramework project. I just add reference to [...] read more
I am using AutoIt dll in my C# application to get data from active windows of other program. On my computer, where I compile this application, it works OK, but when I tried to run it on other computer I got exception: > System.Runtime.InteropServices.COMException (0x80040154): Pobranie fabryki > klasy COM [...] read more
I have an old DotNet Program compiled in 32 Bit, which has a Form to load and execute SSIS package. For Executing SSI Package it uses the Assembly Microsoft.SqlServer.DTSRuntimeWrap which is present in 32 Bit as displayed below. using Microsoft.SqlServer.Dts.Runtime.Wrapper; . . namespace WinFmAppETLControl { public class FrmControl : Form [...] read more
My setup: Opertaing System: Windows 8.1 Memory: 16GB HD: 500GB etc. non relevant. Issue: I noticed the issue when my printer stopped working after a normal restart. At that point I tried to uninstall and reinstall the printer driver. The install failed. At that point I also realized all my [...] read more
I have an Elipse E3 Studio (build 5.0.434) server with a bunch of tags (running on a x64 windows) and I want to read then from a .NetCore (3.0) console application (same machine). The thing is Elipse works with COM (as far as I know) and .NetCore can't natively handle [...] read more
I get the following error when I try to call my Delphi COM object from my 32-bit WPF .NET project in Visual Studio 2019 (var x = new DelphiCOMServiceImplementation();): > Retrieving the COM class factory for component with CLSID > {D448873F-EAF7-4F40-8BC7-EF9853E64A0F} failed due to the following error: > 80040154 Class [...] read more
I have a .net 4 application that references a COM dll. It works fine using an app.manifest with GUIDs. However, when I try to execute a unit test, the executable is QTAgent32.exe and I don't know how to allow it to load the COM class: System.Runtime.InteropServices.COMException: Retrieving the COM class [...] read more
I've seen a complete failure of the ability to print from UWP apps on my PC, which has halted development. The error that appears is 0x80040154. All printers are affected. No traditional steps to repair have been successful. Desktop applications and modern Windows apps, like Mail, are unaffected. Only UWP [...] read more
I'm trying to create a MFC Automation COM object using MFC Library DLL but I am having issues. I have created the DLL and the TLB file has been generated. When I want to import the TLB file into a MFC Application, Visual Studios tells me Cannot open source file [...] read more
I have a C# project. To run it, I need to provide 2 arguments. I want to create a build folder, that I can just copy/paste on another computer and run in the future. First, I build the project on a computer, then I copy/paste the build folder on another [...] read more
I am trying to integrate to ZKTeco bio-metric device with my web application. It's working absolutely fine but when I deploy application and try to connect with bio-metric device I get the following error: > Retrieving the COM class factory for component with CLSID > {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the [...] read more
I've set up a Service Fabric cluster on Azure, which is built on top of Virtual machine scale sets. It has two scale sets, one with three nodes and one with a single node. Both scale sets run WindowsServer 2016-Datacenter-Server-Core, the only difference is that the one with a single [...] read more
I'm trying to use the powershell cmdlet Restore-WebConfiguration on Windows Server 2016, and I'm getting this error: PS > Restore-WebConfiguration name get-webconfiguration : Retrieving the COM class factory for component with CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). At line:1 [...] read more
I've got a WSUS 3SP2 with all patchs on Windows 2008 R2. It updates all servers. all works but servers 2012R2 on a remote site. All others Win2012R2 on other sites works. In the site which have issue, there's only 3 2012R2 servers. There are seen by WSUS console, and [...] read more
Trying to configure web replication, and running into a number of issues. When running replisapi.dll?Diag, I receive the following errors: CLSID_SQLReplErrors FAILED 0x80040154 replrec.dll classes FAILED 0x80040154 I tried copying replrec.dll from the SQL Server to the IIS server and registering the DLL, but then the call to ?Diag hangs, [...] read more
If I use VMware converter it throws > Volume Shadow Copy Service error: Unexpected error calling routine > CoCreateInstance. hr = 0x80040154, Class not registered . > > Operation: Instantiating VSS server If I use Disk2vhd it throws > Volume Shadow Copy Service error: Unexpected error querying for the > [...] read more
Requirement: My application has a requirement to send emails via outlook. I could accomplish this using Outlook = Microsoft.Office.Interop.Outlook; The application works fine on development environment but iam getting an exception: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80040154 [...] read more
I am deploying an ASP.NET MVC3 application in IIS7. I already deployed other applications but they never made use of the App_Data folder or any additional component such as the Interop library. I used the one click deployement and I sue the default application pool. When I launch the application [...] read more
For some reason, the recovery partition on my computer is gone which means I can't do a restore or a full reinstall of Windows. Here are some screenshots as proof. Here's one of the "This PC" window: No Partition in explorer [https://i.stack.imgur.com/K0QPn.png] If the recovery partition were still functional, we'd [...] read more
I installed Windows Live Mail on Windows XP SP3 and on the first run it tried to import Outlook Express mail (without even asking!). The import process ended with the error 0x80040154 informing about calendar's corrupted data. After accepting error's message Windows Live Mail exited. I guess my Outlook Express's [...] read more
Good day! I'm using standard pdf from adobe control that perfectly loads PDF on my PC, but on any other it returs and error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) It happens only if there is a pdf adobe on form, and only on other computers. I tried [...] read more
Im made a function in C# to work with azure function but at first i got this message: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). Looking on the internet it [...] read more
The code works fine on Windows 10, but I'm getting TargetInvocationException in Windows 8.1 when using uwp bluetooth APIs in my .NET 5 winforms app enter image description here [https://i.stack.imgur.com/BSzKl.png] inner exception is Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)) code: private BluetoothLEAdvertisementWatcher BTWatch = new BluetoothLEAdvertisementWatcher(); in my project I have [...] read more
I developed a simple powerpoint conversion (into images) to display them in a caroussel. So I used the > Interop.Microsoft.Office.Interop.PowerPoint On my devlopment environment it works fine but when I publish it with Azure on my IIS Server, it seems that id does not work. > Exception: System.Runtime.InteropServices.COMException (0x80040154): > [...] read more
I try to create a excel file in a powershell script using this code : $xl = New-Object -ComObject "Excel.Application" $xl.Visible = $false $xl.DisplayAlerts = $false $wb = $xl.Workbooks.Open($scriptPath + "\..\..\NeededTools\ExploitationApplication.xlsm") $global:ws = $wb.sheets.Item(3) And I face this exception : > New-Object : Retrieving the COM class factory for component [...] read more
I have an ASP.NET Core 3.1 WebApp that controls third party software via DCOM. That worked fine until I updated the third party software to a new version. Of course, I change the CSID (found in Start - Component Services - Computer - DCOM) from clsid "{2997C622-CCC7-4533-9B0B-06F28D5EEC12} (Older Version ) [...] read more
I have to run Visual Studio in admin mode because of code signing certificates. Everything is fine except when debugging my WinForms application. Invoking Excel (Microsoft.Office.Interop.Excel) throws an exception: m_excelApp = new Excel.Application(); System.Runtime.InteropServices.COMException: 'Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: [...] read more
Is there some microsoft libary that installs the COM classes needed without actually installing O365 on a server to just run a powershell program? When we try to run on a workstation with O365, no problem but if we run on a server without O365 installed we get this sort [...] read more
I have some SSIS package that I am trying to run using SQL Server Agent Job. The package gets executed without any issues when run from Visual Studio. But when I create a job and run in the SQL Server Agent it gets failed with the below error. Job Error [...] read more
I got requirement to convert all my excel report file in SSIS from .xls to .xlsx including migration from 2008 to 2015 DATA Tools(Targer version : SQL Server 2016) - For all the reports we use Data Flow Task to extract reports i have added "WITH Result Sets" along with [...] read more
I am able to execute some SSIS packages from my local computer however when I am trying to execute the same through windows service on Windows server R2 it fails. Windows Service Code: using DTS = Microsoft.SqlServer.Dts.Runtime; DTS.Package pkg; DTS.Application app; DTS.DTSExecResult pkgResults; app = new DTS.Application(); pkg = app.LoadPackage(pkgLocation, [...] read more
I am creating an SSIS package using Visual Studio 2017. I have a Win 10 64 bit machine, and MS Office 2016 64 bit. Source: SQL Server database Destination: Excel On the Excel Connection Manager, I selected Excel Version "Microsoft Excel 2016" The Connection String that's created is below: Provider=Microsoft.ACE.OLEDB.16.0;Data [...] read more
Is there a way to mock a .NET library loaded with clr.AddReference(), without the presence of the actual dll? My code: import clr clr.AddReference("lib/MyDeviceDriver") import MyDeviceDriver class MyClass: def __init__(self): self.__deviceAPI = MyDeviceDriver.Create() . . . My Unittest code: def test_func(self): my_object = MyClass() Failure: > self.__deviceAPI = MyDeviceDriver.Create() E [...] read more
Can't run SSIS package from commend line tried all the locations of DTExec.exe on machine I have a basic SSIS package that reads files and loads into database. (runs fine from SSDT) tried the following command lines : "C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\CommonExtensions\Microsoft\SSIS\150\Binn\DTExec.exe" /File "C:\test_ssis\importStuff.dtsx" <i belive [...] read more
My ASP.NET application has functionality that has an email button in an asp.net gridview table that when clicked on opens Microsoft Outlook email. The application code works in Visual Studio IDE. However, the error happens when the application on the IIS Manager server. I get the error message. System.Runtime.InteropServices.COMException: Retrieving [...] read more
Ok, i don't know if it will be useful but i want to share. Modos and admin will delete if they want. I'm developping a VB application (actually, i migrate one from Excel VBA) to interact with MySQL Database. I use VS 2019 16.8.2, Windows 7 x64. I got a [...] read more
In my OnError eventhandler I try to execute a (child) package but I get this error: Error: Error 0x80040154. Failed to create an instance of empty child package. The Distributed Component Object Model (DCOM) configuration or the installation of SQL Server Integration Services, may be corrupted on your machine. followed [...] read more
I am using zkemkeeper to integrate ZKT into dotnet core api project. I add simply package reference <PackageReference Include="ZKemkeeper" Version="1.0.2"/> Then create a class named ZkemClient and inherit from IZKEM and implement all of its methods the class and its constructor is. I am not mentioning all methods of IZKEM. [...] read more
I have been able to open an excel workbook using a console app in Visual Studio 2019 with the following code: using Excel = Microsoft.Office.Interop.Excel; private void OpenXL2() { Excel.Application excelApp = new Excel.Application(); if (excelApp == null) { return; } // open an existing workbook string workbookPath = @"C:\Illustrator\InvoiceTemplates\invtemplate.xls"; [...] read more
I see the following error from my .NET application logs: Retrieving the COM class factory for component with CLSID {4AD00293-551B-11D1-AEA1-0004ACB678AD} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). I believe this error arises due to the non registering of some DLL. How do [...] read more
I created a custom Credential Provider for Windows. The base DLL is in C++ and it loads a C# DLL trought a COM interface. if (CoInitialize(NULL) != S_OK) { hr = _authenticationManager.CreateInstance("{BAF984BD-0D41-42D1-AA49-4BC98EE6C4A1}"); std::stringstream stream; stream << std::hex << (int)hr; MessageBoxA(NULL, stream.str().c_str(), "", 0); The class is registered like that : [...] read more
I am writing a small app that installs IIS and configures a website before deploying the files to it. On a freshly reset Windows 10, the first attempt always fails with the 0x80040154 COM+ component failure as documented in This question I looked at the version I am using and [...] read more
It's a fresh installation of Visual Studio 2019 Community Edition on my fresh installation of Windows 10 (64 bit) on Intel i3 laptop. Whenever I attempt to install an extension (for example, CodeMaid), I get COM ClassID not found error. I'm not sure why is this error. From google search [...] read more
I'va developped an application that interact with fingerprint device using Zkemkeeper.dll. when i debug using visual studio, it works perfectly. But when i launch the application from the release i get this error : en : "Message: The recovery of the COM class factory for the component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} [...] read more
I'm trying to integrate a Brother QL-700 label printer into a C# application that I'm writing. I've created a console application to test the printer with and added the following code (taken from the SDK on the Brother website): class Program { private const string TEMPLATE_DIRECTORY = @"c:\program files\brother bpac3 [...] read more
I am trying to migrate 32-bit MS Access DB to SQL Server using SQL Server Migration Assistant (SSMA) 32-bit in my 64-bit Windows machine. The addition of Access DB to the migration project always fails due to the following error. The error message is suggesting to use 32-bit version of [...] read more
The idea of my plugin is that when I click (read) or double click (open) on any email in my Outlook explorer inbox, a windows form is displayed. I understand that I must put the event handler in the ThisAddIn_Startup method to make it work while Outlook is open. I [...] read more
I'm currently working on a project to record audio on the HoloLens via a standard UWP application. I have used MediaCapture.PrepareLowLagRecordToStorageFileAsync() to do so. It works fine on PC, however, when I deploy it onto HoloLens, the application breaks with an Exception with the message "Class not registered". Does anyone [...] read more
Below is the msg while creating a New-Object (Powershell) I tried opening Powershell 1. as Admin 2. 32bit ISE 3. 64bit ISE Nothing helped > New-Object : Retrieving the COM class factory for component with CLSID > {00000000-0000-0000-0000-000000000000} failed due to the following > error: 80040154 Class not registered (Exception [...] read more
It does not seem to work and keeps giving me an error regarding Bluetooth drivers Following is my code:- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC usernameStr = 'putYourUsernameHere' passwordStr = 'putYourPasswordHere' browser = webdriver.Chrome() browser.get(('https://accounts.google.com/ServiceLogin?' 'service=mail&continue=https://mail.google' '.com/mail/#identifier')) # [...] read more
I am creating a RESTFUL API for a web application which will be posting JSON data to SAP BUSINESS ONE 10. While debugging the code, I received following error for executing the below line: CODE mCompany = new SAPbobsCOM.Company(); ERROR > Retrieving the COM class factory for component with CLSID [...] read more
Problem statement: To transfer data from Excel to SQL Server. I have a 64 bit system and 64 bit Microsoft Excel Installed. To make Excel Connection Manager work, I downloaded AccessDatabaseEngine.exe from https://www.microsoft.com/en-us/download/details.aspx?id=13255. I tried to see if it works with AccessDatabaseEngine_X64.exe and it didn't, so I just installed AccessDatabaseEngine.exe [...] read more
My Web Application working with COM library, I use this code: Type headType = Type.GetTypeFromProgID("Eapi.Head"); dynamic head = null; head = Activator.CreateInstance(headType); And I have some problem with understanding working IIS. When I debug my webapp in VisualStudio, running IISExpress and all work. But after publication project on IIS, application [...] read more
If a C# project with a unit tests that uses MS fakes and a 3rd party library in .dll I'll refer to as X. In my unit test project the .dll is referenced locally and is packed in the Azure GIT. Now when building the solution via an Azure DevOps [...] read more
If i run the PowerShell script from a .bat file mannually it is working fine. Same Script calling from .Bat file in c#, getting below error: "Exception: Retrieving the COM class factory for component with CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: [...] read more
enter image description here [https://i.stack.imgur.com/UjtFU.png] I'm getting attached error while trying to open form in VS2010. NOTE : when i was working in office network this issue was not there, now that i'm working from home connecting to my own network due to corona virus advisory, i'm facing this error. [...] read more
I am working with some COM libraries which allow me to connect to the IBM PCOMM API. I am trying to obtain a list of connections, from an object called AutConnList(). The code looks like this: using AutConnListTypeLibrary; using AutOIATypeLibrary; using AutPSTypeLibrary; public static List<string> GetSessions() { var sessions = [...] read more
When I run my application in debug mode it runs fine. When I run unit tests I get the following: > Test method > XXXX.XXXX.ToolingAddIn.UnitTests.SolidWorksPartReferenceTest.CheckForGoodReference > threw exception: System.Runtime.InteropServices.COMException: Retrieving the > COM class factory for component with CLSID > {00AB5D8D-2B8F-416B-9761-92FACC8872BE} failed due to the following error: > 80040154 Class [...] read more
I'm getting the following exception when sending a post request to my console API: Autofac.Core.DependencyResolutionException HResult=0x80131500 Message=An exception was thrown while activating TeocoExcel.DataManager. Source=Autofac StackTrace: at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters) at [...] read more
This is my first time using IIS so I don't know much about how it works. I developed an ASP.net c# web form app, in order to deploy it on a server using IIS. I had Visual Studio installed on the windows server, to make sure the app works fine, [...] read more
Background My office has used Office 2010 for quite some time, and I have written an application to generate some Excel files that we upload to a web site. Recently, our company decided to go with Office 365. So, on my development machine I had 2010 and 365 (whatever version [...] read more
I have created VB6 Project of ActiveX dll type added two function Public Function Name(aName As String) MsgBox ("Your Name is " & aName) End Function Public Function TestName(aName As String) As String TestName = " Hello " & aName End Function Created DLL from same Project. Then created Wrapper [...] read more
Does anyone have any idea why CoCreateInstance would be failing on ITaskBarList3 on Windows 7 64-bit? The error code is 0x80040154, which is Class Not Registered. The calling code (VB6) is: Public Const IID_ITaskbarList3 = "{EA1AFB91-9E28-4B86-90E9-9E9F8A5EEFAF}" Public Const CLSID_TaskbarList3 = "{EA1AFB91-9E28-4B86-90E9-9E9F8A5EEFAF}" '.... Dim IID As GUID_API Dim CLSID As GUID_API [...] read more
We moved the .NET WEB application from Windows 2008 to Windows 2019 and we observed the error > .NET Runtime version 4.0.30319.0 - Loading profiler failed during > CoCreateInstance. Profiler CLSID: '{************************}'. HRESULT: > 0x80040154. Process ID (decimal): 6880. Message ID: [0x2504]. That is certain dll file not registered. But [...] read more
I have a Windows Server 2016 base AMI on AWS that I am raising for CodeDeploy to deploy into. I am using the CLI to deploy a core asp.net website from github into this EC2 instance. aws deploy create-deployment --application-name my-App --deployment-config-name CodeDeployDefault.OneAtATime --deployment-group-name App-DepGrp --description "My GitHub deployment demo" [...] read more
Used by: Win 7x64; Visual Studio 2019; MindManager 2019 - MM 19.1.198 (32-x.) 10.01.2019; Problem: My code is throwing the COM class not registered error on the line: mm.Topic topic = new mm.Topic ();. I get an error. Error: > Failed to get COM class factory for component with CLSID [...] read more
I have a visual basic application where I open an excel file and process the data in the file. I import Microsoft Office Interop at the beginning of my code to allow me to access the excel file. My application runs properly on my local development machine (which has excel [...] read more
I am trying to install python for windows in wine in my kali linux machine the problem is when I worte the command wine msiexec /i python-2.7.16.msi I recieved the following error: 0009:err:mscoree:LoadLibraryShim error reading registry key for installroot 0009:err:mscoree:LoadLibraryShim error reading registry key for installroot 0009:err:mscoree:LoadLibraryShim error reading registry [...] read more
I create one ActiveX control for PDFViewer (PdfiumViewer.dll) to use in Visual FoxPro form. When adding to the Visual Foxpro form, I received the following error: > first time Ole Error class not registered ole error code 0x80040154 then > Ole Error code 0x80070002: The system cannot find the file [...] read more