Windows error 0x80040154, -2147221164

Detailed Error Information

REGDB_E_CLASSNOTREG[1]

MessageClass not registered
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[2][1]
DescriptionThe source of the error code is COM/OLE Interface management.[2][1]
Error Code340 (0x0154)

Questions

28votes
2answers

HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

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
c#
.net
windows
com
26votes
9answers

"Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"

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
c#
24votes
10answers

Class not registered Error

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
dll
visual-studio-2012
com
64-bit
32-bit
13votes
9answers

Virtualbox “Callee RC: REGDB_E_CLASSNOTREG” (0x80040154)?

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
virtualbox
12votes
5answers

New-WebBinding: Cannot retrieve the dynamic parameters for the cmdlet

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
windows
powershell
batch-file
iis-8
lets-encrypt
11votes
3answers

How to use DTE in PowerShell?

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
.net
powershell
envdte
9votes
4answers

Converting Access Database to MSSQL Database Using Microsoft SQL Server Migration Assistant for Access

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
sql
sql-server
database
ms-access
ms-access-2010
5votes
2answers

Can Microsoft.office.interop.word.dll work without installing office?

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
c#
ms-word
office-interop
4votes
4answers

Windows 10 and Virtualbox not working

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
virtualbox
windows-10
4votes
2answers

Why Google Chrome can not Update it-self?

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
google-chrome
updates
4votes
3answers

SAPbobsCOM not working

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
c#
.net
iis
com
sap
4votes
1answer

AWS CodeDeploy Powershell Script fail to create website & Pool in IIS server

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
powershell
amazon-web-services
iis
windows-server-2012-r2
aws-code-deploy
4votes
2answers

Retrieving the COM class factory for components with CLSID - Class not registered

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
c#
winforms
exception
com
zkemkeeper
3votes
0answers

Virtualbox error (NS_ERROR_FACTORY_NOT_REGISTERED ) after Linux 4.20 and VBOX 6.0 update (Arch Linux)

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
linux
virtualbox
arch-linux
3votes
0answers

Windows 10 - Cannot login to any mail client

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
email
microsoft-outlook
windows-10
3votes
1answer

Installing Office into Windows Container (servercore:ltsc2019) failed with error code 17002

ERROR MESSAGE ODT (Office Deployment Tool) log reported error when installing into Windows Container (Server Core): C2R client returned failing error code, error code: 17002 ENVIRONMENTS * Behavior in Windows Server 2019 (1809) with Desktop Experience installed. * ODT installation Result: Succeeded. * test-o365.ps1: Succeeded. * Behavior in Container (mcr.microsoft.com/windows/servercore:ltsc2019) [...] read more
.net
azure
docker
containers
odt
3votes
3answers

How to open Edge using Powershell variable?

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
windows
powershell
microsoft-edge
3votes
1answer

Why does my app works on my computer but not on others

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
c#
dll
windows-forms-designer
biometrics
zkteco
3votes
4answers

Using COM Object in .NET Core 2.0

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
c#
.net
asp.net-core
com
2votes
1answer

Unable to fix VirtualBox and / or reinstall it

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
virtualbox
installation
virtualization
uninstall
2votes
1answer

WIA services 2, download and install on windows xp / 7

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
wia
2votes
0answers

Microsoft.Web.WebView2 / .NET Framework 4.8 WinForms application + Published application run-time error (REGDB_E_CLASSNOTREG)

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
citrix
webview2
xenapp
2votes
1answer

ASP.NET error 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

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
asp.net
dll
com
silverlight-4.0
com-interop
2votes
6answers

Error when importing Excel in SSIS

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
sql-server
excel
ssis
oledb
etl
2votes
2answers

Cannot get powershell script to import module via msbuild

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
visual-studio-2010
powershell
msbuild
powershell-2.0
2votes
2answers

How to get AutoIt reference working in C#?

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
c#
com
autoit-c#-wrapper
2votes
2answers

"Class not registered" when loading the Video Processor MFT on Windows 7

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
winapi
dll
com
windows-7
ms-media-foundation
2votes
1answer

How to make the Windows OSK open when a TextBox gets focus, instead of requiring users to tap a keyboard icon?

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
wpf
textinput
touchscreen
on-screen-keyboard
2votes
0answers

