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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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