Windows error 0x8001010D, -2147417843

Detailed Error Information

RPC_E_CANTCALLOUT_ININPUTSYNCCALL[1]

MessageAn outgoing call cannot be made since the application is dispatching an input-synchronous call.
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 Code269 (0x010d)

Questions

2votes
2answers

COM exception was unhandled in c#

I am trying to get Automation Element using: var automationElement = AutomationElement.FromPoint(location); And I am geting error. COM exception was unhandled: An outgoing call cannot be made since the application is dispatching an input-synchronous call. (Exception from HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL)) Can any one help me out with this please..... read more
c#
1vote
0answers

Cordova UAP appx on Windows 10 crashes when app is min/maximized

Cordova UAP app on Windows 10 crashes when minimizing and maximizing it. REPRODUCE STEPS 1. Build cordova app using version 6.3.1 and windows engine version 4.4.3 2. Install the appx on Windows 10 (having store Version 11610.1001.23.0) 3. Open the app 4. Minimize and Maximize the app 5. Repeat step [...] read more
javascript
cordova
windows-10-universal
appx
1vote
1answer

RPC_E_CANTCALLOUT_ININPUTSYNCCALL when trying to access USB device

I have this piece of code: var searcher = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_DiskDrive"); foreach (var queryObj in searcher.Get().Cast<ManagementObject>()) //Error points to this line Basically what this code does is, it runs through a list of connected devices and looks if the one i want is connected. If I [...] read more
c#
windows
exception
1vote
1answer

Call to ManagementObjectSearchert.Get() crashes with InvalidCastException

I am trying to query attached USB devices as follows (C#, .NET 4.5, Win10) using (ManagementObjectSearcher mos = new ManagementObjectSearcher("select DeviceID, Model from Win32_DiskDrive where InterfaceType='USB'")) { ManagementObjectCollection coll = mos.Get(); foreach (ManagementObject drive in coll) { } } The interesting part is that I get an InvalidCastException on the [...] read more
c#
.net
1vote
1answer

Application is dispatching an input-synchronous call - SSIS

I am getting the following error whenever I open my package: =================================== An outgoing call cannot be made since the application is dispatching an input-synchronous call. (Exception from HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL)) (Microsoft Visual Studio) ------------------------------ Program Location: at Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetaData100.get_Name() at Microsoft.SqlServer.IntegrationServices.Designer.View.Automation.GraphElementControlAutomationPeer.GetNameCore() at System.Windows.Automation.Peers.AutomationPeer.GetName() at System.Windows.Automation.Peers.ItemAutomationPeer.GetNameCore() at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree() at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree() at [...] read more
visual-studio
visual-studio-2013
ssis
1vote
2answers

InvalidCastException: RPC_E_CANTCALLOUT_ININPUTSYNCCALL

I'm building an application in C# that has a static class which initiate a COM class and handles some event handlers of another class that hooks keyboard. When I call a method of the COM class from a button event handler in my WPF window, the method works without any [...] read more
exception
com
1vote
0answers

OleDb Exception (0X8001010D)

While running my C# application i have an error containing the following exception text: System.Data.OleDb.Exception (0x8001010D): An outgoing call cannot be made since the application is dispatching an input-synchronous call. at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper) at ... Note: the computer i used to write application code installed Access 2013, and [...] read more
c#
oledbconnection
1vote
1answer

Webbrowser control throws exception when Form windowstate is minimized

I am using WebBrowser control on a WinForm. When my form is minimized the control throws an exception, > An outgoing call cannot be made since the application is dispatching an input-synchronous call. (Exception from HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL)) I have stated windowstate as, this.WindowState = FormWindowState.Minimized; Does anyone aware of [...] read more
c#
winforms
webbrowser-control
1vote
1answer

Winforms/ActiveX cross threaded calls

I have an application wherein I am hosting multiple types of content (images, PowerPoint presentations, videos etc) in a kiosk-type app. The user has to be able to page back and forth between these bits of content, preferably using gestures of the touchscreen on the kiosk, i.e. tap one side [...] read more
winforms
activex
multithreading
0votes
1answer

How to know if a specific device removed C#

I am developing a program that uses a hardware (I am using Arduino) to collect data and then store the data in the database. As there is no way to get assured that the serialport is receiving the data, I am trying to implement some code snippet to declare hardware [...] read more
c#
serial-port
wndproc
0votes
1answer

ManagementObjectSearcher does not work within global hook

When I try to get all running processes inside mouse event handler it throws an exception. First I though that the problem persists because I put async keyword before mouse event handler, but it was not the case, as the exception is thrown also for non-asynchronous methods. I'm using MouseKeyHook [...] read more
c#
com
wmi
pinvoke
mousekeyhook
0votes
2answers

Multi-threading issue with Microsoft COM Add-ins

I'm creating add-in for Microsoft office products and just want to execute time consumable tasks on background. In my situation more contents office program has, more time add-in requires to done its job. So I need to execute a such job in background while user is doing other tasks or [...] read more
c#
multithreading
com
office-addins
0votes
1answer

Exception : (RPC_E_CANTCALLOUT_ININPUTSYNCCALL) when using WinForms application

I have created a WinForms application which uses BackgroundWorker. The methods in BackgroundWorer displays messages on a RichTextBox. The _TextChanged event handler scrolls to the end of the RichTextBox. Now the problem is that, I get an > UnHandled COMException : 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL) when RichTextBox.ScrollToCaret() is called from the _TextChanged [...] read more
c#
winforms
comexception
0votes
1answer

VB.NET exe that talks to out-of-process COM on activate event bombs when external script AppActivates it

I wrote a VB.NET Windows Forms app that requests a string from an out-of-process COM object every time the activate event fires. My form has two tabs, so I need to programmatically flip to the correct tab every time my window gains focus. Works fine, until... By chance, someone ran [...] read more
vb.net
com
vbscript
crash
out-of-process
0votes
1answer

Get process owner returns an error in VB

I have some code that I found on this site which seems to work great most of the time. Here is the code : Private Function GetProcessOwner(processId As Integer) As String Try Dim query = "Select * From Win32_Process Where ProcessID = " & processId Dim searcher = New ManagementObjectSearcher(query) [...] read more
vb.net
process
0votes
1answer

Threading issue with Dispatcher.invoke in WinRT

I posted a question some time ago on MSDN forum involving the following code. It creates on a new thread, reads thumbnail from a file and displays it through Dispatcher. private void Button_Click_1(object sender, RoutedEventArgs e) { Task.Factory.StartNew(async()=>{ var localFolder = Windows.Storage.ApplicationData.Current.LocalFolder; ; var file = await localFolder.CreateFileAsync(".txt", Windows.Storage.CreationCollisionOption.OpenIfExists); var [...] read more
c#
multithreading
windows-8
windows-runtime
0votes
1answer

Getting error when trying to handle ActiveX event

I have a two ActiveX servers I need to handle it's events. the first one I got to work with no problems but with the second one I get a error once I try to assign a new event. The one that works the code is below: public delegate void [...] read more
c#
com
activex

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