Windows error 0x80040150, -2147221168

Detailed Error Information

REGDB_E_READREGDB[1]

MessageCould not read key from registry
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 Code336 (0x0150)

Questions

4votes
1answer

URL Rewrite 2.0 installation fails on Docker

I'm trying to get URL Rewrite 2.0 installed using this Dockerfile: FROM microsoft/aspnet:4.6.2 WORKDIR /inetpub/wwwroot COPY obj/Docker/publish . ADD https://download.microsoft.com/download/C/9/E/C9E8180D-4E51-40A6-A9BF-776990D8BCA9/rewrite_amd64.msi /install/rewrite_amd64.msi RUN net start MSIServer RUN msiexec.exe /i c:\install\rewrite_amd64.msi /quiet /passive /qn /L*v "C:\package.log" When I build the container image, I see this error message: The Windows Installer Service could [...] read more
dockerfile
url-rewrite-module
3votes
0answers

WCF service can't be recycled, because it cannot read keys from registry

My WCF service returns this error, when I start or recycle my App Pool. It only happens during automatic deployment, just after I change website settings. When I recycle manually, it works fine. [COMException (0x80040150): Could not read key from registry (Exception from HRESULT: 0x80040150 (REGDB_E_READREGDB))] System.Runtime.AsyncResult.End(IAsyncResult result) +607194 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult [...] read more
c#
wcf
iis
3votes
0answers

Exception from HRESULT: 0x80040150 (REGDB_E_READREGDB)

While executing the following script on server1: powershell.exe invoke-command -computerName server2 -scriptblock{cmd.exe "/c d:\scripts\start_SXXX_S012.bat"} we'll get the following error (on server1), but only if no user is logged on at the server server2: > The shell cannot be started. A failure occurred during initialization: Could > not read key from [...] read more
powershell
remote-access
windows-server-2008-r2
2votes
2answers

Could not read key from registry (Exception from HRESULT: 0x80040150 (REGDB_E_READREGDB))

For a project at work we use Castle Windsor as our inversion of control container. In my team's project we depend on another team's WCF web services. The config for consuming these web services are set up in such a way that we will simply constructor inject the necessary interfaces [...] read more
asp.net
windows
registry
castle-windsor
1vote
1answer

WiX Burn Managed Bootstrapper fails to load - Errror 0x80040150

My managed bootstrapper application as of yesterday fails to run on some machines, with the following error: [07F4:13CC][2013-12-12T12:20:31]e000: Error 0x80040150: Failed to create the managed bootstrapper application. [07F4:13CC][2013-12-12T12:20:31]e000: Error 0x80040150: Failed to create UX. [07F4:13CC][2013-12-12T12:20:31]e000: Error 0x80040150: Failed to load UX. [07F4:13CC][2013-12-12T12:20:31]e000: Error 0x80040150: Failed while running ... ... [07F4:13CC][2013-12-12T12:20:31]e000: [...] read more
c#
wix
installation
bootstrapper
burn
0votes
0answers

Install-WindowsFeature returning Error: 0x80040150

I am trying to install the Web-WebSocket feature using powershell but I am getting the following error PS C:\Windows\system32> Install-WindowsFeature -Name Web-WebSockets Install-WindowsFeature : An unexpected error has occurred. Could not read key from registry Error: 0x80040150 At line:1 char:1 + Install-WindowsFeature -Name Web-WebSockets + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidResult: [...] read more
powershell
windows-server-2019
0votes
1answer

Making an async COM call -- do I have to create my own P/S?

I have a custom interface defined in a type library and implemented in my code. I have not created my own proxy/stub. I have successfully marshaled the interface pointer from my main thread (STA) to a background thread (STA), in my case using IGlobalInterfaceTable. From that background thread, I want [...] read more
c++
winapi
com
ole-automation
0votes
1answer

Windows 8.1 metro application crashes with HRESULT: 0x80040150

So I created a windows 8 application and it runs correctly but when I run it on a 8.1 system it crashes. I also tried upgrading my application to target 8.1 and it didn't fix the issue. This is the exception it throws: An unhandled exception of type 'System.Exception' occurred [...] read more
c#
windows
microsoft-metro
0votes
1answer

ASP.NET project calling a VB6 Ddll, error REGDB_E_READREGDB

I have a project in aspx with vb.net and this app calls a COM + DLL, and this DLL reads a registry key, in my VB6 app uses this DLL correctly, but adding this DLL's references on my .NET project, i get this error below: Somebody help me with this [...] read more
asp.net
vb.net
dll
vb6
registry
0votes
1answer

ActiveX control inside PowerPoint slide

I've created a very simple program and exposed it as an ActiveX Control. What I'm trying to do is to embed this control into a PowerPoint slide. The code for the program is as follows: namespace WindowsFormsApplication1 { [ProgId("Tomor.Form1")] [ClassInterface(ClassInterfaceType.AutoDispatch)] public partial class Form1 : Form { public Form1() { [...] read more
c#
.net
powerpoint
office-interop
-1votes
1answer

Could not read key from registry (Exception from HRESULT: 0x80040150 (REGDB_E_READREGDB)) at Interop.QBFC13.IQBSessionManager

During a deployment of an update to our Web Service that QuickBooks Web Connector calls, we are not having a bunch of issues related to the Interop.QBFC13.IQBSessionManager. Note our code all works in development environment and has worked in the past on our production server. We are running on a [...] read more
c#
quickbooks
qbfc

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