Windows error 0x8000000E, -2147483634

Detailed Error Information

E_ILLEGAL_METHOD_CALL[1]

MessageA method was called at an unexpected time.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code14 (0x000e)

Questions

10votes
1answer

papi_avail: No events available

I want to get into PAPI. I have Version 5.3.2.0 on Debian GNU/Linux. papi_avail just tells me that no hardware events are available: $ papi_avail Available events and hardware information. -------------------------------------------------------------------------------- PAPI Version : 5.3.2.0 Vendor string and code : GenuineIntel (1) Model string and code : Intel(R) Core(TM) i3-5010U [...] read more
papi
4votes
0answers

Azure Mobile Services SignalR application freezing

We have a pretty basic pub/sub application, where clients register to sessions and get updates that concern them (depending on user's group or status for example) from other participants. Notifications about updates are sent using SignalR, which runs on Azure Mobile Services standard instance. Each user is in two SignalR [...] read more
.net
azure
signalr
azure-mobile-services
3votes
3answers

Force-remove a Windows 10 Appx package, skipping any errors that might occur

I bought the pre-order version of Forza Motorsport 7 in September. During installation of the pre-order, an error occurred which left the installation mostly installed. Forza Motorsport is delivered via the Windows Store, and is distributed via the Appx App Packager. Now that Forza Motorsport 7 has "gone gold", I'd [...] read more
windows-10
uninstall
uwp
3votes
3answers

Network connection with UWP Apps

I got two Windows UWP Apps. One of them (the "server") is running on a Raspberry Pi 2 on Windows IoT (10586.0). The other (the "client") is running on any Windows 10 device within the same network. What I want is to get the apps to "talk" to each other. [...] read more
c#
sockets
networking
win-universal-app
windows-10-iot-core
3votes
0answers

Getting spontaneous exceptions with Windows 10 BLE API

I'm pairing with a BLE device and querying all it's services & characteristics in a small test console program Every now and then I get this error during the query process: Scanning for BLE Devices with service 00008000-0000-1000-8000-0012345678 Finding nearest device Connecting to MAC CC12345678CF Pairing... Waiting for DevicePairingResult result... [...] read more
c#
uwp
windows-runtime
windows-10
bluetooth-lowenergy
3votes
0answers

A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E)

My situation: I'm logging into my app. After the login, chats will be loaded (it's a chat app). I'm trying to use DataWriter.StoreAsync, but it will always throw this exception: > A method was called at an unexpected time. (Exception from HRESULT: > 0x8000000E) I've read a lot about async [...] read more
c#
asynchronous
deadlock
3votes
1answer

VS2013 Windows Phone 8 Emulator cannot connect to internet

I am running a simple ootb new Windows Phone 8.0 application in the emulator for Visual Studio 2013. I am using a Surface Pro, 1st generation, core i5, 4 GB RAM. Hyper V is installed, with no other virtualizing systems (like VirtualBox). Connecting via wireless. When I run the emulator [...] read more
windows-phone-8
emulation
visual-studio-2013
hyper-v
3votes
0answers

Multiple WinRT CaptureElements

The CaptureElement XAML control is a cool and easy technique to preview the camera on a device in your application's canvas without having to invoke the CameraCaptureUI dialog. enter image description here [https://i.stack.imgur.com/GyX84.jpg] But... adding more than one doesn't seem to work. Trying this: var _MediaCapture = new MediaCapture(); await [...] read more
windows-8
winrt-xaml
2votes
1answer

Conditionally parsing an array based on previous elements with nom

I need to parse an array of 32 bit ints (little endian), from an array of u8s, however the next int only exists if the 31st bit of the current int is set. If the rest don't exist then the rest of the array should be set to zeroes. I'm [...] read more
parsing
rust
nom
2votes
2answers

Windows Store App Unit Testing a USB device

