Windows error 0x40080201, 1074266625

Detailed Error Information

HRESULT analysis[1]

FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)true
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode8 (0x008)
NameFACILITY_WINDOWS[1][2]
DescriptionThe source of the error code is the Windows subsystem.[1][2]
Error Code513 (0x0201)

Questions

12votes
3answers

Windows 10 Crash Whodunit

I have an app in the store that has been causing me some headaches. My client reported, and I verified, that the app crashes/closes in the following scenario: * Launch the app * Close the app * Wait at least ~15 minutes * Open the app The app will close [...] read more
c#
windows
crash
uwp
windows-10
10votes
2answers

WinRT - Windows Store - WinRT Originate Error - How do decipher such an error?

I'm working on a Windows Store app and I'm getting a WinRT error that doesn't really give me any information so I would like to know how to understand these sorts of errors. Basically I get the error on the following line which is called inside OnPointerPressed: m_gestureRecognizer->ProcessDownEvent(args->GetCurrentPoint(nullptr)); The error [...] read more
visual-c++
error-handling
windows-runtime
windows-store-apps
winrt-xaml
4votes
1answer

kernel debugger error when running my solution on window mixed reality portal

I've been doing some UWP development and when i run my application on mixed reality portal it throws the below error : CallContext:[\PublicAPIActivity] onecoreuap\windows\analog\input\mirage\stubdll\holographicspace.cpp(390)\Windows.Perception.Stub.dll!0F7C1A21: (caller: 03F18204) ReturnHr(2725) tid(2eac) 80070057 The parameter is incorrect. Exception thrown at 0x772D08B2 (KernelBase.dll) in MSIApp.exe: 0x40080201: WinRT originate error (parameters: 0x80070057, 0x00000057, 0x05AAEB64). analog\input\mirage\publicapi\holographicspace.cpp(340)\Windows.Mirage.dll!067CA971: (caller: [...] read more
c++
uwp
4votes
2answers

Unit test for UWP app failed to run on Visual Studio 2015

I have trouble running unit test on one of my machine, the test app just shut down after few seconds. Here is the output show when debugging the test: > Exception thrown at 0x7525D8A8 in UnitTestProject1.exe: Microsoft C++ > exception: EETypeLoadException at memory location 0x0A17C5F0. > > Exception thrown at [...] read more
c#
unit-testing
windows-10
uwp
4votes
0answers

How to find what is causing heap corruption (error 0xC0000374) in my Windows Store C# app?

My Win8 app started crashing out of blue due to a native exception. I then enabled the mixed (native + managed) debugger mode in VS and noticed the following: * Before the app crashes, I get in the Output toolwindow the following message: Critical error detected c0000374. * Then I [...] read more
c#
xaml
windows-store-apps
2votes
2answers

Default selected index for combo-box crashes my UWP App

Why the default selected index doesn't work? It crashes with platform exception : <ComboBox x:Name="dCmbControl" x:Uid="dCmbControl" SelectionChanged="ComboBox_SelectionChanged" SelectedIndex="0" ItemsSource="{x:Bind abc}"/> RumTime Error : Exception thrown at 0x00007FFDEF7F7788 (KernelBase.dll) in abc.exe: 0x40080201: WinRT originate error (parameters: 0x00000000802B000A, 0x000000000000003E, 0x00000066746FBB90). Exception thrown at 0x00007FFDEF7F7788 in abc.exe: Microsoft C++ exception: Platform::COMException ^ at [...] read more
uwp
winrt-xaml
uwp-xaml
c++-cx
2votes
0answers

Qt WinRT Originate Error - 0x40080201

I am running into a peculiar issue with a Qt C++ application I am working on. For testing purposes, I tried this with a brand new project and I still get the same exceptions. I am using QFileSystemModel and displaying it inside a QTreeView and it outputs about 28 total [...] read more
c++
qt
windows-runtime
qtreeview
qfilesystemmodel
2votes
1answer

How to read WinRT errors?

While debugging my Universal Windows Application in the Visual Studio 2015 I noticed some errors in the output window: Exception thrown at 0x00007FFE25967788 (KernelBase.dll) in xxx.exe: 0x40080201: WinRT originate error (parameters: 0x0000000080072738, 0x00000000000000C2, 0x000000217DCFEFD0). Exception thrown at 0x00007FFE25967788 (KernelBase.dll) in xxx.exe: 0xE06D7363: Microsoft C++ Exception (parameters: 0xCCCCCCCC19930520, 0x000000217D6FD410, 0x00007FFE08A58AD0, 0x00007FFE08980000). [...] read more
windows
visual-studio
uwp
2votes
1answer

Loading ResourceDictionary in code behind in UWP/C++

I'm trying to load, in runtime, ResourceDictionary that is stored in a file. In C# it looks simply as ResourceDictionary resourceDictionary = new ResourceDictionary(); resourceDictionary.Source = new Uri("ms-appx:///!UWP/Styles/UWPDictionary.xaml", UriKind.Relative); Application.Current.Resources.MergedDictionaries.Add(resourceDictionary); but same code (in c++/cx) is not working: auto rd = ref new ResourceDictionary(); rd->Source = ref new Uri("ms-appx:///!UWP/Styles/UWPDictionary.xaml"); Application::Current->Resources->MergedDictionaries->Append(rd); [...] read more
uwp
win-universal-app
c++-cx
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