Grapher COM Connection to C#

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
c#
com
2votes
0answers

InteropServices.COMException - Class not registered

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
vb.net
interop
com-interop
regsvr32
1vote
0answers

In-place upgrade to Windows Server 2012 fails with 'Failed to CoCreate IPersistAppItemsState object' messages

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
windows-server-2012
upgrade
1vote
0answers

Unable to start World Wide Web Publishing service

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
windows-server-2003
iis-6
1vote
1answer

Failed to create the VirtualBoxClient COM object. The application will now terminate. Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

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
linux
virtualbox
virtual-machine
kali-linux
1vote
0answers

unable to execute VBoxManage command in python executable (created with pyinstaller)

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
ubuntu-16.04
python3
exec
1vote
3answers

VirtualBox won't open. Error code 0x80040154

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
windows
windows-8.1
virtualbox
1vote
0answers

How did Google Chrome just update itself when I had forcefully disabled updates and removed Google Update?

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
google-chrome
security
updates
1vote
1answer

System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed

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
c#
interop
console-application
dsofile
1vote
0answers

Does Interpol.MLApp.dll require a Matlab licence?

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
c#
matlab
1vote
1answer

Using MSBuild.exe to release a net5.0 console application because dotnet not working

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
c#
.net
msbuild
visual-studio-2019
1vote
0answers

Selenium webdriver automation test gives Error: A device attached to the system is not functioning. (0x1F)

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
javascript
reactjs
selenium
selenium-webdriver
testing
1vote
1answer

Is there a way to register COM class factory in Azure App Service?

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
azure
azure-devops
azure-web-app-service
azure-webjobs
1vote
0answers

COMException error: 80040154 Class not registered in microsoft.office.interop.excel.application C#

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
c#
excel
office-interop
excel-interop
1vote
7answers

Brother label printing COM reference error

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
vb.net
printing
com
1vote
0answers

Creating an Access instance from C# code using interop

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
c#
ms-access
office-interop
1vote
0answers

Class not registered Exception on initializing PackAndGoLib.PackAndGoComponent

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
autodesk-forge
autodesk-designautomation
1vote
1answer

Windows 8 App error: "class not registered" (visual basic) with Visual Studio when simply trying to open Outlook

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
vba
outlook
com
windows-8
1vote
0answers

could not create dts.application because of error 0x80040154 dtexec error in SSIS

Should the SSIS package execution work with dtexec.exe without installing integration services or SQL server? read more
ssis
dtexec
1vote
0answers

Any difference regarding remote COM server activation on Windows 7 vs on Windows XP?

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
dcom
1vote
1answer

How to fix: Setting SSIS Execute Package property ExecuteOutOfProcess to True causes error?

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
ssis
1vote
0answers

unable to execute VBoxManage command in python executable (created with pyinstaller)

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
python-3.x
linux
virtualbox
ubuntu-16.04
pyinstaller
1vote
0answers

80040154 Class not registered

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
asp.net
.net
com
1vote
1answer

How to add a reference to Windows Runtime Component (C++/WinRT) in my .Net Framework project

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
c#
c++
.net
com
windows-runtime
1vote
2answers

C# application using AutoIt.dll issue

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
c#
autoit-c#-wrapper
1vote
0answers

Getting System.BadImageFormatException Error while Running the .Net Program in x64 Server

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
c#
.net
sql-server
ssis
etl
1vote
1answer

Troubleshoot windows error: Failed to schedule Software Protection service for re-start at 2014-09-13T08:09:23Z. Error Code: 0x80040154

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
printing
remote-desktop
1vote
1answer

How to retrieve data from Elipse server with .Net Core? Am I restrained to .NET Framework for using a DLL?

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
c#
visual-studio
dll
com
.net-4.7.2
1vote
1answer

Class not registered when calling my Delphi COM object from a WPF project in .NET

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
c#
.net
wpf
delphi
pascal
1vote
2answers

Unit test can not load COM class

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
.net
visual-studio-2010
unit-testing
com
1vote
0answers

UWP printing failure: 0x80040154

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
printing
uwp
1vote
0answers

Having an issue importing a tlb file into my MFC Application

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
debugging
import
mfc
com
1vote
2answers

