Windows error 0x80070572, -2147023502

Detailed Error Information

NO_USER_SESSION_KEY[1]

MessageThere is no user session key for the specified logon session.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code1394 (0x0572)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x00000572.

Questions

11votes
1answer

Connect to BTLE device using 32feet.net using unique service protocol

I have a bluetooth low energy (BTLE) device, which I need to connect to my PC. To do so, I use the windows API reference in a desktop WPF app. The bluetooth device is rather simple: 1 service, 2 characteristics (one read/notify, one to write to). To make below code [...] read more
c#
wpf
bluetooth
32feet
btle
6votes
1answer

Windows 10 IoT Bluetooth LE

I got an issue with reconnection to my BLE device. Senario that works - BLE Device is not paired - Pi boots and start my App, find's the BLE device, pair and connect, receiving data - Boot Pi and start my App, it will not pair as its already paired, [...] read more
bluetooth
windows-10-iot-core
2votes
1answer

Why I can't send message if I don't unpair my Bluetooth LE Device each time ? (UWP)

I'm currently working on an application, which would send a message to a Bluetooth LE device. Everything works fine on the first start up, but on the second start up, I get an exception. Application Code getDevices() function public async Task<List<string>> getDevices() { Debug.WriteLine("C"); foreach (DeviceInformation di in await DeviceInformation.FindAllAsync(GattDeviceService.GetDeviceSelectorFromUuid(new [...] read more
c#
bluetooth
uwp
bluetooth-lowenergy
hm-10
2votes
0answers

Bluetooth LE code behaving differently on Windows 8.1 and 10

I'm using the Bluetooth Low Energy (BLE) API introduced by Microsoft with Windows 8, the BluetoothGATTxxx functions. My code is working fine on Windows 8.1, but I have observed a difference in the behavior of BluetoothGATTSetDescriptorValue between 8.1 and Windows 10. The scenario is the following: 1. Pair the device [...] read more
bluetooth
windows-10
2votes
0answers

Bluetooth LE on Windows 10 throws exception 0x80070572 on second connection attempt

I am using the Bluetooth Low Energy API on Windows 8.1 and Windows 10 to connect to a custom Bluetooth LE device. I have to pair the device with Windows before connecting to it through my code, and it all works on Windows 8.1, and partially works on Windows 10, [...] read more
c#
windows
windows-10
bluetooth-lowenergy
windows-10-universal
1vote
0answers

Windows 10 IoT and Adafruit M0 BLE comminication

I'm running windows 10 IoT (v14342) on raspberry pi 3 and trying to communicate with Adafruit M0 BLE feather module. After pairing, I'm able to write and receive messages from it and if feather module temporarily loses power, it seems like windows 10 IoT is not able to write anything [...] read more
bluetooth
bluetooth-lowenergy
uwp
windows-iot-core-10
adafruit
0votes
0answers

Windows 10 Bluetooth LE Reconnecting Without Pairing?

I am unable to reconnect to my Bluetooth Low Energy Only Device using the Windows 10 API for Bluetooth without repairing each time (Windows 8.1 works). I am able to pair to the custom device through code, and am able to connect and subscribe for notifications but when I disconnect [...] read more
c#
bluetooth
win-universal-app
windows-10
bluetooth-lowenergy

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