I'm writing a USB device API for Windows Store Apps that uses Windows.Devices.USB API from Windows 8.1 to connect and communicate with the custom USB device. I'm using the Visual Studio 2013 dev preview IDE. The following function in the library is used to connect to the USB device. (Simplified [...] read more
unit-testing
usb
windows-store-apps
mstest
windows-8.1
2votes
1answer

Handling an IAsyncOperation<StorageFile^>^ object in C++/CX

I want to create a file in the local folder, so I have written the following code: IAsyncOperation<StorageFile^>^ fileTask = Windows::Storage::ApplicationData::Current->LocalFolder->CreateFileAsync("example.dat"); But how should I handle the fileTask? I have tried to call the GetResults-method, but then I get following exception: Ausnahme ausgelöst bei 0x00007FFD211C7788 (KernelBase.dll) in Test.exe: 0x40080201: WinRT [...] read more
file
uwp
c++-cx
2votes
1answer

Total Cache misses fewer than data cache misses (PAPI_L1_DCM > PAPI_L1_TCM)

For my application (SpMV) I have more data cache misses (PAPI_L1_DCM) than total cache misses (PAPI_L1_TCM) in level 1 cache. How can that be? For Level 2 the values are ok. That is, what the PAPI counters offer: [PAPI_L1_ICM ][PAPI_L1_DCM ][PAPI_L1_TCM ][PAPI_L2_ICM ][PAPI_L2_DCM ][PAPI_L2_TCM ] 1256 3388225 1442386 1007 2389903 [...] read more
caching
papi
2votes
1answer

Unit testing Microsoft Band

Trying to do unit testing using MSTest in VS2015 with the Microsoft Band nuGet package and running into the following error "Microsoft.Band.BandIOException: An error occurred while attempting to acquire the Bluetooth device service. This error can occur if the paired device is unreachable or has become unpaired from the current [...] read more
c#
unit-testing
bluetooth
2votes
0answers

Storeasync() is giving exception in windows 8 but working fine in windows phone 8

StreamSocket socket = null; DataWriter datawriter = null; DataReader dataReader = null; socket = new StreamSocket(); datawriter = new DataWriter(socket.OutputStream); dataReader = new DataReader(socket.InputStream); public async Task<byte[]> sendreceive(byte[] bytes) { try { datawriter.WriteBytes(bytes); await datawriter.StoreAsync(); //Exception here } catch (Exception ex) { throw ex; } } //connect the socket socket [...] read more
c#
windows
exception
bluetooth
2votes
2answers

Connecting bluetooth device to windows phone 8 application

I'm developing a Windows phone 8 OS application which should connect to the Bluetooth device (by id/ name). I tried to use by PeerFinder.FindAllPeersAsync() to find all the active devices and I got the following error: A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E). How can [...] read more
windows-phone-8
bluetooth
2votes
2answers

A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E) exception was thrown by a method

Im creating a method in C# in windows 8 application where I am reading data from XML file and storing it in an object and binding the object value into UI elements. I am using some asynchronous file read and write methods, Since I am calling this method inside main [...] read more
windows-8
1vote
0answers

How do I connect to a Bluetooth LE device from a DLL

How do I connect to a Bluetooth LE device from a DLL I am using VS2015 to build a dll in a .net Framework project on a Windows 10 machine I will eventually call the dll from LabVIEW I can discover BLE (Bluetooth Low Energy) devices by creating a deviceWatcher [...] read more
windows
bluetooth
1vote
1answer

A method was called at an unexpected time from IHttpFilter.SendRequestAsync

I'm developing an UWP app that calls a web service. For that I use a HttpClient object from Windows.Web.Http namespace and I pass a IHttpFilter object to its constructor. This filter is responsible for the authentication process. I based my solution following this link and the authentication logic is based [...] read more
c#
web-services
uwp
async-await
1vote
2answers

How to retrieve files from KnowFolders in Windows 8?

I want to create method for get list of files in PictureFolder. I create this method: public Task<List<string>> GetImages() { var task = new Task<List<string>>(() => { var files = new List<string>(5); StorageFolder picturesFolder = KnownFolders.PicturesLibrary; IReadOnlyList<IStorageItem> itemsList = picturesFolder.GetItemsAsync().GetResults(); foreach(var item in itemsList) { if(item is StorageFile) { files.Add(item.Name); [...] read more
c#
windows-8
.net-4.5
async-await
1vote
0answers

GetBasicPropertiesAsync throws InvalidOperationException in WinRT

I'm using GetBasicPropertiesAsync() to calculate the available space on the phone (Windows Phone 8.1 RT application). The method works fine, but sometimes it throws an InvalidOperationException causing the application to crash. I get the following stacktrace: Exception: System.InvalidOperationException: A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E), [...] read more
c#
windows-runtime
windows-phone-8.1
winrt-xaml
1vote
1answer

Only 14 RAPI events are available on Xeon Phi. Why so few?

I'm trying to use RAPI to monitor the performance of my Xeon Phi code. I just compiled and installed a native version of RAPI follwoing the documentation. And the following list is what I get when I execute "rapi_avail" on my Xeon Phi which shall display all available events. Surprisingly, [...] read more
intel
performancecounter
xeon-phi
rapi
1vote
0answers

How to access local storage in background task (for audio) in windows phone 8.1

I made a Background task for playing audio in my windows phone 8.1 app. But I want to access some local storage files, but there is some problem. I made following attempts Attempt 1: StorageFile contentFile = await localFolder.GetFileAsync(guid + "_rec_c.txt"); text = await FileIO.ReadTextAsync(contentFile); Error: App execution stops and [...] read more
c#
windows-phone-8
windows-runtime
windows-phone-8.1
1vote
0answers

Exception appeared after Windows 8.1 update

I have a Windows Store app that was running fine for the last 6 months with no exceptions and a 50 minutes average app usage for day (dashboard statistics). Bad ratings will ruin my 4.5 average rating and I need to solve this fast so I will give a bounty [...] read more
c#
xaml
windows-runtime
windows-store-apps
winrt-xaml
1vote
1answer

Upgrade to SSL using StreamSocket

I am working on WinRT(Windows8 Release Preview). I have a web application(in fact, a simpler XMPP Client). I mainly use StreamSocket class to connect the Jabber Server. It gives me a good start.But I met a problem when i try to upgrade the already connected socket to use SSL. I [...] read more
c#
ssl
xmpp
windows-runtime
microsoft-metro
0votes
0answers

Windows 0x8000000E error code

I am running my UWP application like - powershell.exe -noprofile -Command iotstartup run MyApplication Sometimes I am getting error like ERROR: failed to activate(MyApplication!App): 0x8000000E What is the meaning of 0x8000000E error code? read more
windows
uwp
windows-iot-core
0votes
1answer

Ubuntu Not Starting

So I have an ASUS FX503VD with a 1TB HDD + 128GB SSD. I have Ubuntu 18.04.3LTS dual-booted on it. But whenever I try to turn Ubuntu on, it would go to the Ubuntu screen(where the dots appear under Ubuntu), and then my laptop would switch off. Sometimes it would [...] read more
ubuntu
boot
0votes
0answers

System.InvalidOperationException: 'A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E)'

Getting below error, > System.InvalidOperationException: 'A method was called at an unexpected time. > (Exception from HRESULT: 0x8000000E)' for below code, ... for (int retry = 0; retry <= retryCount; retry++) { if (await RequestPairDeviceAsync(_targetDeviceInformation.Pairing)) // excetion happend here { break; } } ... private static async Task<bool> RequestPairDeviceAsync(DeviceInformationPairing pairing) [...] read more
c#
uwp
wifi-direct
0votes
1answer

How to create CoreApplicationView (C++/CX)?

Im trying to create a second window on UWP, but nothing works out for me. Unfortunately, I`m not well in UWP and there are few guides for C++/CX. My IFrameworkViewSource: IFrameworkView^ ApplicationSource::CreateView() { return ref new test(); } maximally simple implementation of IFrameworkView: test::test() { } void test::Initialize(CoreApplicationView^ applicationView) { [...] read more
uwp
c++-cx
0votes
0answers

Handle 4XX errors in the IHttpFilter implementation for newer Windows.Web.Http.HttpClient

I'm starting out with the newer UWP based application development. While writing an http request client, I noticed that most of my requests needed the Authorization header present. Hence, I implemented/copied the sample plugin filter provided in the MSDN docs. Now, I have 2 methods in my base http client [...] read more
c#
uwp
windows-10
windows-10-universal
dotnet-httpclient
0votes
1answer

DataWriter StoreAsync() throws exception

I got an issue as part of remote websocket server accessing ('ws://172.17.35.104:8080/WebsocketHttpListenerDemo') from UWP app. DataWriter StoreAsync() throws exception . A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E) please refer the below sample code (client): private async void Button_Click(object sender, RoutedEventArgs e) { Connect("ws://172.17.35.104:8080/WebsocketHttpListenerDemo").Wait(); } public [...] read more
websocket
uwp
0votes
0answers

CryptoJS is not defined at

I am trying to use DES encryption/decryption on Google chrome. In my folder I have three files. 1. tripledes.js 2. mode-ecb.js 3. CryptoJS-DES.html The scripts in my html file is defined as follows :- <script type="text/javascript" src="tripledes.js"></script> <script type="text/javascript" src="mode-ecb.js"></script> and another script file which is :- function encryptByDES(message, key) [...] read more
javascript
html
node.js
cryptojs
0votes
0answers

UWP System.Runtime.InteropServices.COMException in async method

I tried to modify the code from Windows universal samples for BLE Advertisement and got the System.Runtime.InteropServices.COMException: private async void OnAdvertisementReceived(BluetoothLEAdvertisementWatcher watcher, BluetoothLEAdvertisementReceivedEventArgs eventArgs) { if (!connected) { StorageFolder storageFolder = KnownFolders.DocumentsLibrary; commandFile = await storageFolder.CreateFileAsync("command_to.txt", CreationCollisionOption.OpenIfExists); resultFile = await storageFolder.CreateFileAsync("result_from.txt", CreationCollisionOption.OpenIfExists); BasicProperties fileProperties = await commandFile.GetBasicPropertiesAsync(); //Here I get [...] read more
c#
uwp
async-await
0votes
1answer

Why does my code cause a deadlock?

First I want to say that I'm sorry if this is a bad question. I had a question about this issue earlier this morning and could fix some issues, but I'm still getting a deadlock and I'm struggling with this the whole morning. I'm trying to request chats from a [...] read more
c#
asynchronous
deadlock
0votes
0answers

Windows UWP StreamSocket ReOpen

Hey, I have a Problem with the Windows 10 UWP API. I'm developing a Windows 10 UWP App and need to connect to a Chromecast. I'm using SharpCaster for this. But when I open a connection to a Chromecast and close it again later on, it is not possible to [...] read more
c#
.net
sockets
uwp
chromecast
0votes
0answers

Why am I getting so many non-crashing "A method was called at an unexpected time" exceptions?

It is scarcely exaggerating to say that I see more of these when my app runs: Exception:Thrown: "A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E)" (System.InvalidOperationException) A System.InvalidOperationException was thrown: "A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E)" Time: 10/17/2014 9:18:21 PM [...] read more
c#
windows-store-apps
async-await
0votes
2answers

Concurrent operations limit in metro app

In my metro application, I am creating some parallel background downloads using BackgroundDownloader^ downloader = ref new BackgroundDownloader(); Very often, I get an exception at this point which says: > First-chance exception at 0x75424B32 in WWAHost.exe: Microsoft C++ exception: > Platform::COMException ^ at memory location 0x03C5E470. HRESULT:0x8000000E A > method [...] read more
microsoft-metro
0votes
1answer

Windows 8 JavaScript Sharing Charm - "This app can't share."

My Windows 8 app allows sharing on 1 page (the high scores page) which worked fine but since the sharing code was only on the high scores page the app said "This app can't share." when the user tried to share on a page other than the high scores page. [...] read more
windows-8
0votes
1answer

Using Camera in snapped state?

In my windows 8 application, after switching to "snapped state", whenever I invoke Camera capture event it shows following error: > A method was called at an unexpected time. (Exception from HRESULT: > 0x8000000E). Does it mean the camera does not work in snapped state, or I am missing something? [...] read more
windows-8
microsoft-metro
0votes
1answer

0x8000000e error when calling onsuggestionsrequested (win8)

I want to program a search contract in my windows 8 app. basically everythings just works as it should, except the suggestion list. Always when i enter the function, where i should add my suggestions i get the runtime error 0x8000000e I just copy pasted the code from the examples, [...] read more
javascript
search
windows-8
microsoft-metro

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