C# Project : Build Folder : Build a project on a computer and run it on another computer

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
c#
build
visual-studio-2017
1vote
1answer

Zkemkeeper.dll not working after deploying, Class not registered?

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
c#
visual-studio
deployment
zkteco
0votes
1answer

One system is stuck on an older Cumulative Update

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
windows-update
windows-server-core
0votes
1answer

Windows Server 2016 : using Restore-WebConfiguration

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
iis
powershell
windows-server-2016
0votes
0answers

WSUS clients on remote site do not see any update

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
wsus
0votes
1answer

sql web replication ?diag errors

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
replication
iis-8
sql-server-2012
0votes
2answers

Windows x64 2008 P2V? Has anybody had any success?

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
windows-server-2008
vss
physical-to-virtual
vmware-converter
x86-64
0votes
1answer

Error when sending email via outlook, Does this require a server application?

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
email
outlook
.net
windows
0votes
2answers

Create App_Data and register Excel application on ASP.NET deployment? (IIS7.5)

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
iis-7.5
deployment
0votes
1answer

How do I restore the recovery partition in windows 8.1

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
windows-8.1
0votes
1answer

Windows Live Mail - calendar's corrupted data error when importing mail from Outlook Express

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
windows
windows-live-mail
outlook-express
0votes
0answers

Adobe brings HRESULT Class not registered

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
c#
pdf
x86
adobe
0votes
0answers

insert an image in Excel file with C# openXml

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
c#
excel
azure-functions
openxml-sdk
insert-image
0votes
1answer

TargetInvocationException when using uwp bluetooth APIs in .NET 5 winforms app

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
c#
.net
winforms
uwp
0votes
1answer

Using COM References after deplyoing on IIS Server

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
image
asp.net-core
powerpoint
0votes
3answers

excel creation with powershell

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
excel
powershell
0votes
0answers

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for remote component with CLSID {..} error: 80040154

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
dcom
clsid
0votes
0answers

Invoking Excel (Microsoft.Office.Interop.Excel) throws an exception when debugging in admin mode

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
c#
excel
exception
excel-interop
administrator
0votes
1answer

Some library to run a powershell script that uses Excel COM classes without Office installed?

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
excel
powershell
0votes
1answer

Unable to run SSIS package using SQL Server Agent Job - Error 0x80040154

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
sql-server
ssis
sql-server-agent
0votes
0answers

SSIS migration issue from 2008 to 2016

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
ssis
ssis-2008
ssis-2016
0votes
1answer

SSIS Package calling from Windows service on Windows server R2 : Error -Microsoft.SqlServer.Dts.Runtime.DtsComException:

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
c#
ssis
windows-services
sql-server-2008-r2
0votes
2answers

The requested OLE DB provider Microsoft.ACE.OLEDB.16.0 is not registered. If the 32-bit driver is not installed, run the package in 64-bit mode

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
sql-server
excel
ssis
oledb
export-to-excel
0votes
1answer

Unittest mock a .NET with pythonnet

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
python
python.net
0votes
1answer

problems running SSIS routine from command line

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
sql-server
ssis
dtexec
0votes
0answers

When trying to open Outlook email from Web application on IIS manager get error message Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

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
c#
asp.net
outlook
0votes
0answers

COMException including Excel during ADO connection

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
mysql
excel
vb.net
visual-studio
ado
0votes
1answer

Execute package task in errorhandling gives error

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
ssis
azure-data-factory
ssis-2017
0votes
0answers

Issue in integrating ZKT finger print device into dotnet core api project

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
c#
api
.net-core
fingerprint
zkteco
0votes
0answers

Using c#.net can open excel workbook with console app but not with a windows forms app

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
c#
excel
visual-studio-2019
0votes
0answers

COM Exception: 0x80040154

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
c#
.net
windows
dll
registry
0votes
1answer

Load C# (COM) in a Credential Provider : working with winlogon, but problem when explorer loads it

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
c#
c++
com
com-interop
credential-providers
0votes
1answer

ServerManager fails with 0x80040154 in c# Winforms app creating simple web application in IIS

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
c#
winforms
iis
servermanager
0votes
1answer

Visual Studio 2019 (Community Edition) - Cannot install/update Extensions

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
visual-studio-2019
visual-studio-extensions
vs-community-edition
0votes
0answers