WinRT W8 Create WebView in C++ and add it to the main view

I'm currently trying to display a webview in a WinRT application (without c#). First, is it possible ? I'm currently trying to do it that way: Windows::UI::Xaml::Controls::WebView^ webView = ref new Windows::UI::Xaml::Controls::WebView(); webView->NavigateToString("http://www.google.com"); But as I want this code to be run in the main thread (I think, to create [...] read more
c++
windows-8
windows-runtime
2votes
1answer

Windows 8 application(Windows store app) suddenly terminates

I have created windows store app on windows 8 RTM version. Then I moved the application to run on Windows 8 pro with visual studio 12 Express. upon running the code it gave lot of errors(It was running fluently on RTM version), somehow I removed all errors and application is [...] read more
windows-8
microsoft-metro
1vote
1answer

UWP app work fine on debug but give error "DllImport" in Release

I am reviewing one of GitHub Project and found a problem, It works fine in Debug Mode Following Error Comes if try in Release Mode > TypeLoadException: Unresolved P/Invoke method > 'MediaApi_GetRadioEnabled!radioapi.dll' in assembly > 'Microsoft.Devices.Radio.FMRadio, Version=1.0.0.0, Culture=neutral, > PublicKeyToken=null' because it is not available in UWP applications. Please > [...] read more
c#
uwp
1vote
1answer

Exception in UWP on device and emulator

So, the problem: I have working application on UWP, written on C# and C++. It works as it must work on desktop in releas and debug modes. It worked on mobile devices and emulator not so long before some changes happend in C++ part. But now application crashes at the [...] read more
c#
c++
exception
dll
uwp
1vote
1answer

How to know that camera is currently being used by another application with UWP?

I am trying to show error message "Cannot setup camera; currently being using" when there is already a process running the camera. I have the code that starts the preview using the MediaCapture and it works fine when running without another application using camera. I do get the exception 0x40080201: [...] read more
windows
camera
uwp
c++-cx
1vote
2answers

Microsoft Advertising error

I never had problems with Microsoft Advertising until yesterday... Yesterday I had lot of crash in my app due to Microsoft Advertising. The symbol name of the event is: Microsoft_Advertising!Windows::UI::Xaml::DependencyObject::[Windows::UI::Xaml::IDependencyObject]::SetValue Someone else have this problem ? How can I solve this problem? (my app is a Windows 10 universal app [...] read more
c#
xaml
uwp
ads
1vote
1answer

Need help loading Cortana VCD file on using C++ DirectX/XAML

I am adding Cortana to a DirectX/XAML Windwos 10 game. Every example I can find is given in C#, not C++. Normally this wouldn't be a problem, but apparently I'm not implementing it correctly in C++ and need some help with this one. The purpose of this chunk of code [...] read more
c++
windows-10
cortana
1vote
1answer

WinRT Originate Error 0x40080201

I was writing some code and hit an error when doing heavy parallelism over an IVectorView<StorageFile^>^>. The Debug output was: > First-chance exception at 0x76e86118 in tool.exe: 0x40080201: WinRT originate > error. > > First-chance exception at 0x76e86118 in tool.exe: Microsoft C++ exception: > Platform::FailureException ^ at memory location 0x02daec60. [...] read more
windows-runtime
winrt-async
1vote
1answer

Getting WinRT concurrency exception in Windows 8 app in VS Express but not Professional

I have been working on a version of my XNA tutorials using DirectX 11 and XAML and have been having a pretty good go at things in general. Today, the trial version of VS 2012 Professional expired so I threw an install of the Express Edition on to make sure [...] read more
concurrency
windows-runtime
0votes
0answers

What is it that controls the dlls that SearchUI.exe (Cortana) loads when running?

I am troubleshooting an issue I'm having with SearchUI (Cortana). (see Cortana starts being slow and laggy after launch of the UFT (Unified Functional Testing) application) I have narrowed it down to this dll, EventHooks.dll that SearchUI tries and fails to load when it starts running. If I rename the [...] read more
dll
cortana
0votes
1answer

UWP resources not found

I have an UWP application which is working fine on various machines but on one particular machine, it is crashing silently. When I debugged the installed app through visual studio I figured out that it is not getting the resources on the XAML file e.g {ThemeResource ComboBoxDropdownContentMargin} {Binding TemplateSettings.DropDownContentMinWidth, RelativeSource={RelativeSource [...] read more
c#
.net
xaml
uwp
0votes
1answer

VisualStateManager thrown exception

I'm currently implementing a custom style for a button and want to define the different states (eg. Pressed) with a VisualStateManager. <Style x:Name="customStyle" TargetType="Button"> <Setter Property="ClickMode" Value="Release"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="Button"> <Grid x:Name="RootElement" Background="{TemplateBinding Background}"> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="CommonStates"> <VisualState x:Name="Normal"/> <VisualState x:Name="Pressed"> <Storyboard> <ColorAnimation Storyboard.TargetName="RootElement" Storyboard.TargetProperty="Background" To="Red" </Storyboard> </VisualState> [...] read more
xaml
windows-phone-8
c++-cx

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0