Windows error 0x80040153, -2147221165

Detailed Error Information

REGDB_E_INVALIDVALUE[1]

MessageInvalid value for 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 Code339 (0x0153)

Questions

11votes
2answers

WPF RichTextBox SpellCheck ComException

I've got an exception while trying to enable spell checking on some Windows 8.1 machines (both have latest updates, OS language is russian and .NET framework 4.7 is russian) saying: > System.Reflection.TargetInvocationException: Exception has been thrown by the > target of an invocation. ---> System.Runtime.InteropServices.COMException: > Invalid value for registry [...] read more
c#
wpf
windows-runtime
richtextbox
spell-checking
6votes
2answers

VSHost crash, REGDB_E_INVALIDVALUE loading Specific Project

Whenever I load a solution in Visual Studio with a specific project set as the startup project, I get a VSHost32.exe crash. If I keep on going and launch the application, I get a COMException: {"Invalid value for registry (Exception from HRESULT: 0x80040153 (REGDB_E_INVALIDVALUE))"} With a stacktrace: at System.Runtime.InteropServices.RuntimeEnvironment.GetDeveloperPath() at [...] read more
visual-studio
debugging
comexception
vshost32
5votes
5answers

documentdb emulator gatewayservice crashing on startup

I was looking to learn about documentdb and installed the emulator seemingly without error. However, upon startup I have a service crashing: GatewayServiceStartup Judging from the title I am guessing it is an important service to the emulator. Interestingly enough it seems like the emulator continues to load and attempts [...] read more
azure-cosmosdb
2votes
3answers

PartCover 2.5.3 win 7 x64

Could you tell me how you got PartCover running with VS2008 and win 7 x64? Based on this post How do I run PartCover in x64 windows, I ran c:\Program Files (x86)\Gubka Bob\PartCover .NET 2.3>CorFlags.exe PartCover.exe /32BIT+ /Force with result > Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 3.5.21022.8 [...] read more
.net
64-bit
partcover
corflags
0votes
0answers

COM invoking Outlook fails on some Office 365 upgrades

We are invoking Outlook Application and Mail COM component to fill in and display an email for the user. However, in some cases this results in an exception shown below. Invoking Outlook through COM works just fine in a local install of Office prior to the upgrade from out application [...] read more
outlook
com
office365
0votes
0answers

SSIS Execute SQL Task error Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "" failed

I have the following issue on SSIS. I am trying to initiate destination tables using "Execute SQL Task" components. These components fail to execute with the error: > Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query > "" failed with the following error: "The recovery of [...] read more
sql-server
visual-studio
ssis
0votes
1answer

Get 80040153 error with Visual Studio 2019 SSIS project when targeting SQLServer 2019

Visual Studio Community 2019 16.8.1, SQL Server 2019 I created a new SSIS project in VS 2019. Then I created a Connection Manager and successfully Tested the connection against the database. When executing a SQL Task with a simple query I get this error: [Execute SQL Task] Error: Executing the [...] read more
ssis
visual-studio-2019
sql-server-2019
0votes
0answers

SSIS Error - Parsing Query from SQL Task Fails Due to 80040153, Invalid Value for Registry

PROBLEM STATEMENT I have a lot of SQL Server environments locally. When trying to parse a SQL task with very basic truncate table dbo.table syntax, I get the following error message. I should note that when I execute the task it works fine despite throwing an error when parsed. My [...] read more
visual-studio
ssis
ssis-2017
execute-sql-task
0votes
1answer

Getting an 0x80040153 Error in Unity while implementing with the Hololens

I have the following Problem: I am implementing with the Hololens. For orientation I use the Origami tutorial of the Microsoft Academy. Everything was okay. I build my Project and see my result through the Hololens in my room. Today I start Unity and load the same project and get [...] read more
c#
hololens
0votes
0answers

fail to load DLL on non dev machine

C# DLL LOADING ISSUE I am developing an program that takes an XML config and progresses through a series of tasks, as an addition to our Automation at work. We've created wrappers from common utilities / procedures, which compile into .dlls to be loaded at run time which inherit from [...] read more
c#
.net
dll
-1votes
1answer

How using 32 bit dll for AnyCPU?

How can I use 32 dll for AnyCpu(x64). Error : > Retrieving the COM class factory for component with CLSID > {E187099F-8C5C-4723-8866-D8DBB6353ADE} failed due to the following error: > 80040153 Invalid value for registry (Exception from HRESULT: 0x80040153 > (REGDB_E_INVALIDVALUE)) Is there a solution for this? read more
c#
windows
dll
com

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