error 0x80040154 when deploying an application using zkemkeeper.dll

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
.net
zkemkeeper
0votes
0answers

Retrieving the COM class factory for component 80040154 Class not registered - DLL is definitely in registry and app is using x86

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
c#
com
0votes
2answers

Unable to import Access DB to SQL Server Migration Assistant for Access (32 bit)

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
ms-access
database-migration
32-bit
sql-server-migration-assi
0votes
1answer

How to add an event handler for reading or opening any mail in Outlook? VSTO

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
c#
outlook
vsto
outlook-addin
0votes
0answers

while running selenium program I "got class not registered"

from selenium import webdriver driver = webdriver.Chrome() driver.get('https://youtube.com') searchbox = driver.find_element_by_xpath('/html/body/ytd-app/div/div/ytd-masthead/div[3]/div[2]/ytd-searchbox/form/div/div[1]/input') searchbox.send_keys('onedirection') searchButton = driver.find_element_by_xpath('//*[@id="search-icon-legacy"]/yt-icon') searchButton.click() errors: DevTools listening on ws://127.0.0.1:60787/devtools/browser/cf0e349f-7f12-4a0a-b908-6f97e183ab8e [8524:7008:0819/010151.241:ERROR:device_event_log_impl.cc(208)] [01:01:51.241] Bluetooth: bluetooth_adapter_winrt.cc:736 GetBluetoothAdapterStaticsActivationFactory failed: Class not registered (0x80040154) [1]: emphasized text https://i.stack.imgur.com/xgept.png read more
selenium
class
selenium-chromedriver
0votes
1answer

MediaCapture.PrepareLowLagRecordToStorageFileAsync() throws "Class not registered" exception on HoloLens

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
c#
uwp
hololens
0votes
1answer

Cannot create com object - Powershell

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
powershell-4.0
sccm
0votes
3answers

Bluetooth error while making gmail login bot using selenium in python. But even the basic search for "Email" id element is also not found

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
python-3.x
selenium
gmail
selenium-chromedriver
bots
0votes
0answers

Restful API for posting JSON data to SAP Business One 10

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
sap
sap-business-one-di-api
0votes
0answers

Transfer data from Excel to SQL Server using SSIS

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
sql-server
visual-studio
ssis
sql-server-data-tools
0votes
1answer

IIS and IISExpress with COM libraries

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
c#
iis
com
0votes
1answer

Azure DevOps pipeline unit tests with library dependency not working

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
unit-testing
dll
azure-devops
azure-pipelines
0votes
1answer

Batch file throwing error - .bat(Batch)Calling from C#

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
.net
powershell
batch-file
c#-4.0
0votes
0answers

Unable to open Windows form ( .vb ) in visual studios 2010

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
c#
forms
visual-studio
0votes
0answers

COM library failing to register in .NET Core

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
c#
.net-core
com
ibm-pcomm
0votes
0answers

Class not registered when running unit test but runs OK in debug

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
c#
unit-testing
com
0votes
1answer

Autofac.Core.DependencyResolutionException: 'An exception was thrown while activating

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
c#
autofac
0votes
1answer

How to deploy an app using external libraries In IIS

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
asp.net
iis
dll
deployment
windows-server-2012-r2
0votes
0answers

Office 365 and Interop Services not working

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
vb.net
visual-studio-2017
windows-10
office365
0votes
1answer

How to use vb6 dll function in c# .net using 4.6.1 framework

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
.net
com
vb6
0votes
3answers

CoCreateInstance fails with 0x80040154 on ITaskBarList3

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
shell
com
vb6
0votes
0answers

Moving .Net Web from Windows 2008 to Windows 2019 and .Net error

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
c#
.net
0votes
1answer

Using CodeDeploy to deploy to EC2 instance

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
powershell
asp.net-core
web-deployment
windows-server-2016
aws-code-deploy
0votes
0answers

Receiving COM class not registered error when trying to run my application

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
c#
mind-manager
0votes
0answers

Visual Basic application processing an Excel file

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
excel
vb.net
-1votes
2answers

Python doesn't install in wine on kali linux

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
installation
python
kali-linux
wine
-2votes
1answer

C# Winform ActiveX error while add in VFP form

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
c#
activex
visual-foxpro

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0