Windows error 0x80070490, -2147023728

Detailed Error Information

NOT_FOUND[1]

MessageElement not found.
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 Code1168 (0x0490)

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

Questions

27votes
6answers

Error 500.19 with 0x8007000d when running ASP.NET Core app in IIS despite AspNetCoreModule being installed

I have an ASP.NET Core app that runs great in IIS Express. Similarly, if I launch the app from the command line via dotnet run, everything works smoothly: C:\Code\Sandbox\IisTestApp\IisTestApp>dotnet run Using launch settings from C:\Code\Sandbox\IisTestApp\IisTestApp\Properties\launchSettings.json... Hosting environment: Production Content root path: C:\Code\Sandbox\IisTestApp\IisTestApp Now listening on: http://localhost:5000 Now listening on: https://localhost:5001 [...] read more
c#
asp.net
iis
asp.net-core
21votes
3answers

Windows.Web.Http.HttpClient#GetAsync throws an incomplete exception when invalid credentials are used with basic authentication

I am working on a Windows Runtime Component which makes API calls. Until earlier today I used the HttpClient and related models from System.Net but switched over to Windows.Web instead to leverage the WinRT streams. Aside from changing the using statements, swapping HttpContent to IHttpContent and using the WindowsRuntimeExtensions to [...] read more
c#
.net
windows-runtime
async-await
dotnet-httpclient
10votes
1answer

Visual studio 2013 installation failing "Element not found"

