Windows error 0x80010100, -2147417856

Detailed Error Information

RPC_E_SYS_CALL_FAILED[1]

MessageSystem call failed.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode1 (0x001)
NameFACILITY_RPC[2][1]
DescriptionThe source of the error code is an RPC subsystem.[2][1]
Error Code256 (0x0100)

Questions

8votes
1answer

Can I monitor the size of a thread's message queue?

Our application is getting a System Call Failed RPC error from DCOM (0x80010100), we suspect that the target thread's message queue is full (although I'm not convinced this is ture). I know the queue is limited to 10,000 messages and I want to see if we're close to this number [...] read more
multithreading
winapi
message-queue
5votes
4answers

C# COM Office Automation - RPC_E_SYS_CALL_FAILED

I'm writing a C# program that acts as a PowerPoint 2007 plugin. On some machines, some calls to the PowerPoint object model throw a COMException with the message RPC_E_SYS_CALL_FAILED. I couldn't find any specific advice on what to do regarding this error, or how to avoid it. From Googling it [...] read more
c#
com
ms-office
3votes
1answer

COM Add-in: Resolve the error DisconnectedContext in WinWord.exe

I built an add-on to Microsoft Word. When the user clicks a button, it runs a number of processes that export a list of Microsoft Word documents to Filtered HTML. This works fine. Where the code falls down is in processing large amounts of files. After the file conversions are [...] read more
c#
multithreading
visual-studio
com
3votes
2answers

DisconectedContext was detected

I need help getting rid of this error: > "Transition into COM context 0x465608 for this RuntimeCallableWrapper failed > with the following error: System call failed. (Exception from HRESULT: > 0x80010100 (RPC_E_SYS_CALL_FAILED)). This is typically because the COM context > 0x465608 where this RuntimeCallableWrapper was created has been disconnected > [...] read more
c#
winforms
excel-interop
3votes
2answers

DisconnectedContext was detected - Threadpool and Ping

I'm attempting to create a multi-threaded application which will allow me to ping thousands of hosts, the results of the ping are written to a richtextbox. After this application executes, once it's iterated through a thousand or so addresses, I'm presented with the following exception: DisconnectedContext was detected Message: Transition [...] read more
c#
multithreading
threadpool
2votes
1answer

Getting error creating Excel through C# : Transition into COM context 0x56b098

I am trying to create an Excel file through C# code and scenario is that I have a stored procedure which returns 15000 records and I am reading the data through a SqlDataAdapter and data is then populated in the DataTable and then I am filling the data into excel [...] read more
c#
excel
sqldataadapter
1vote
0answers

'Transition into COM context for this RuntimeCallableWrapper failed' error in parallel programming

I have some methods which are calling SPs from SQL Server. In UI I am calling methods using parallel Programming like below: Parallel.Invoke( ()=>{value1=GetData1(filterCriteria); }, ()=>{value2=GetData2(filterCriteria); }, ()=>{value3=GetData3(filterCriteria); }, ()=>{GetData4(filterCriteria); } ); I am facing the below error. > "Transition into COM context 0x4f0100 for this RuntimeCallableWrapper failed > with [...] read more
c#
c#-4.0
asynchronous
parallel-processing
1vote
0answers

Getting RPC_E_SYS_CALL_FAILED in IDispatchEx::GetDispID() for an out-of-proc IDispatch pointer

I’m stuck with an issue and I’m pretty sure that this forum will be able to help me for this. I’m trying to add few automation objects to the scripts (hosted via a separate process (ATL EXE server)). Also I am trying to sink the events from these automation objects [...] read more
atl
1vote
1answer

C#: How to avoid WIA-error when scanning documents with 2400dpi or more?

when we scan a document with a resolution of 2400dpi or higher, we recieve (for example) the following error-message: COMException: Ausnahme von HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED) or COMException: Ausnahme von HRESULT: 0x8021006F in one of the following lines img = itm.Transfer(scanFormat.ScanFormat) as WIA.ImageFile; img = ip.Apply(img as WIA.ImageFile); some screenshots for [...] read more
c#
.net
wia
image-scanner
1vote
0answers

DTE.Debugger.Go(False) fails after building externally in a Visual Studio 2008 macro

I am writing a macro to save all open documents, launch MSBuild to build C# projects in parallel, and then run the solution using the debugger. Automating these steps in a reliable way will save my team a lot of time. My problem is I can't get DTE.Debugger.Go(False) to work [...] read more
visual-studio-2008
msbuild
macros
parallel-processing
0votes
0answers

VB Visual Studio 2017: Error Managed Debugging Assistant 'DisconnectedContext'

I got the "Managed Debugging Assistant 'DisconnectedContext' " error. > Managed Debugging Assistant 'DisconnectedContext' Message=Managed Debugging > Assistant 'DisconnectedContext' : 'Transition into COM context 0xfc94b0 for > this RuntimeCallableWrapper failed with the following error: System call > failed. (Exception from HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED)). This is > typically because the COM [...] read more
vb.net
visual-studio
0votes
1answer

C# - Excel - Office Interop - Exception HRESULT 0x80010100 (RPC_E_SYS_CALL_FAILED)

I have a Windows forms application that runs an excel macro using Office Interop. I run the macro from the main GUI thread but the macro is pretty long to run and after several minutes it ends up in an exception RPC_E_SYS_CALL_FAILED. Any ideas? Exception is : System call failed. [...] read more
c#
office-interop
0votes
1answer

How to fix a "System call failed" exception when using Office Interop Excel and macros

We have a C# application that executes a fairly complex Excel macro for reporting purposes. The macro runs fine for smaller datasets, however, when the data it needs to process becomes large, we get a: > System call failed. (Exception from HRESULT: 0x80010100 > (RPC_E_SYS_CALL_FAILED)) at > Microsoft.Office.Interop.Excel.Workbooks.get__Default(Object Index) after [...] read more
c#
excel
vba
0votes
1answer

Interop issues on SQL Server 2008 R2

First time I ask a question on this website but for the last two years I have consulted the website at least once a day as it is very helpful! However there is one issue I cannot resolve that is about Excel Interop I believe. I am using SQL Server [...] read more
excel
ssis
sql-server-2008-r2
0votes
0answers

DisconnectedContext was detected error detected

I've added this code: if (arrSettimgs[0] == "1") { if ((webBrowserMain.Document != null) && (webBrowserMain.Document.Domain != domain)) { webBrowserMain.Navigate(blockPage); } } The execution get stuck and eventually I get the following error: DisconnectedContext was detected Message: Transition into COM context 0x2e07e2b0 for this RuntimeCallableWrapper failed with the following error: System [...] read more
c#
.net
wpf
0votes
1answer

0x80010100: System call failed" exception, ContextSwitchDeadlock

Long story short: in a C# application that works with COM inproc-server (dll), I encounter "0x80010100: System call failed" exception, and in debug mode also ContextSwitchDeadlock exception. Now more in details: 1) C# app initializes STA, creates a COM object (registered as "Apartment"); then in subscribes to its connection-point, and [...] read more
c#
com
apartments
contextswitchdeadlock

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