The install fails with an "Element not found" error. enter image description here [https://i.stack.imgur.com/YlcCO.png] Lin the log file, first, there are a bunch of "registry key not found" messages: [1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0\CompilerCore86'; variable = 'compilerCore86D11_Ver' [1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0\CompilerCore'; variable = [...] read more
installation
visual-studio-2013
9votes
2answers

Toast Notifications in Win Forms .NET 4.5

I've searched through a number of different posts to do with creating toast notifications from a Win Form however when these through I get an error when generating the toast notification. > System.Exception: Element not found. (Exception from HRESULT:0x80070490). I have edited the csproj file and added the following: <PropertyGroup> [...] read more
c#
winforms
toast
8votes
7answers

Can't Deploy Universal App to Windows Phone 10 Technical Preview

Here's the details: * Created a blank Universal Windows App in Visual Studio 2015 * Set to ARM, Debug * Attempt to deploy to a Lumia 925 Running Windows 10.0.10166.0 * Phone is in 'Developer Mode' * I unlocked the phone using the Windows Phone Developer Registration (8.1) tool. Do [...] read more
windows-phone-8.1
windows-phone
visual-studio-2015
windows-10-mobile
8votes
2answers

ToastNotifier.GetScheduledToastNotifications() throws "Element not found" (Exception from HRESULT: 0x80070490)

I've noticed in my telemetry data that the following code sometimes results in an exception "System.Exception: Element not found. (Exception from HRESULT: 0x80070490)" var notifier = ToastNotificationManager.CreateToastNotifier(); var notifications = notifier.GetScheduledToastNotifications(); The code is run inside a Windows Phone 8.1 (WinPRT) application on a background thread and the exception is [...] read more
windows-runtime
windows-phone-8.1
8votes
2answers

HTTP Error 500.19 - Internal Server Error - system.webServer/httpErrors is missing a section declaration

I have the following: <system.web> <compilation debug="true" targetFramework="4.5"/> <httpRuntime targetFramework="4.5"/> <customErrors mode="Off"/> </system.web> and also: <system.webServer> <handlers> <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/> <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/> <remove name="ExtensionlessUrlHandler-Integrated-4.0"/> <remove name="OPTIONSVerbHandler"/> <remove name="TRACEVerbHandler"/> <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/> <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0"/> <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/> </handlers> [...] read more
asp.net-mvc
asp.net-mvc-4
iis-7.5
asp.net-mvc-5
7votes
2answers

DotNetCore 1.0.1 WindowsHosting Installation Fails for IIS Windows Server 2012R2

Things I tried: * Running admin * Turning off UAC * Restarting machine * I am supposed to be admin on the machine I have the following error log: [0A48:124C][2016-09-16T13:28:19]i300: Apply begin [0A48:124C][2016-09-16T13:28:19]i010: Launching elevated engine process. [0A48:124C][2016-09-16T13:28:19]i011: Launched elevated engine process. [0A48:124C][2016-09-16T13:28:20]i012: Connected to elevated engine. [0D94:0270][2016-09-16T13:28:20]i358: Pausing automatic [...] read more
iis
.net-core
windows-server-2012-r2
6votes
6answers

Windows 10 Bluetooth Low Energy Connection c#

For a project I need to get some data from a Bluetooth device on windows 10 using C#. I'm not too familiar with the Bluetooth API and can't figure out why the following is not working: Using the BluetoothLEAdvertisementWatcher I search for advertisements, which works fine. I do receive the [...] read more
c#
windows
bluetooth
bluetooth-lowenergy
windows-10
6votes
1answer

"Element not found 0x80070490" when installing ASP .Net Core tooling

I'm using Visual studio 2015 Update 3, I'm trying to install asp .net core Tooling package(DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe) I get this by either downloading it separately or when clicking at the "ASP .NET 5 RC" template when creating a new ASP Net Web Application in VS. After a while during the installation [...] read more
visual-studio-2015
6votes
3answers

Installing Windows 10 App with powershell remoting

I've been trying to no avail to install a Windows 10 universal app with powershell remoting. I've tried all i can think of so now I'm turning to you hoping that someone can provide me with an answer or explanation as to why my approach isn't working. Alternative solutions is [...] read more
powershell
installation
uwp
powershell-remoting
6votes
4answers

.NET Core SDK Installer failed to install on windows 2012 R2 Standard

I setting up my build server for CI using Jenkins. I am trying to install .NET Core SDK from https://www.microsoft.com/net/download However i tried executing downloaded DotNetCore.1.0.1-SDK.1.0.0.Preview2-003131-x64.exe i get unspecified error enter image description here [https://i.stack.imgur.com/8OQzg.png] and here is complete log [07E8:0FE4][2016-09-19T12:09:36]i001: Burn v3.10.2.2516, Windows v6.3 (Build 9600: Service Pack 0), [...] read more
asp.net-core
asp.net-core-mvc
.net-core
asp.net-core-1.0
coreclr
5votes
2answers

Windows Updates Fails Server 2008 0x80070490

I have a server with Windows Server 2008 Standard x64 Edition installed. This has been installed and running for several months and I have been able to successfully install previous Windows Updates. I have two pending updates that fail to install. * (KB967723) Security update for Windows Server 2008 x64 [...] read more
windows-server-2008
windows-update
5votes
3answers

Missing boot files in Windows 8

I had a partition with Windows 8 Release Preview, Windows' System Reserved partition and the empty space of the beginning of disk. I moved two partitions to the beginning of disk using Ubuntu Live CD and GParted. After that, the Windows Loader didn't boot and throw an error about missing [...] read more
boot
windows-8-preview
bootloader
5votes
1answer

Visual Studio Installer Missing option value: InstallPath - Visual Studio 2019

I have the visual studio 2019 enterprise edition (VS 2019 16.1.4) installed with valid license (Visual Studio Subscription) and it was working good. All of sudden, when I try to open a project or any file that is part of the project, I am getting the following error. enter image [...] read more
visual-studio
installation
visual-studio-2019
corrupt
5votes
1answer

Can't install Visual Studio 2015 Update 2

I am sorry if I'm asking this in wrong place but since it's about the coding IDE I don't know where else to go. I just can not install Visual Studio 2015 Update 2 on my fresh Windows 10 Pro installation (only Office 2013 installed) and fresh Visual Studio 2015 [...] read more
visual-studio
visual-studio-2015
failed-installation
5votes
0answers

Visual Studio 2017 Pro forgot it is installed

After updating Visual Studio 2017 Pro to the latest version as of this writing (15.6.2, updated from 15.5.2) I have the strangest problem. So I can start Visual Studio perfectly fine and all, but whenever I attempt any operations that have to do with the Visual Studio Installer or the [...] read more
visual-studio
visual-studio-2017
vsix
5votes
1answer

Element not found (Exception from HRESULT: 0x80070490) while calling BackgroundExecutionManager.RequestAccessAsync()

While trying to get the lockscreenaccessstatus by calling BackgroundExecutionManager.RequestAccessAsync()on the very first launch of my WinRT app, I am getting this exception: (Exception from HRESULT: 0x80070490) Weirdly, this issue is no more happening on the second (and subsequent) launch of the app. I read that as a workaround we can [...] read more
c#
background
windows-runtime
windows-8.1
5votes
1answer

How to deploy Windows Phone 8.1 app to Windows 10 Mobile device?

I am unable to deploy my Windows Phone 8.1 app (XAML, appx) to Nokia Lumia 920 running Windows 10 Mobile v10512. The deployment just fails with: Error : DEP0001 : Unexpected Error: Element not found. (Exception from HRESULT: 0x80070490) Deploying WP8.1 app to WP8.1 devices work. Deploying Windows 10 UWP [...] read more
c#
windows-phone-8.1
win-universal-app
windows-10
windows-10-mobile
5votes
1answer

hresult from IMbnInterfaceManager::GetInterfaces when no MBN device exists

I have the following code working in Windows 7: MbnInterfaceManager mbnInfMgr = new MbnInterfaceManager(); IMbnInterfaceManager mbnInfMgrInterface = mbnInfMgr as IMbnInterfaceManager; if (mbnInfMgrInterface != null) { IMbnInterface[] mobileInterfaces = mbnInfMgrInterface.GetInterfaces() as IMbnInterface[]; } No problems when the MBN device exists but when an MBN device doesn't exist I get the following [...] read more
c#
com-interop
mobile-broadband-api
5votes
4answers

Error of SQL Server 2016 sp_execute_external_script with R integration

I am evaluating SQL Server 2016 in-database integration with R on Windows 10. I have followed the steps installed all components and scripts. Now I have following questions: Where does sp_execute_external_script reside? I can’t find it. When I run script, for example: execute sp_execute_external_script @language = N'R' , @script = [...] read more
sql
sql-server
r
sql-server-2016
5votes
1answer

Wix Managed host could not be loaded

I've made a super simple wix bootstrapper and install project in Visual Studio 2015 (and tried this in 2013 with the same result). The bootstrapper will post a message box and quit, but I'm getting an error "Loading prerequisite bootstrapper application because managed host could not be loaded, error: 0x80070490." [...] read more
wix
wix3.10
4votes
2answers

Computer boots up into 'startup repair' after running disk cleanup

I ran the 'disk cleanup' utility in Windows, and it found 80GB of temp files. This was fishy, since my disk is only 128GB and definitely did not have 80GB worth of temp files, but I let it run anyways because I figured the tool couldn't possibly be that stupid. [...] read more
windows-7
boot
mbr
4votes
1answer

UWP SerialDevice.FromIdAsync throws "Element not found" (Exception from HRESULT: 0x80070490) on Windows 10

I want to open serial port on an attached Bluetooth device in a Xamarin Forms application. Here is the code (I simplified it in order to illustrate the problem): string l_gdsSelector = SerialDevice.GetDeviceSelector(); var l_ardiDevices = await DeviceInformation.FindAllAsync(l_gdsSelector); foreach(DeviceInformation l_diCurrent in l_ardiDevices) { if(l_diCurrent.Name.StartsWith("PX05")) { m_sdDevice = await SerialDevice.FromIdAsync(l_diCurrent.Id); break; [...] read more
c#
bluetooth
xamarin.forms
uwp
windows-10-universal
4votes
1answer

Remove ToastNotification from ActionCenter

I have a desktop application running in Windows 10 which creates ToastNotifications that are also being stored in the Action Center. I noticed, that when I reboot the computer the Notifications are still present in the Action Center so I wanted to remove them through my Application when they're not [...] read more
c#
windows-10
desktop-application
toast
4votes
3answers

Azure Compute Emulator Wont Start

For a while now my Azure Compute Emulator will not start. When I try, I receive the following error: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7) If I hit show detail I get the below message: System.Runtime.InteropServices.COMException (0x800700B7): Cannot create a file when that [...] read more
azure
visual-studio-2015
azure-compute-emulator
4votes
1answer

WinRm - Cannot create a WinRM listener on HTTPS due to incorrect SSL certificate

I want to use WinRM with https transport. I've bought a Comodo certificate (the error states I cannot use a self-signed certificate) with the Subject matching my FQDN (Full computer name in System) of my Windows 10 computer (not domain joined): CN = my.domain.net OU = PositiveSSL OU = Domain [...] read more
ssl
https
ssl-certificate
winrm
certreq
4votes
0answers

Register a BLE Background Task for Windows Desktop App (Element Not Found for BackgroundTaskRegistration)

I'm attempting to use the Windows 10 runtime Bluetooth Low-energy (BLE) APIs in a Windows desktop WPF C# application. The code is mostly based off of the Bluetooth Advertisement UWP sample, but I've added the reference to the relevant libraries. However, I'm running into an issue with the BackgroundTaskRegistration class. [...] read more
c#
.net
wpf
bluetooth-lowenergy
4votes
1answer

Element not found when deploying to phone

I'm unable to deploy UWP apps to my phone running Window 10 Mobile Insider Preview 10512. When I attempt to deploy in VS 2015, I'm getting the error: > Error : DEP0001 : Unexpected Error: Element not found. (Exception from > HRESULT: 0x80070490) The phone is developer unlocked. I'm able [...] read more
uwp
windows-10-mobile
4votes
1answer

SQL Server 2012 Filestream : An error occurred during the drop table operation on a FileTable object

I'm using SQL Server filestream feature in some databases to save profile pictures as files. I added new filegroup of type filestream and database file inside this filegroup. Also added a filetable and saved the files successfully and everything was fine. For some reasons I have to remove the filestream [...] read more
sql-server
sql-server-2012
4votes
0answers

Application.config "disappears" while debugging Azure WebRole if I pause at a breakpoint for too long

I've noticed this off and on. If I'm locally debugging my Azure WebRole, in Visual Studio 2013, and I pause at a break-point for too long, the current request, or the next one, and all subsequent requests, will result in a 500.19 - Internal Server Error. HTTP Error 500.19 - [...] read more
debugging
azure
visual-studio-2013
webrole
3votes
2answers

"Windows Setup cannot find a location to store temporary installation files" when installing Server 2008 R2 on Server 2008

I'm trying to remotely install Windows Server 2008 R2 on a Server 2008 box using an iso image. When I run the setup I get the error: > INSTALL WINDOWS > > Windows Setup cannot find a location to store temporary installation files. To > install Windows, make sure that [...] read more
windows
windows-server-2008
installation
windows-server-2008-r2
3votes
2answers

Certificate Authority does not show Templates

No templates are shown in the Template folder of the Certificate Authority. In the Certificate Templates (certtmpl.msc) are Templates shown. Running certutil -CATemplates returns 0x80070490 (WIN32: 1168 ERROR_NOT_FOUND) CertUtil: Element not found. Restarting the service did not help Sreenshot of CN=OID shows the following result enter image description here [https://i.stack.imgur.com/eUqA0.png] [...] read more
windows-server-2012-r2
certificate-authority
3votes
2answers

SAFE_OS, REPLICATE_OC errors upgrading Windows 10

I've discovered that a PC is running Windows 10 Pro version 1709 which has been out of support since 2019/04/09 so I'm trying to upgrade it but it keeps failing. Attempting up upgrade via Windows Update fails with error A current driver on your PC may be better than the [...] read more
windows-10
windows-10-upgrade
3votes
1answer

Windows Update keeps offering same update

Windows 7 tells me I have an update to perform. I have installed the update and it says it installed correctly. Minutes later it says I have the same update to perform. I installed same update 5 times. Then I looked in "latest updates and find that there has not [...] read more
windows-7
windows-update
3votes
1answer

Windows Update Troubleshooter - Errors reappear after fixing

I'm using Windows 8.1 64bit. I had an issue with the Windows Modules Installer Worker using a high percentage of CPU when no updates were available. I ran the Windows Update troubleshooter and it seems that problems were found and fixed: Potential Windows Update Database error detected 0x80070490 Possible issues [...] read more
windows-8.1
windows-update
3votes
1answer

ffmpeg cannot grab the audio played through the speaker under windows 10

I am using ffmpeg to grab screen. It used to work well under win7 using UScreenCapture and virtual-audio-capturer (all x86 version). On win10, the audio is not recorded. (I cannot hear any sound while playing back). I am using ffmpeg/uscreencapture/virtual-audio-capturer all win32 version since virtual-audio-capturer has no x64 release. So [...] read more
audio
ffmpeg
windows-10
3votes
1answer

Access denied error when accessing usb stick files in Windows IoT core app

I want to access files (images, text files etc.) from an USB stick on my Raspberry Pi 2 using Windows 10 IoT Core. So I've added the to the appxmanifest file. When using this code in my IBackgroundTask I get an access denied error in the second line: public sealed [...] read more
raspberry-pi2
windows-10-iot-core
windowsiot
3votes
0answers

UWP BluetoothLEDevice "Element not found. (Exception from HRESULT: 0x80070490)"

I need a BluetoothLEDevice to connect via GATT. Here is the most simplistic code in a plain new Universal App I could come up with: protected async override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); var devices = await DeviceInformation.FindAllAsync(BluetoothLEDevice.GetDeviceSelector()); if (devices.Count <= 0) return; this.bluetoothDevice = await BluetoothLEDevice.FromIdAsync(devices[0].Id); } The method [...] read more
c#
bluetooth
async-await
bluetooth-lowenergy
uwp
3votes
1answer

LaunchAdvancedAssociationUI in C# -> Element not found on Windows 8

I'm trying to set up a way to manage file associations for my program in C#. I already set the correct values in the registry with WiX, and found a wrapper for ApplicationAssociationRegistrationUI which should allow me to open the GUI to set file associations. But it doesn't work. I [...] read more
c#
windows-8
com
com-interop
2votes
1answer

A series of DeviceSetupManager warnings in Windows 10 event logs

I have been "cleaning up" Windows 10, and I'm noticing a series of warnings in the Event Viewer every time I start Windows. And they are in the following order. Event 202, DeviceSetupManager "The Network List Manager reports no connectivity to the internet." Event 200, DeviceSetupManager "A connection to the [...] read more
windows-10
event-log
2votes
2answers

Windows installer fails to update itself with error 0x80073701 ERROR_SXS_ASSEMBLY_MISSING and will not load any other updates

Another symptom is that it claims that there has been no last update installation ever. It quotes a null in a non-existing source code file on somebody's d: drive: 2014-12-27 00:12:17, Error CSI 00000351@2014/12/26:23:12:17.141 (F) d:\win7sp1_gdr\base\wcp \componentstore\csd_locking.cpp(324): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null) And it appears from the [...] read more
windows-7
64-bit
windows-update
updates
2votes
1answer

Updates for Windows 8 (updated from Windows 7) fail during configuration

For several months now my Windows 8 system (German Windows 8, 32bit) fails to install the system updates; the last one which successfully installed was KB2918614, at 2014-09-14 (security update for Windows 8). All further updates failed; as of now, there are 55 updates waiting. I tried every now and [...] read more
windows-8
windows-update
2votes
1answer

Installing windows 8, cannot find a location to store temporary

Im trying to install windows 8 from a iso file, because i lack an optical drive. Though I'm getting an error when running the mounted install. I'm Running windows 7. Because I could not get my iso file to be bootable for windows 8 > Windows Setup cannot find a [...] read more
windows-7
windows-8
2votes
1answer

When I close an AppWindow, why can't I open a new AppWindow

I am using an AppWindow in my UWP app. Most of the time things are good, but occasionally when I close the app window there is some strange behavior. Occasionally, the app window does not seem to close properly. What I observe is that app window seems to close (the [...] read more
c#
uwp
window
uwp-appwindow
2votes
3answers

Visual Studio 2019 Exception at Run (Exception from HRESULT: 0x80070490)

I face an error when I run VS2019 (Professional). After loading the solution a message appears at the top of the window and it says Visual Studio ran into an unexpected problem. You may need to reaload the solution if you continute to see error. [Open log file]. I had [...] read more
visual-studio
visual-studio-2019
2votes
2answers

Setting MetaProperty for a lookup type causes MS Word to crash

We have a VSTO add-in written in VB.Net 3.5 and running in MS Word 2010. In this VSTO add-in we set a number of SharePoint (2010) Meta Properties that are returned from the documents ContentTypeProperties collection. Sometimes (quite regularly, but not all the time) when we set the Value property [...] read more
sharepoint
ms-word
vsto
2votes
0answers

Virtual Smart Card creation - 'Element not found. (Exception from HRESULT: 0x80070490)'

I'm having an issue regarding Virtual Smart Card creation. RequestVirtualSmartCardCreationAsync() is throwing a strange exception. I'm attaching snippet of code. public async void ScenarioCreateTpmVirtualSmartCard() { IBuffer adminKey = CryptographicBuffer.CreateFromByteArray( new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x01, 0x02, [...] read more
c#
smartcard
tpm
2votes
1answer

Office / Word interop fails with "Element not found" error

I'm trying to use Office interop library but whenever I try to create a new instance of Word Application class I get an exception of: System.Runtime.InteropServices.COMException (0x80070490): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070490 Element not found. (Exception from HRESULT: [...] read more
.net
ms-word
office-interop
2votes
2answers

How to get the current view of my UWP app from background thread?

In my UWP app, when a post call succeeds, I need to show a notification to the user. This notification has to be shown in the current window in which the user is. I will get to know the success of the post call in the background thread only. So [...] read more
uwp
windows-10-universal
2votes
0answers

How to use Geolocator.RequestAccessAsync in WPF desktop app

I've built a WPF app in C# which needs to know the user's location, and currently requires that it be entered manually. I'm using the Desktop Bridge to make it be able to run as a UWP app. When it's running as a UWP app, I want to take advantage [...] read more
c#
wpf
uwp
geolocation
desktop-bridge
2votes
1answer

Merge failure for shared merged PRI file: error 0x80070490. Fault in my computer?

I am installing an app(UWP) in my windows 10 an app that I have received from other developer( with a app-bundle or with powershell). This app was already installed in my computer. WHen I try to reinstall it I receive this error and I have no way to reinstall it. [...] read more
uwp
app-bundle
2votes
1answer

Upgrading IdentityServer AccessTokenValidation from version 3 to 4 leads to HTTP 500.19

Currently we have a working ASP.NET WebAPI 2 project which is compiling and running with IdentityServer3.AccessTokenValidation. After uninstalling the NuGet package and installing the newer IdentityServer4.AccessTokenValidation the project now stops running and exhibits an HTTP Error 500.19 - Internal Server Error. We've tried a lot of things but we're not [...] read more
asp.net-web-api
identityserver4
2votes
2answers

Visual Studio 2017 installer fails to install KB2533623

I'm trying to install Visual Studio 2017 Community via web installer on my Windows 7 laptop and it fails, returning me this log: dd_setup_..._error.log (translated into English from me, since it was in German) Package "WindowsUpdates.KB2533623,version=15.0.26711.1,chip=x64" could not be installed. Search-URL https://aka.ms/VSSetupErrorReports?q=PackageId=WindowsUpdates.KB2533623;PackageAction=Install;ReturnCode=1168 Details Command executed: "C:\Windows\system32\dism.exe" /online /quiet /norestart /add-package [...] read more
windows-7
visual-studio-2017
windows-update
vsinstaller
2votes
1answer

System Notifications at WPF

How I can attach click event to a button at system toast notifications on WPF application using Microsoft.Toolkit.Uwp.Notifications library? I know that I need to use IBackground interface but I can't tie to this class, because the following code is causing the error ( ToastNotificationActionTrigger() element not found, HRESULT: 0x80070490) [...] read more
c#
wpf
notifications
2votes
1answer

SQL 2016 error : Unable to launch runtime for 'R' script. Please check the configuration of the 'R' runtime

I started to explore R on SQL 2016 but running into errors. I resolved a few starting errors but can't get through with this one: exec sp_execute_external_script @language =N'R', @script=N'OutputDataSet<-InputDataSet', @input_data_1 =N'select 1 as hello' with result sets (([hello] int not null)); go Error: > Msg 39021, Level 16, State [...] read more
sql-server
r
2votes
0answers

Visual Studio Code installation error

I am trying to install .NET Core SDK for Windows. I have already installed Visual Studio Code and the C# extension for VSCode. But while installing .NET Core SDK for Windows I am getting the following error: > 0x80070490 Element not found. I cannot understand much when I examine the [...] read more
c#
.net
visual-studio-code
asp.net-core-1.0
2votes
0answers

FindAllPeersAsync() and StreamSocket.ConnectAsync() issue

I am trying to connect to a printer(by MAC address) and print. I am encountering several issues that I tried to overcome for hours with no success. I tried several different Methods: Method 1: Using PeerFinder.AlternateIdentities["Bluetooth:SDP"] = "{00001101-0000-1000-8000-00805F9B34FB}" works on first attempt to connect. When I try to reopen the [...] read more
c#
windows-phone-8
bluetooth
1vote
1answer

NDES AD certificate services Configuration error

While configuring NDES for my Win server 2019, i encountered the following error. Failed to add the following certificate templates to the enterprise Active Directory Certificate Services or update security settings on those templates: EnrollmentAgentOffline CEPEncryption IPSEC (Offline request) Element not found. 0x80070490 (WIN32: 1168 ERROR_NOT_FOUND) I have added NdesService [...] read more
ad-certificate-services
1vote
1answer

What can I do to get rid of the error message: "The DSM service was delayed by 2409807 seconds for a driver query/download/install on device '...'"?

My little laptop runs with MS-Windows 8 and I am not getting windows updates anymore. I looked all day for a solution and so far came up empty handed. All the solutions proposed do not explain what could really be wrong. I tried to delete the "database" that's used to [...] read more
windows-update
drivers
windows-8.1
1vote
3answers

Windows Server 2012 Inplace upgrade fails

Attempting inplace upgrade of Windows Server 2012 (x64) to R2 (x64) Server is virtual (vmware) ISO downloaded from VLSC Login to Windows run setup.exe Installer quits with the following error (at the end of the first phase of the install): [Setup cannot continue due to a corrupted installation file. Contact [...] read more
windows-server-2012
windows-server-2012-r2
1vote
3answers

MDT Deployment Issue-Driver not loading (i217-LM on MDT)

I have been testing a replacement imaging system to replace our limited Ghost deployment system for a good portion of the last year. We bought a new batch of machines (HP Workstation Z230) which have the Intel i217-LM NIC. I have had a significant amount of trouble getting this little [...] read more
windows-server-2012
nic
drivers
intel
mdt
1vote
1answer

Windows 7 x64: Can't Install ASP.NET

I've been fighting this for hours, and I'm about ready to give up. I was in the process of getting Azure tools setup on my Win7 x64 laptop (Dell D830). The Visual Studio tools for Azure require that ASP.NET is installed. It's not enabled by default in Win7, so I [...] read more
iis
asp.net
windows-7
1vote
1answer

FSRM unable to create new reports after removing old LUN

We are running a 3 node failover cluster file service based on server 2008 R2 and iSCSI Storage Arrays. We have recently migrated all storage from one cluster file service on one LUN to a new file service on a new LUN. The old file service had a few storage [...] read more
windows-server-2008-r2
storage
cluster
reporting
1vote
0answers

'IpICSHlpStopSharing' : '0x80070490' in event log

Suddenly I begin to see a lot of errors in my event log (Windows 10 Pro Build 19041): 'IpICSHlpStopSharing' : '0x80070490'. Source: Host-Network service. I am working with Hyper-V (and Docker) and everything seems to work fine so far, but I am wondering where this error comes from and how [...] read more
windows
networking
hyper-v
windows-error-reporting
1vote
1answer

NFS Server granting/removing share permissions to a host error

While trying to add a host to NFS share permissions I'm receiving a very generic error with not much to go on. Cannot set NFS permissions Failed to perform the requested operation. The NFS server is a Windows 2012 R2 core server. I've tried doing this both via the UI [...] read more
windows
permissions
vmware
windows-server-2012-r2
nfs
1vote
1answer

Windows 1809 update always fails with 0x80070490

enter image description here [https://i.stack.imgur.com/cPcQv.png] It always fails at exactly at "Status: Preparing to install - 80%". I have tried everything I could possibly think of: DISM.exe /Online /Cleanup-image /Scanhealth sfc /scannow Removing c:\Windows\SoftwareDistribution (https://community.spiceworks.com/topic/2223969-1809-update-error-at-install-0x80070490?page=1#entry-8486582) or "Windows Repair" (https://www.tweaking.com/content/page/windows_repair_all_in_one.html). The WindowsUpdate.log I get with Get-WindowsUpdateLog doesn't contain anything useful either. [...] read more
windows-10
windows-update
windows-10-upgrade
windows-10-v1803
windows-10-v1809
1vote
1answer

Where are really the log files to debug when a Windows 10 update fails?

I am struggling with a Win 10 update, in particular: Feature update to Windows 10, version 1809 x64 2020-03B - Error 0x80070490 Google is swamped with useless articles about random experiences of people but no actual or systematic solutions. The usual solutions (DSIM, sfc) I did already. According to my [...] read more
windows-10
installation
logging
windows-10-upgrade
1vote
0answers

Error trying to uninstall universal app

I am trying to remove a package in windows 10 but receive the following error. I have spent some time searching on the internet but none of them have the same error as me. Please advise. PS C:\WINDOWS\system32> remove-appxpackage Microsoft.Dayton.f074ae31c9_1.3160.34.2_x64__8wekyb3d8bbwe remove-appxpackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please [...] read more
windows-10
powershell
windows-store-app
1vote
3answers

Trying to install windows 7 on a windows 8 computer

I sent my computer off to the geek squad to be repaired, but it was a 'junk out', and thus I received a new one, although, unlike my last one, this computer has Windows 8 installed on it, which I did not want. I have a windows 7 install disk, [...] read more
windows-7
windows-8
downgrade
1vote
1answer

Windows 10 update to 1511 installation fails

I'm having problems updating to the Windows 10 November Update (1511) with an error saying "Something Happened" enter image description here [https://i.stack.imgur.com/c0eXj.png] I've tried to update using * Windows Update * Media Creation Tool * Tech Bench ISO I've also * Run the Windows Disk Cleanup Tool * Run the [...] read more
windows-10
windows-update
windows-10-v1511
1vote
2answers

Failed and Pending updates: "restart your computer to install important updates"?

I have a windows 7 laptop with a bunch of pending and failed updates (2009 HP, i3). enter image description here [https://i.stack.imgur.com/4WwTA.png] When I manually download them (e.g. January, 2017 Security Monthly Quality Rollup for Windows 7 for x64-based Systems (KB3212646)) and try to install the .msu file, the installer [...] read more
windows-7
windows-update
1vote
0answers

Why upgrading to Windows 10 anniversity edition fails

After running upgrade Windows 10 to anniversity edition screen in blank. After computer restart windows 10 restores its previous version. Tried two times but problem persists. How to upgrade ? Earlier Windows 10 works OK, all windows 10 uodates are installed. C:\$WINDOWS.~BT\Sources\Panther\setuperr.log contains: 2016-08-06 11:20:32, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class [...] read more
windows-10
windows-10-upgrade
windows-10-v1607
1vote
3answers

Cannot Install Windows 7 SP1 (64-bit)

I have tried every way I know how to get Windows 7 SP1 to install. It fails every time. Below is what looks like the relevant contents of the CBS.Log file. If there are further details that would help or more information I can gather, I will get it. 2011-08-15 [...] read more
windows-7
windows-update
1vote
1answer

SQL Server Data Tools - Visual Studio 2015 Error

I'm trying to install SQL Server Data Tools - Visual Studio 2015, but I keep getting errors. Here is the log file- https://drive.google.com/file/d/1yVS6JnjekPAWCr899K8vH9NuCkmBgUjW/view?usp=sharing [052C:28B4][2020-10-25T09:29:45]: Prompt for source of package: VSTASetup2015, payload: VSTASetup2015, path: C:\Users\Isuru Anuradha\Downloads\payload\x86\vsta_setup.exe [052C:28B4][2020-10-25T09:29:45]: Acquiring package: VSTASetup2015, payload: VSTASetup2015, download from: https://go.microsoft.com/fwlink/?LinkId=817280&clcid=0x409 [06F0:2014][2020-10-25T09:30:05]: Error 0x80070490: Failed to find [...] read more
sql-server
visual-studio
visual-studio-2015
1vote
1answer

Why does Microsoft visual studio 2019 close automatically?

I'm using Visual Studio 2019 enterprise and it gives me an error every time I open it. I didn't know what the problem was, so I left it until now the program sometimes closes automatically, this is the program log file, please tell me what is the problem and how [...] read more
visual-studio
xamarin
compiler-errors
1vote
1answer

System.Runtime.InteropServices.COMException in visual studio log file

I use visual studio 2019. When I open my solution, sometime I can see this alert: enter image description here [https://i.stack.imgur.com/RiJIl.png] If I click by Open log btn, I can see a log with the following exception: System.AggregateException: One or more errors occurred. ---> System.Runtime.InteropServices.COMException: Element not found. (Exception from [...] read more
windows
visual-studio
plugins
1vote
1answer

Create second AppWindow and show it

I use: auto c = Concurrency::create_task( Windows::UI::WindowManagement::AppWindow::TryCreateAsync()); c.then([](Windows::UI::WindowManagement::AppWindow^ aw) { aw->TryShowAsync(); }); But it returns HRESULT:0x80070490 Element not found. read more
c++
uwp
1vote
1answer

Toast Notifications are not displaying outside IDE debugger

I have build an app that is supposed to show Toast Notifications on Windows 10, every time a FileSystemWatcher detects a change. I am using the Microsoft.Toolkit.Uwp.Notifications and Windows.UI.Notifications namespaces. When running the code in VS2019 with the debugger enabled, it works flawlessly, but after installing the application using a [...] read more
c#
wpf
toast
1vote
1answer

Removing a failed Microsoft Store installation

When I try to deploy and debug my UWP application from Visual Studio 2017 I get the error: > DEP0900: Failed to unregister application > "Microsoft.ProjectTorino_1.1.1.0_x86__8wekyb3d8bbwe". [0x80073CFA] Deployment > Remove operation with target volume C: on Package > Microsoft.ProjectTorino_1.1.1.0_x86__8wekyb3d8bbwe from: failed with error > 0x80070490. I think this is because [...] read more
uwp
1vote
1answer

How to get parameters of an Picture Transfer Protocol event in Windows Portable Devices?

I'm trying to support a digital camera with WPD. I have working request/data/response communication (PTP types 1,2,3), but have problems with events (type 4). From the event I need a command code (ex. 0xc102) and up to three integer parameters. I have registered and am receiving events using the code [...] read more
windows
com
wpd
ptp
1vote
1answer

Toast notification in WPF: ToastNotificationManager.History throws an exception win10

With a lot of limitations, I manage to pop toast notifications in WPF thanks to instructions given below. https://www.michaelcrump.net/pop-toast-notification-in-wpf/ Unfortunately, I didn't proceed very much with that with extending the code. I tried to get the history of the Notifications ToastNotificationManager.History.GetHistory(); But it keeps throwing an exception as follow: Element [...] read more
c#
wpf
1vote
2answers

How do I adjust the video resolution?

I'm trying to adjust the resolution of the incoming H.264 RTSP stream. I am running on Windows 10 for now, but will eventually move this to Linux. I am creating the LibVLC object passing in several command line args, but nothing I have tried affects the resulting screen resolution. When [...] read more
libvlc
libvlcsharp
1vote
1answer

Unable to create a new .Net Core console app

I've installed Visual Studio 2017 Professional version 15.4.0, and I'm trying to create a new .Net Core console application, but I'm getting this message: Element not found. (Exception from HRESULT: 0x80070490) During the installation process, I've checked the following options: Selected packages [https://i.stack.imgur.com/8oxuE.png] After facing the problem, I ran the [...] read more
visual-studio
.net-core
new-project
1vote
1answer

Why does a generic UWP app show an error?

I created a simple UWP app from the VS 2017 blank UWP template. No added XAML or C# code-behind: 1. Create new app with Blank Universal Windows template 2. Set Debugger type to Mixed (Managed and Native) 3. Build and Run (No XAML or code added) 4. Following error: WinRT [...] read more
debugging
uwp
windows-runtime
1vote
0answers

VSTO Excel Customization not loading in workbooks : Element not found. (Exception from HRESULT: 0x80070490)

I am working with VSTO Excel project and customizing the xltx template. First release of the project is working correctly and users created workbooks from that template. I have added new worksheet and some controls in the template and released new version of project. This is working correctly only if [...] read more
.net
excel
vsto
1vote
1answer

.Net Core 1.0.1 installation failing

Can anyone help me here, I tried installing VS2017 and it keeps failing. As per the logs, its was unable to install .Net core. Now I am unable to figure out how to resolve this.Below are the logs > Updating session, registration key: > SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{adfa1ec9-2075-4eec-9bb5-3f647f8e8e48}, > resume: Active, restart initiated: [...] read more
.net
visual-studio
.net-core
visual-studio-2017
1vote
1answer

.NET Core tools preview for Visual Studio (2015) installation failure

I am reinstalling visual stuido with .net core. I followed the steps stated on the website (https://www.microsoft.com/net/core#windowsvs2015). However, during the installation .NET Core tools preview for Visual Studio I am obtaining the following error, which I did not understand. I am admin of the PC. I will be glad if [...] read more
visual-studio-2015
.net-core
1vote
2answers

"element not found" = 0x8000490

I'm learning XAML and universal windows apps at the moment. I've encountered an issue where I get an element not found (exception from HRESULT:0x80070490) and I can't seem to figure out where exactly that error is referring to. If I double click on it, VS opens the MainPage.xaml where <Page [...] read more
c#
xaml
win-universal-app
uwp
1vote
1answer

Error on installing .Net Core

Trying to install .Net Core over VS Community 2015 update 3. I am stuck with the following error. Tried downloading and copying the msi file (AspNetCoreLocalFeed_.msi) manually but the destination folder as seen in the log file is being created dynamically so it doesn't work. Also attempted to install it [...] read more
installation
asp.net-core
.net-core
1vote
1answer

Few warnings after Installing VS2015 Community Edition with ISO

I finished installing VS2015 on windows 7, 64-bit, but have the following warnings: enter image description here [https://i.stack.imgur.com/2zYpj.jpg] [Note that the error code of the last one is 0x80070490, too]. It doesn't seem to be a similar case to this one, and I couldn't find any helpful help out there. [...] read more
visual-studio-2015
installation
1vote
1answer

How to fix Can't retrieve group information for user IIS APPPOOL\DefaultAppPool

In Windows 10 Visual Studio Community Edition is used. ASP.NET MVC 4 applications are running from it in Debug Mode using IIS Express installed by Visual Studio. Upgrading to Windows 10 anniversity edition fails with error 0xc1900101 - 0x30018 The installation failed in the FIRST_BOOT phase with an error during [...] read more
asp.net-mvc
visual-studio
iis
visual-studio-2015
iis-express
1vote
1answer

Convert Specific BitmapImage Colour to Transparent

I'm currently recreating my Image Explorer application, formerly written in Windows Forms to the Windows Presentation Framework. My WinForms application was using the WindowsThumbnailProvider from @DanielPeñalba (See this link for the original version of the code) WinForms Version - Successfully converting 0 alpha, 0 red, 0 green and 0 blue [...] read more
c#
wpf
image
winforms
xaml
1vote
0answers

Cannot set HttpBaseProtocolFilter.AllowUI to true on Windows 10 Mobile

I have a UWP app that's using client a certificate for SSL authentication. The certificate is stored in user store, the app is declaring "Shared User Certificates" capability in the manifest, I can see the certificate in collection returned by CertificateStores.FindAllAsync. The app works fine on Windows 10 Desktop -- [...] read more
ssl
win-universal-app
windows-10-mobile
winrt-httpclient
1vote
0answers

Windows 10 IoT Raspberry Pi 2 Bluetooth to Windows Phone 8.1 - Element Not Found

Environment: 1. I have a Windows Phone 8.1 Lumina 2. Raspberry PI 2, CSR Bluetooth Dongle 3. Windows 10 IOT Core 10.0.14322.1000 I create a windows phone 8.1 app and windows 10 iot app for raspberry pi to send and receive messages using Bluetooth. But no success until now! I [...] read more
windows
iot
1vote
1answer

Upgrading ASP.NET from IIS 7 to 8.5

We're attempting to migrate our web application servers from 2008 boxes to 2012. As part of this, we're also upgrading the IIS host from 7 to 8.5. When I attempt to access the simplest application we have on the new box with an identical web.config to our current, working production [...] read more
c#
asp.net
iis
1vote
1answer

Windows Phone 8.1 Connect to Pebble via Bluetooth Rfcomm

I have a problem when I trying to connect with pebble watch via bluetooth. This is my code: var serviceId = Guid.Parse("00001101-0000-1000-8000-00805F9B34FB").ToString("B"); PeerFinder.Start(); PeerFinder.AlternateIdentities["Bluetooth:Paired"] = ""; var pairedDevices = await PeerFinder.FindAllPeersAsync(); PeerInformation selectedPeer = pairedDevices[0]; var streamSocket = new StreamSocket(); await streamSocket.ConnectAsync(selectedPeer.HostName, serviceId); Also in manifest: <Capabilities> <Capability Name="internetClientServer" /> [...] read more
c#
bluetooth
windows-phone-8.1
pebble-watch
0votes
0answers

Add-PrinterDriver throws HRESULT 0X80070490, Add-PrinterDriver error

I I'm having issues with Add-PrinterDriver "printerDriverName". I can succesfully call pnputil.exe -i -a "path_to_inf_file.inf". It shows that driver is successfully added. But afterwards I have to call Add-PrinterDriver "printerDriverName", which shows An error accoured while preforming the specified operation. See the error details for more information. Category info : [...] read more
windows
drivers
printer
printer-pooling
0votes
1answer

Windows 10 Image Configuration Designer. Image creation fails with error "Create catalog failed with hr: 0x80070057"

I need to create installation image for Windows 10 Enterprise LTSB. I've installed Windows 10 Imaging and Configuration Designer. I create a new Image Modification project from install.wim from LTSB ISO. Make no modification to it and press Create -> Production -> To Folder. Creation fails, error log: 8/4/2016 8:23:26 [...] read more
windows
installation
deployment
windows-10
0votes
1answer

Errors installing SP1 Server 2008 R2

Have an install of Server 2008 R2 that refuses to install SP1. Initial error was 0x800f018. Downloaded the System Readiness tool (Feb 2012) and ran that. Still not fixed. Replaced the files it couldnt update using another server. Re-ran SP1. Failed with 0x80070490 (Error not found or something). Re ran [...] read more
windows-server-2008
wsus
0votes
0answers

Hyper V: Unable to connect to VPN

First a bit of history: * This is a work VM that was migrated to a VM using P2V. The VM is on my personal PC and not a server * When the VM was migrated everything was great except that Windows needed activated. At this point I was just [...] read more
windows-10
networking
hyper-v
0votes
2answers

Windows ver.2004 Update Failure

Windows Update Standalone Installer's response is - the update is not applicable to your computer. I have a CBS.log file related to this case but I cannot submit it for your further analysis because the size of it is about 91.3 KB and the limit of SUPERUSER's body size is [...] read more
windows-10-v2004
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
2answers

Windows 8.1 update search never ends

DISCLAIMER This question has been asked so many times already, but none of the solutions worked, so here we go again. INTRODUCTION A friend of mine had a problem with her Laptop. So I re-installed Windows 8.1 and wanted to search for updates, but it never found updates. At first [...] read more
windows
windows-8.1
drivers
troubleshooting
0votes
0answers

Windows 10 1607 upgrade issues

Sorry there's a lot of issues, they could be related so I will list them in one question. The issues are:- 1. As posted previously here Windows Update is failing to install the anniversary update. 2. I've since turned off Windows Update, until I can resolve issue #1 and now [...] read more
windows
windows-10-upgrade
sql-server
0votes
0answers

Cannot update to Windows 10 on HP 15-f014wm

I'm trying to update to Windows 10 on my 15-f014wm laptop. I'm using the "Windows10Upgrader9194.exe" (which updated itself, so the presumably version number at the end may be wrong) thing to update, but after trying to update, it restarts, shows me a window saying that Windows 10 couldn't be installed, [...] read more
windows
windows-update
windows-10-upgrade
0votes
0answers

Win 10 doesn't upgrade to November update or Redstone

I have an one year old ASUS laptop, which originally shipped with Win 8.1. When Windows 10 was released I upgraded without hassle to Windows 10. Trying to update to November update (Threshold-2) or more recently Redstone just doesn't work. The upgrade starts and finally Windows is restarting. Then after [...] read more
windows-10
windows-10-upgrade
windows-10-v1607
0votes
1answer

Can't Install Hyper-V Windows 8.1 Pro

I have a 64-bit version of windows 8.1 pro running on a modern machine. virtualization is enable is BIOS. I cannot install Hyper-V. Windows goes through the well-know routine of 1)"adding features"; 2)"cannot add features" 3)"undoing changes". This seems like a common problem, but since its a Windows system issue, [...] read more
windows
windows-8
hyper-v
0votes
2answers

Re-installing Windows with HDD encrypted with Ubuntu?

When I installed Ubuntu, I encrypted everything for security reasons but now I need to switch back to Windows and I cannot boot from CD. When I boot the CD in Wine it says: > Windows Setup cannot find a location to store temporary installation files. To > install Windows, [...] read more
linux
windows
ubuntu
disk-encryption
0votes
1answer

Windows update stops working after upgrade to Pro

I have a Samsung 7 Gamer laptop that comes with Windows 8 installed. I have an MSDN subscription and I wanted to install Windows 8 Pro. I have tried both adding the Pro code into the pre-installed Windows as well as a fresh clean install. Windows Update is having problems. [...] read more
windows-8
windows-update
msdn
0votes
1answer

Windows 7 64 bit Home SP1 installation fails with ERROR_NOT_FOUND message

Windows 7 SP2 installation failed many times on my laptop. [HRESULT = 0x80070490 - ERROR_NOT_FOUND] 1. I ran "System Update Readiness Tool" 2. I got a list of KBxxxxx *.mum file missing in the C:\Windows\Logs\CBS\CBS.log 3. I got "Element not found". How do I recover? -------------------------------------------------------------------------------- The exact patch is [...] read more
windows-7
installation
0votes
0answers

.NET4.7.2 installation error on windows 7 with SP1

I am getting installation error for .NET framework on windows 7 with SP1. Error message says "0x80070490 Element not found". Below is error log. Pl help [0D1C:097C][2021-05-07T10:14:02]e000: Error 0x80070490: Failed to find expected public key in certificate chain. [0D1C:097C][2021-05-07T10:14:02]e000: Error 0x80070490: Failed to verify expected payload against actual certificate chain. [...] read more
.net
window
failed-installation
0votes
1answer

NavigationView gives an exception when it's the only thing on the page

I'm using the new Project Reunion 0.5/WinUI3 Preview 5. And after my upgrade from Preview 4, I started to get this error: Exception thrown at 0x76C5A8B2 in ReunionTest.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00D7E290. The Output shows: Exception thrown at 0x76C5A8B2 (KernelBase.dll) in ReunionTest.exe: 0x40080202: WinRT transform error [...] read more
winui-3
preview-5
0votes
1answer

Access to Windows notification from WPF

How to get access to Windows notification from WPF? I tried this way. I got accessStatus allowed. But i get the exception System.Exception: 'Element not found. (Exception from HRESULT: 0x80070490) Here is my code: using Windows.UI.Notifications.Management; *** public partial class NotificationWindow : Window { UserNotificationListener listener; public NotificationWindow() { InitializeComponent(); [...] read more
c#
wpf
windows
notifications
0votes
0answers

C# .NET UserNotificationListener element not found

I'm trying to hook into the UserNotificationListener in order to intercept Windows 10 Notifications however I'm unable to hook the event itself nor retrieve the notifications directly without the event. I need this to run in a Winforms application and not UWP application but unfortunately the microsoft docs explain how [...] read more
c#
.net
visual-studio
notifications
toast
0votes
0answers

Programatically control application auto start C/C++

I have a desktop bridge app. Using the app manifest, I can force my app to start at login time. However, I want to programmatically enable/disable this feature, but I have not managed to do it yet. #include <winrt/Windows.ApplicationModel.h> using namespace winrt; using namespace Windows::Foundation; using namespace Windows::UI; using namespace [...] read more
windows
desktop-bridge
0votes
0answers

I get an error running the base C++ code for MongoDB with WIndows 10, Visual Studio 2019

I have a problem with running the basic C++ code for MongoDB. Works on Windows 10 with Visual Studio 2019. I was able to add libraries for mongocxx etc thanks to vcpkg. #include <iostream> #include <bsoncxx/builder/stream/document.hpp> #include <bsoncxx/json.hpp> #include <mongocxx/client.hpp> #include <mongocxx/instance.hpp> int main(int, char**) { mongocxx::instance instance{}; // This [...] read more
c++
windows
mongodb
visual-studio
compiler-errors
0votes
0answers

UWP registration of background task for StorageLibraryContentChangedTrigger fails with "not found"

In my UWP desktop application, I am trying to implement a function to follow changes in the images library using a background task. I followed usage examples (like this one https://docs.microsoft.com/en-us/archive/msdn-magazine/2016/december/universal-windows-platform-file-system-monitoring-in-universal-windows-platform-apps) and my code looks like that: StorageLibrary docLib = await StorageLibrary.GetLibraryAsync(KnownLibraryId.Pictures); var requestStatus = await BackgroundExecutionManager.RequestAccessAsync(); if (!( requestStatus [...] read more
c#
uwp
windows-runtime
background-task
0votes
0answers

ToastNotification in Windows Installer

I have problem with application installer. Program contains element described on this blog: https://www.thomasclaudiushuber.com/2019/04/26/calling-windows-10-apis-from-your-wpf-application/?fbclid=IwAR0OBjimalnMkyF29unxHZyBlaylB2VuyZ7v7e0lcTgnroKbbdoXzPpaGcc So i'm giving the image to win10 notification using ToastNotification. and adding to project Windows Application Packaging Project. Then I execute application using this 'Windows Application Packaging Project`. And now my problem is: I have installer [...] read more
c#
installation
uwp
windows-installer
toast
0votes
0answers

StreamSocket: datareader.LoadAsync() closes the connection when no data is available; dataReader.UnconsumedBufferLength is always 0

I'm facing with an old known issue related with Bluetooth RFCOMM SPP serial port devices but I couldn't find a reasonable solution/workaround to detect if the DataReader socket is empty without closing the connection. What I've tried until now: 1) using CancellationTokenSource the underlying streamSocket is closed when is nothing [...] read more
c#
bluetooth
rfcomm
0votes
1answer

The configuration section 'webFarms' cannot be read because it is missing a section declaration

i issued new SSL certificate and install it on the server but when i assign it to the default (localhost) for testing i get the below errors Detailed Error Information: Module ApplicationRequestRouting Notification MapRequestHandler Handler ExtensionlessUrlHandler-Integrated-4.0 Error Code 0x80070490 Config Error The configuration section 'webFarms' cannot be read because it [...] read more
iis
0votes
1answer

Problem deploying Hololens app to emulator from Visual studio 2019

I am building a simple hololens app using MRTK PalmUpHandMenu, I am able to build the app in unity but not able to deploy on hololens Emulator from visual studio. The app is playing in game mode of unity. I am using the following tools. * Visual Studio 2019 * [...] read more
visual-studio-2019
hololens
mrtk
hololens-emulator
0votes
1answer

How to install `Installer Projects` for Visual Studio 2019

When ever I try to install the Installer Project-Package for Visual Studio 2019 I get these Log: 27.02.2020 10:30:57 - ------------------------------------------- 27.02.2020 10:30:57 - Microsoft VSIX Installer 27.02.2020 10:30:57 - ------------------------------------------- 27.02.2020 10:31:03 - Initializing Install... 27.02.2020 10:31:07 - Extension Details... 27.02.2020 10:31:07 - Identifier : VSInstallerProjects 27.02.2020 10:31:07 - [...] read more
installation
visual-studio-2019
0votes
1answer

App-crash on HoloLens(1st. gen)-Emulator when enabling 'Spatial Awareness System' in MRTK 2.3

i recently set up required software for development for the Microsoft HoloLens(1st. gen) with the newest version of the HoloLens(1st. gen) emulator (followed the MRTK-Guide: https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/GettingStartedWithTheMRTK.html#get-the-latest-mrtk-unity-packages). I already tested some example scenes from the MRTK on the emulator and everything works as expected. However, when i test the SpatialAwarenessMeshDemo, the [...] read more
windows
unity3d
hololens
windows-mixed-reality
hololens-emulator
0votes
0answers

How to fix 'Element Not Found' exception C#

I was using NAudio and a timer to get some audio values, and it was working previously but it's now throwing a > 'Element not found' exception (Exception from HRESULT: 0x80070490) from the second line of this code: NAudio.CoreAudioApi.MMDeviceEnumerator enumerator = new NAudio.CoreAudioApi.MMDeviceEnumerator(); NAudio.CoreAudioApi.MMDevice device = enumerator.GetDefaultAudioEndpoint(NAudio.CoreAudioApi.DataFlow.Render, NAudio.CoreAudioApi.Role.Console); I can't [...] read more
c#
exception
element
0votes
0answers

"Cannot find certificates that match the key." When trying to sign Visual Studio project using makecert.exe and pvk2pfx.bat

Since I installed a new computer, my only signed project is not compiling due to certificate failure. I tried pointing the project to the certificate file but it appears to be linked to the previous user/computer. I'm not much experimented with certifictes/signing as I don't use them often. I don't [...] read more
.net
certificate
sign
0votes
2answers

Role in Azure Compute Emulator stuck cycling between Unknown and Destroyed states

My Azure Cloud Service's Web Role works fine when deployed to Azure but can't get it running with the Emulator. * When starting the role from within Visual Studio (2015) the window just displays "Starting the roles for the application in the Microsoft Azure compute emulator...". * When starting with [...] read more
azure
azure-web-roles
azure-cloud-services
azure-emulator
0votes
1answer

How can I solve System.Runtime.InteropServices.COMException using SpeechRecognizer UWP?

I'm getting a System.Runtime.InteropServices.COMException (0x80070490) using SpeechRecognizer. I've read online that this error might be caused by a capability not being enabled or that the manifest is corrupt. I have Internet (Client) and Microphone enabled, I also tried a clean manifest file, but it results in the same error message. [...] read more
c#
uwp
win-universal-app
speech-recognition
0votes
1answer

WPD get media dimensions

I want to get the width and hight of a image file on a WPD via IPortableDeviceValues. According to the Windows Dev Center every object whose type is WPD_CONTENT_TYPE_IMAGE (which they are) requires to provide WPD_MEDIA_WIDTH/WPD_MEDIA_HEIGHT but I always get a error. HRESULT MyPortableDevice::getIntValue(IPortableDeviceProperties* properties, PCWSTR objectID, const PROPERTYKEY& key, [...] read more
c++
wpd
0votes
1answer

"Element not found" when trying to execute a code every time a timer ticks

I'm trying to check if the user's device has entered tablet mode every 1 second using a timer belonging to System.Threading. The problem is that I get this exception: "System.Exception: 'Element not found. (Exception from HRESULT: 0x80070490)'" when I run this code: public MainPage() { this.InitializeComponent(); TimerCallback tmCallback = CheckEffectExpiry; [...] read more
c#
exception
timer
uwp
0votes
1answer

UWP Bluetooth ConnectAsync error to Raspberry Pi. Element not found

I'm making a Windows UWP app that uses RFCOMM to communicate to a Raspberry Pi. Both my Windows laptop and Raspberry Pi are already connected and paired (manually). I know the bluetooth address of the Raspberry Pi and the channel it's using and these values are hardcoded into the parameters [...] read more
python
bluetooth
uwp
raspberry-pi
windows-applications
0votes
1answer

Task ends when getting GattService [C# UWP]

Using: Windows 10, C# .NET 2015 Community, UWP Im trying to build a windows-universal-app that pairs my PC with a BLE device. Whats already working is enumerating nearby devices, pair with a selected one and getting information like battery-level and firmware-revision. The problem now is that when I try to [...] read more
c#
win-universal-app
bluetooth-lowenergy
0votes
0answers

Click once deployment - deployed application runtime error

I used the deploy feature from VS community 2017 for a custom level excel workbook 2010. The installation package got created on the client computer. I could run the setup and checked that the workbook was installed. At run time I got hang on an exception which I figured means [...] read more
c#
vsto
clickonce
visual-studio-2017
excel-addins
0votes
1answer

FileOpenPicker windows 10 Mobile

I want do an uwp app where I want use FileOpenPicker but the app work only on windows 10 and not on windows 10 mobile On windows 10 mobile my app crash...and the exception message is: "Element not found. (Exception from HRESULT: 0x80070490)" This is my code: FileOpenPicker openPicker = [...] read more
c#
uwp
filepicker
0votes
0answers

SQL Server 2016 R Services. Error in connection

I've previously installed SQL Server 2016, and want to try its R Services. I went through this tutorial and came to Step 2.5, where I had to test connection by this script: exec sp_execute_external_script @language =N'R', @script=N'OutputDataSet<-InputDataSet', @input_data_1 =N'select 1 as hello' with result sets (([hello] int not null)); go [...] read more
r
sql-server-2016
microsoft-r
0votes
1answer

Exception while accessing RfcommDeviceService from a wearable in UWP

Here is what I have, 1. A bluetooth wearable (MyoArm band). 2. Windows Mobile 10 with anniversary update. Both of them are paired properly. Now, here is what I am trying to do, 1. I am trying to enumerate the list of all services exposed by the bluetooth device connected [...] read more
c#
.net
bluetooth
uwp
windows-mobile
0votes
2answers

Create a BluetoothLEDevice from DeviceInformation?

Is it possible to create a BluetoothLEDevice from a DeviceInformation object? I've tried using the DeviceInformation's Id property in BluetoothLEDevice .FromIdAsync however that just throws errors public static async Task<BluetoothLEDevice> DeviceFromDeviceInfo(DeviceInformation x) { try { string g = x.Id.Substring(x.Id.IndexOf("{") + 1); g = g.Remove(g.IndexOf("}")); return await BluetoothLEDevice.FromIdAsync(g); } catch (Exception [...] read more
c#
bluetooth
bluetooth-lowenergy
uwp
0votes
1answer

MsiPackage isn’t installed anymore using Wix and Burn

While adding a new prerequesite to my bootstrapper bundle I accidently broke my installer which result in not installing my internal msi. I was starting my journey with Wix 3.8.1128. With a bootstrapper setup I install .Net 4.6.1 and my own msi. Since we need the Hotfixrollup for 4.6.1 from [...] read more
wix
windows-installer
bundle
burn
0votes
0answers

HTTP Error 500.19 - Internal Server Error - Error Code 0x80070490 - IIS 7.5 ( Works on Azure )

I am executing my code in the Azure emulators. The code I have built is Thinktecture's IdentityServer2. After the emulators start running and everything is ready I get an error when I fire the URL in the browser. There is another SO thread about this issue. But the solutions don't [...] read more
iis-7.5
thinktecture
identityserver2
0votes
1answer

Windows 8.1 FileOpenPicker

I made the app for windows store. It worked fine until I upgraded my os to Windows 8.1. There is an error while I'm trying to FileOpenPicker: > Element not found. (Исключение из HRESULT: 0x80070490) Here is stacktrace: > at Windows.Storage.Pickers.FileOpenPicker.PickSingleFileAsync() > at Crypto.Engine.d__13.MoveNext() and code: FileOpenPicker fop = new [...] read more
windows-8
windows-8.1
fileopenpicker
-1votes
1answer

Installation from windows 10 to windows 7

I have installed windows 10 in my pc. But now need to install windows 7 on it. I download on USB boot but did not worked I also make a partition of 900 Gb each but in vain and it shows me the following error: Windows setup cannot find a [...] read more
windows-7
windows-10
installation
-1votes
1answer

ASp.net core tool not installing

I am installing asp.net core tools but it is continuously giving this error shown in image Error 0x80070490: Process returned error: 0x490 Error 0x80070490: Failed to execute EXE package. Error 0x80070490: Failed to configure per-machine EXE package. Applied execute package: DotNetCLI_x64, result: 0x80070490, restart: None Error 0x80070490: Failed to execute [...] read more
asp.net
asp.net-mvc
asp.net-core
-1votes
1answer

Lock screen image change

Here is my code: Uri u = new Uri(@"C:\roomieUser\w3.tif"); Windows.System.UserProfile.LockScreen.RequestSetImageFeedAsync(u); I am trying to change the lock screen in a Windows forms application. I have managed to use WinRT libraries in Windows forms application and there are two methods to change picture one is written above and other is as [...] read more
c#
windows-runtime
lockscreen
-2votes
3answers

Installing SQL Server R Services - error

I'm trying to Install SQL Server R Services. I'm using SQL SERVER 2016 RC1. I'm following this step by step tutorial https://msdn.microsoft.com/en-us/library/mt604883.aspx Everything seems to install ok, but I get the following error when testing an R script. > Msg 39021, Level 16, State 1, Line 1 > > Unable [...] read more
r
sql-server-2016

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