# Windows error 0x80070002, -2147024894

## Detailed Error Information

### FILE_NOT_FOUND[1]

Message The system cannot find the file specified. winerror.h

### HRESULT analysis[2]

Flags Failure false Microsoft false false 7 (0x007) FACILITY_WIN32[2][1] This region is reserved to map undecorated error codes into HRESULTs.[2][1] 2 (0x0002)

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

## Questions

### Strange issue with System.Net.Http 4.2.0.0 not found

I have a strange issue, which drives me crazy… I have a simple Class Library Project (Full .NET Framework, 4.6.1) with a wrapper class for functionality around Cosmos DB. Therefore I have added the “Microsoft.Azure.DocumentDB” NuGet Package 1.19.1 to this project. Other than that, I have a reference to the [...] read more
.net
visual-studio-2017
dotnet-httpclient
service-fabric-stateless

### Is there a way to get the string representation of HRESULT value using win API?

Is there a function in win API which can be used to extract the string representation of HRESULT value? The problem is that not all return values are documented in MSDN, for example ExecuteInDefaultAppDomain() function is not documented to return "0x80070002 - The system cannot find the file specified.", however, [...] read more
c++
windows
winapi
clr
hresult

### IIS fails to run ASP.NET Core site - HTTP Error 502.5

We have a Windows 2012 R2 machine. I had an existing ASP.NET Core site on it that had a working published ASP.NET Core site running. However when I published to the site again today a month later after I made changes, I can't access the site anymore and get the [...] read more
asp.net-core
asp.net-core-mvc

### System.IO.FileNotFoundException: Could not load file or assembly 'X' or one of its dependencies when deploying the application

I'm having a strange problem with deploying an application, which references an assembly, written in managed c++. I've created an assembly X, compiled it and referenced it in an exe file, called Starter. Starter.exe starts normally on local mashine. However, when I copy ALL contents of the starter debug folder [...] read more
c#
.net
deployment
.net-assembly
managed-c++

### How to fix the "The system cannot find the file specified. (Exception from HRESULT:0X80070002)" error in Visual Studio?

i trying to create a new project in visual studio .it give some error please give me some suggestions.....enter image description here [https://i.stack.imgur.com/uAOtx.png] i don't know this happen. i am trying to reinstall and again same error is coming . i try this cant work ... read more
.net
visual-studio-2010

### DLLs loaded from wrong AppplicationBase when trying to load mixed C# and C++/CLI dlls in a new AppDomain

We have a large .NET solution with both C# and C++/CLI projects which reference each other. We also have several unit testing projects. We've recently upgraded from Visual Studio 2010 & .NET 4.0 to Visual Studio 4.5 & .NET 4.5, and now when we try to run the unit tests, [...] read more
c#
unit-testing
c++-cli
.net-4.5
appdomain

### GitHub for Windows Install Error

I'm trying to install the GitHub for Windows that I downloaded from the GitHub site. However, I get the following error message: > Application cannot be started. Contact the application vendor. I'm curious if anyone else has ran into this issue, and knows of a fix? Below is the info [...] read more
windows-7
installation
git
github

### Windows 7: Unable to browse to network shares in Explorer, but "map network drive" works fine

I've got a rather interesting problem cropping up on a few machines right now. I've got a bunch of Windows 7 machines networked with a workgroup at home. I used to be able to simply open the "Run" box and type in "\\computername\sharename" to browse the contents of other machines, [...] read more
windows
windows-explorer
unc

### Could not load file or assembly Microsoft.Practices.ServiceLocation, Version=1.3.0.0

Here is the error I'm getting when I run my application (.NET 4.5): Server Error in '/' Application. Could not load file or assembly 'Microsoft.Practices.ServiceLocation, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the [...] read more
c#
asp.net
.net
visual-studio-2015
nuget

powershell

### Hyper-V virtual machine recovery checkpoint problems

One of my virtual machines, backed up by DPM, is repeatedly creating recovery checkpoints and exponentially increasing the storage space required on the host. Three servers involved: * Server 2012 R2, Hyper-V host [HOST/ASH-LIBRARY] * Server 2008 R2, virtual machine [VM/ASH-PRINTERS] run on HOST * Server 2012 R2, physical machine [...] read more
virtual-machines
hyper-v
scdpm

### asp.net core shows '0x80070002 HTTP Error 502.5

I am testing deployment of asp.net core 1.1 projects. I have two projects in the solution client and the identity server 4. I have succeeded deploying the client app and I can browse externally. After that I deployed the Identity Server. And this comes up with the error > HTTP [...] read more
iis
windows-server-2012-r2
asp.net
.net

### Server unable to browse shares on itself

Having a rather weird issue with our 2008 Domain Controller When on the server itself and attempting to browse via explorer to \\server or \\192.168.1.1 we get an error message saying : "\\SERVER is not accessible. You might not have permission to use this network resource. Contact the administrator of [...] read more
windows-server-2008
network-share
service
server-message-block

### HTTP 500 Internal Server Error on IIS 7.5 with MVC3

I am trying to install an MVC3 application on our production server with no luck. The application is from a 3rd party (compiled), and so debugging is not available to me. Besides, I strongly suspect the error occurs before any code in the site has a chance to execute. Our [...] read more
iis-7.5
asp.net-mvc

### KB2667402 update fails to install with 0x80004005. Yet it's also showing as installed

I've got 15 Windows 2008 R2 x64 servers that I manage with SCCM2012. I've noticed during my Windows updates reporting that there's two boxes that are showing as 'error' for total updates installed. Digging around, it looks like the update that is failing to install is KB2667402. The Software Centre [...] read more
windows-server-2008-r2
windows-update

### WSUS 3.0 SP2 installation fails at "configuring database" step

Attempting to install WSUS 3.0 SP2 on a Windows Server 2003 Enterprise system. I'm asking the setup to create a new database on one of our existing SQL Server 2005 systems. When the setup gets to the "configuring database" step it stops and throws "There is a problem with this [...] read more
sql-server-2005
wsus

### IIS MODULE_SET_RESPONSE_ERROR_STATUS

Im getting 404 error on my web application, I also try doloto : http://research.microsoft.com/en-us/projects/doloto/ , but reports tell me is an compression issue, I dont think so cause is just one page with some ajaxcontroltoolkit features. this is the stack : ModuleName IIS Web Core Notification 16 HttpStatus 404 HttpReason [...] read more
iis-7
http-status-code-404

### Pipe output from DIR into CERTUTIL

In Win10, looking for way to pipe the output from a DIR command at the Command Prompt or in a Batch File to serve as input to the CERTUTIL command. IOW, I want to get the MD5 hash for all of the files matched by a DIR command. The following [...] read more
batch-file
pipe
certutil

### Windows 10 Update to 1903 Error: 0x8007042B - 0x2000D

The update starts on the windows 10 machine but after the restart everything is rolled back. My setuperr.txt: 2019-07-16 16:38:55, Error CSI 00000001 (F) STATUS_OBJECT_NAME_NOT_FOUND #10# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysQueryValueKey(flags = 0, key = 974 ('\REGISTRY\MACHINE\SYSTEM\Setup'), vn = [l:7 ml:8]'Compact', kvic = 2, kvi = 2, disp = 0)[gle=0xd0000034] 2019-07-16 16:38:55, Error [...] read more
windows-10
windows-update

### 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

### Windows 10 Update Keeps Failing with Error 0x80070002

I recently installed a fresh copy of Windows 10 Pro on my machine using the ISO from Microsoft's Media Creation Tool. I am now trying to bring the installation up to date, but the "2018-03 Cumulative Update for Windows 10 Version 1709 for x64-based Systems (KB4088776)" installation keeps failing with [...] read more
windows-10
windows-update

### Error 0x80070002 while installing Nokia device recovery tool

I tried installing Recovery tool on windows 7 as well as on 10 but am getting the same error. enter image description here [https://i.stack.imgur.com/imvyL.png] The log file is here. Please help me asap! I am trying to reflash the os to my Nokia 503 read more
windows-7

### Getting error 0x80070002 when I try to install IIS in Windows Features

Here's exactly what happens: I go to Programs and Features > Turn Windows features on or off. Then, check the box for IIS, and hit OK. enter image description here [https://i.stack.imgur.com/PvJT8.png] It seems to be installing for a second then shows these error messages and closes out. enter image description [...] read more
windows-8.1
installation
iis

### How to fix Dism error 14098?

Recently I got a very stubborn corruption on my Windows 10 installation. I noticed it because WMI queries to Win32_OptionalFeature hung indefinitely (only kept spawning hidden Werfaults that closed immidiately). Because of this "Programs and Features\Turn Windows Features on or off" doesn't load. C:\WINDOWS\system32>sfc /scannow Beginning system scan. This process [...] read more
windows-10
dism

### Unable to Create Azure Resource Manager Project

I have just installed Visual Studio 2015 Enterprise Update 3 along with Azure SDK for Visual Studio 2015 and Azure PowerShell Tools. When I try to create a new project under Visual C#|Windows|Cloud|Azure Resource Group I get the following error after selecting a template and during the project creation. --------------------------- [...] read more
cloud
azure
visual-studio-2015

### Intel HD Graphics 4000 driver error code 43 on Windows 10

The Intel HD Graphics 4000 driver on my HP Pavilion g6-2197sa laptop was broken, reducing its functionality, when I upgraded to Windows 10, reporting the following error: > Windows has stopped this device because it has reported problems. (Code 43) In fact, this error first occurred when I upgraded to [...] read more
windows
windows-10
drivers
intel-graphics

### Windows 8 recimg createimage fails with 0x80070002, why?

Running Win8 x64. C is an SSD with lots of free space (>200GB). I run: recimg /createimage C:\CustomRefreshImages\Img121105 Output says: Source OS location: C: Recovery image path: C:\CustomRefreshImages\Img121105\CustomRefresh.wim Creating recovery image. Press [ESC] to cancel. Initializing The recovery image cannot be written. Error Code - 0x80070002 The paths specified in [...] read more
windows-8

### How to handle parallel ports in win 7 64bit?

I am trying to use an application that is sending some data to LPT1 and it is working well on winXP but on win7(64bit) i get this exception The system cannot find the file specified. (Exception from HRESULT: 0x80070002) Can i communicate with parallel ports on win7 64bit? read more
windows-7
windows-xp
parallel-port

### Windows XP - Security Update for Windows XP (KB923561) (KB946648) (KB956572) (KB958644)

My father's computer has Windows XP, but when I try to install the service packs it always fails. What gives? Here are the errors that I get in the event log: -------------------------------------------------------------------------------- Date: 2/6/2010 Time: 12:02:18 AM Type: Error User: N/A Computer: EVO Source: Windows Update Agent Category: Installation Event [...] read more
windows-xp
windows-update

### Unable to fix error "Could not load System.Net.Http, Version=4.2.0.0"

On my production server I get the error: > Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. On my local machine it works fine, but on the server it throws the above error, so there must [...] read more
vb.net
.net-assembly
system.net
packages.config

### C# Application being blocked by Anti-Virus?

I have a Payroll System that is written using Visual C# Express. I have actually finished coding it already and published it. But whenever I install it on the laptop it is being blocked by Avast! Antivirus as suspicious and stops the process. After that the applciation cannot be started [...] read more
c#
virus
malware

### WPF assembly called through COM interop produces "System.Windows.Markup.XamlParseException"?

I have a C# WPF class library which uses (references) SharpVectors. This class library exports a function to COM which creates & shows the WPF window. The COM client is VB6 although I'm not sure that matters. When it runs I get "System.Windows.Markup.XamlParseException" on the first XAML line to access [...] read more
c#
wpf
xaml
com-interop
sharpvectors

### Chromium Edge-based WebView2 does not work

I have followed all the instructions from Getting Started with WebView2 (developer preview) to create an app that is using Microsoft Edge (Chromium). However, it is not able to find the Edge browser. I also tried the sample apps ( this and this) but with the same results. I have [...] read more
c++
windows
browser
webview
microsoft-edge

### Visual Studio 2015 Update 3 doesn't open .cs files

After I installed IntelliJ IDEA (Jetbrains) and JDK 1.8.0_102 my Visual Studio isn't able to open .cs Files with my user account. It always show the error message "The document cannot be opened. It has been renamed, deleted or moved.". On rightclick -> "open with" -> "Editor" the file opens [...] read more
c#
visual-studio
visual-studio-2015

### why aren't cshtml files rendering iis7.5 windows server 2008

since i've already wasted 5 days on this problem with .cshtml asp.net web pages i figured why not ask the gurus. HTTP Error 404.4 - Not Found The resource you are looking for does not have a handler associated with it. Detailed Error Information Module IIS Web Core Notification MapRequestHandler [...] read more
asp.net
razor
iis-7.5
webmatrix
asp.net-webpages

### Failed conversion from .net core 2.2 to 3.0

Last week I upgraded my .NET Core Web API from 2.2 to 3.0. I had a lot of issues with packages and still struggling. Case 1: What I have right now is that all of my tests are failing: unit tests, integrations tests, etc. I'm using: * Nunit (3.12.0) * [...] read more
c#
.net

### DLL Couldn't Be Loading Because of Binding Redirect

I have a DLL project that uses the SendGrid Nuget package. The SendGrid package requires the Nuget package System.Net.Http 4.3.4. This DLL project I've then packaged into a Nuget package. Now, I have a ASP.NET MVC project that includes my Nuget package. Because of dependency requirements installing it installs SendGrid, [...] read more
c#
asp.net-mvc
assembly-binding-redirect

### Mixing .net Framework projects with .net Core projects (and languages) - System.IO.FileNotFoundException

I have a solution in which most of the projects are VB.net projects which all target the .NET Framework 4.8. All of those specific projects compile properly and are running in production. I have added a C# project that targets .net standard 2.0. The primary reason for this particular project [...] read more
c#
vb.net
.net-standard-2.0
.net-core-2.2
.net-4.7.1
1vote

### IIS loading image resources fails using non-standard Port

I have a PHP web application hosted in IIS. The problem I have is that some image resources can't be loaded because I'm using a non-standard port 81. But in developer tools I can see that the GET Request using the default port 80. enter image description here [https://i.stack.imgur.com/TLc75.png] There [...] read more
iis
rewrite
1vote

### How can I add a certificate to a Windows service's certificate store from the command line?

I want to add a certificate to the certificate store belonging to a Windows service, from the command line. So far, the only thing I've found is: certutil -service -store ADAM_Instance-Name\My When I run it (logged on as myself, in a Command Prompt as Administrator) it returns: ADAM_Instance-Name\My CertUtil: -store [...] read more
certificate
windows-service
1vote

### Install of IIS role and Windows Update both fail

I have a client that uses a database application called DocSTAR. They recently had to upgrade their server OS because the new version of DocSTAR doesn't support older versions of Windows Server. We got them new server hardware so that they could have their SQL server separate from their domain [...] read more
iis
windows-update
windows-server-2016
1vote

### All of my .html pages give a 500 error. All .php files work fine

I just stepped over from IIS 5 to IIS 8.5. I had trouble installing ISAPI Filters and FastCGI but I managed to get almost everything working. The only problem I'm facing now is that all of .html pages will give me a 500 error. Underneath here is the error: FastCGI [...] read more
fastcgi
html
iis-8.5
1vote

### What is correct syntax to verify a certificate in the certificate store using certutil.exe?

I have a client certificate in certstore. I try this: certutil.exe -verify CertCommonName but in get this error when I ping certutil.exe -ping it connect to pc. DecodeFile returned The system cannot find the file specified. 0x80070002 (WIN32: 2) LoadCert(Cert) returned The system cannot find the file specified. 0x80070002 (WIN32: [...] read more
windows
certificate
1vote

### DPM 2012 R2 Error 30231 - Exchange 2013 Protection Group

Hi all I seem to have an issue with DPM since I have changed over to new local disk storage. I have looked on the TechNet wiki here and the error we are getting is not listed - 30231. I have changed local storage before and used DPMSync to reallocate [...] read more
windows-server-2012-r2
exchange-2013
scdpm
1vote

### 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

### Windows 10 can't reach WSUS with GPO

I have a Windows Server 2016 machine installed with WSUS. I have the firewall port 8530 and 8531 allowed through. I have 10 updates approved and ready for download. I have a GPO with 3 computers in it with the Intranet location for WSUS set to HOSTNAME:8530 and Stats server [...] read more
wsus
windows-10
windows-server-2016
1vote

### Roles & Features Installation Fails - Unable to find specified file

I'm trying to install IIS into a new Server 2012 R2 VM but for reasons unknown the install simply fails to complete, displaying the error that it cannot find a specific file, with the error code 0x80070002. I have tried: * Install using all defaults * Install specifying D:\source\sxs as [...] read more
iis
windows-server-2012-r2
installation
1vote

### 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

### Error when creating a certificate using Windows SDK 7.1 Command Prompt

I am a new administrator with very little experience, trying to configure my ADFS to cooperate with a single sign-on solution to cloud-based help desk software to be used internally in my organization. I have installed the Windows 7.1 SDK package on Server 2012, and am now in the process [...] read more
windows
windows-server-2012
windows-command-prompt
sdk
1vote

### How to login without system profile?

I am receiving 0x80070002 file missing error on starting server. server is running windows server 2008 r2. After researching i got to this page http://blogs.technet.com/b/filecab/archive/2008/03/12/common-causes-and-solutions-to-backup-system-restore-and-complete-pc-backup-problems-updated.aspx and it says there is a profile missing at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList i checked the registry, and there are only 3 profiles (system profile, local service, [...] read more
windows-server-2008
user-profile
profile
1vote

### IIS7.5 Virtual Directory Wrong Physical Path

I have been fighting this problem for hours, and I can't make IIS (7.5 on 2008r2) do the right thing. Every time I try to go to the photos virtual directory, I get a 404.0 and the physical path listed is wrong and different from the physical path I setup [...] read more
iis-7.5
failover
failovercluster
windows-cluster
virtual-directory
1vote

### SCOM agent install fails with error 0x80070002

When trying to install Windows agents in SCOM 2012 R2, the task fails with error 0x80070002. Looking in the agent install log at C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\AgentManagement\AgentLogs I see "OmAgentFunctions::InstallOmAgentMsi : MsiInstallProductW() failed. HResult: 80070643". read more
scom
1vote

### Linked Clone desktops randomly fail to load roaming persona in View 5.1.2

I have a relatively small environment of linked clone instances -- when users log into a desktop there is usually about a 20% chance that their persona/profile will fail to load and they will be given a blank local profile. Usually logging out and acquiring a new instance will resolve [...] read more
vmware-vsphere
vmware-view
1vote

### What causes SqlServerWriter to fail when running windows server backup on a server with Sql Express?

Equipment: I have a Dell PowerEdge T410 with 2 E5506 processors, 32GB of Ram and running Windows Server 2008 R2. It hosts: * AD * DNS * DHCP * SQL Express for an Accounting Software Package * Quickbooks Issue: Starting about a week ago my nightly backups with windows server [...] read more
windows-server-2008
backup
vss
1vote

### Update WinRM on Win2008R2 to manage it with Windows Server 2012

I want to manage Win2008R2 with Windows Server 2012. What i've done: 1. install .Net Framwork 4.0 on Win2008R2 server 2. install WMF 3.0 3. install hotfix KB2682011 powershell> winrm quickconfig and got: WSManFault Message ProviderFault WSManFault Message = ERROR_FILE_NOT_FOUND. Error number: -2147024894 0x80070002 How can i fix it? read more
windows-server-2008-r2
windows-server-2012
winrm
1vote

### IIS 7.5 and ASP.NET MVC Routing

I'm running an ASP.NET MVC 3 application on an IIS 7.5 server (my development server). When I set up my production server something goes wrong. Serving the same application binaries, using the same web.config file and connecting to the same database I get different results. Something must be wrong with [...] read more
iis
iis-7.5
asp.net-mvc
1vote

### IIS 7.5 + Windows Server 2008 R2 + ASP.NET 4.0 HTTP 500 Error?

I'm having an issue I cannot track down and I have looked through the forums and not found anything that sheds any light. I have a fresh install of a Server 2008 R2 Web that I am trying to load an application I created and tested on a Windows 7 [...] read more
iis
asp.net
windows-server-2008-r2
1vote

### Windows Update fails with 8E5E03FE on Windows 7

Two updates continually fail with error code 8E5E03FE; Downloading the files and installing them directly don't make any difference. The WindowsUpdate log says: 2010-10-12 11:22:04:256 1072 284 DnldMgr ************* 2010-10-12 11:22:04:256 1072 284 DnldMgr ** START ** DnldMgr: Downloading updates [CallerId = AutomaticUpdatesWuApp] 2010-10-12 11:22:04:256 1072 284 DnldMgr ********* 2010-10-12 [...] read more
windows-7
windows-update
1vote

### SQL Server 2008 SP2 installed, filestream failing

I ran the installer for SQL Server 2008 Service Pack 2. Somehow I missed the part that says "this completely screws you over". Regardless, we had a couple databases with filestreams. I followed some links and got the server itself operational. However, these two databases won't load. I turned off [...] read more
windows-server-2008
sql-server-2008
filestream
1vote

### Windows 7 Backup Complains it can't backups two non-existent folders

I am running scheduled daily backups using Windows 7 Backup on my Windows 7 Ultimate Laptop. It constantly gives me the following errors in the backup log: Backup encountered a problem while backing up file C:\Users\sqlExpress2k8\Contacts. Error:(The system cannot find the file specified. (0x80070002)) Backup encountered a problem while backing [...] read more
windows-7
sql-server
1vote

### Error when installing Server 2008 R2 SP1

I recently did an in place upgrade of my Server 2008 R2 Standard VM's to Server 2008 R2 Enterprise via Dism /online /Set-Edition:ServerEnterprise /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx as referenced here: In-place upgrade from Windows Server Standard to Enterprise or Datacenter This went well except for now when I want to install SP1 I [...] read more
windows-server-2008-r2
1vote

### How to use certutil -exportPFX to export certificates from "Certifiate Enrollment Requests" store?

I have Windows Server 2008. I am trying to write a script to export my certificate request private keys. I wanted to use the powershell cmdlet Export-PfxCertificate to export my certificate request's private keys, but it seems that cmdlet is missing from Server 2008. So I tried the certutil command, [...] read more
certutil
1vote

### Cannot start VirtualBox on Windows 10 - (Failed to acquire the VirtualBox COM object)

Greetings to the community, I recently tried to open my VirtualBox (windows 10 host OS) after approximately 3-4 months (when everything was perfect). Unfortunately, now the VirtualBox is unable to get started and I'm getting the following error message > Failed to acquire the VirtualBox COM object. The application will [...] read more
windows-10
virtualbox
virtual-machine
vagrant
1vote

### How to copy WINPE setup. Directory changed error in DISM

I'm attempting to copy an altered WINPE USB flash drive to an ISO. Here's the steps I have so far: 1. Mount USB drive, copy all files from it, and unmount the drive 2. Create a new amd64 WINPE base on C:\ using copype 3. Mount the new amd64 WinPE [...] read more
usb
batch
mount
dism
winpe
1vote

### Unable to add language pack from Windows 10 ADK/PE add-on to Windows 10 ISO

Scenario: I want to add additional languages to the Windows 10 Pro installer so I can easily build Windows instances with packer by only changing the autounattend.xml file. I would like Windows 10 to be installed with the desired language during installation, and not by installing it in en-US and [...] read more
windows-10
dism
language-pack
windows-10-v1809
windows-10-v1903
1vote

### Cannot enable Windows Features (like .NET 3.5 and Subsystem for Linux) through PowerShell or Control Panel

I can’t enable Windows features through the Control Panel, features on demand, downloading them online, or through the Command Line or PowerShell. It fails with error code 0x80070002. I think it can’t find the files and I tried running a command to restore system files but after searching multiple sites [...] read more
windows-10
powershell
.net-framework
.net-3.5
1vote

### Windows 7 Update Failed on Multiple attempts

I have been unsuccessful in installing Security Monthly Quality Rollup for Windows 7. Here are errors for windows update history log. Windows Update Failed [https://i.stack.imgur.com/nbnkv.jpg] I also get the following message on failed bootup. enter image description here [https://i.stack.imgur.com/KKdH4.jpg] Based on some of the online information I have tried clean [...] read more
windows-7
1vote

### Can I copy a bitlocker encrypted VHD to a different computer

I created a VHD container and encrypted it with bitlocker on Windows 10. I'm switching computers, so I copied the .vhdx file to my new system and tried to mount it. When I click the "unlock" button, I get this message > BitLocker BitLocker can't access this drive because of [...] read more
windows-10
bitlocker
1vote

### Restoring Windows 10 System Image to RAID

I currently have a Windows 10 instance installed on a RAID) that was configured through the BIOS of my PC. I am trying to to re-image this drive from a backup of that was taken last night and stored on a separate drive. I thought that this was going to [...] read more
windows-10
raid
disk-image
system-recovery
1vote

### Windows Features can't enable Hyper-V - Error 0x80070057

So it won't let me enable Hyper-V Platform, I could enable Hyper-V Management Tools though. I get the following message on Windows Features. > Windows couldn't complete the requested changes. The parameter is incorrect. Error code: 0x80070057 -------------------------------------------------------------------------------- Windows 10 Build (14393.447) Processor: i7 860 VT-x is enabled in BIOS, [...] read more
windows-10
virtualization
hyper-v
vt-x
1vote

windows
powershell
windows-update

### Windows Server 2019 KB4524244 Error 0x800f0922

Getting this error (0x800f0922) when installing update KB4524244. Can't find any specifics yet. Just did a sfc /scannow and got 100% verified so not sure where to check on why it is failing. Error log from the CBS.log 2020-02-21 09:19:27, Error CBS Exec: An error occurred while committing the transaction, [...] read more
windows-update
windows-server-2019

### Data recovery failure from Azure Data Recovery Vault using MARS Agent with on-premises computer

Despite trying several times since last night, the recovery of a volume from an Azure Data Recovery Vault to a new location on the original source computer fails after approximately (but not exactly) the same amount of data transfer (~3.7GB of ~7.5GB). If the recovery is attempted over the previously [...] read more
azure
disaster-recovery
restore

### IIS App Pool Crashes with AppPoolIdentity identity, not with NetworkService

> OS: Windows Server 2008 R2 IIS: 7.5 No Managed Code I am trying to nail down the issue here. I am not sure if it was precipitated by some change from a group policy (I don't have any control over that) or from installing some Windows Update. All of [...] read more
iis
application-pools

### IIS starts serving 404's (works for a while!)

This is a funny one that's just started happening. Changes I've recently made: * Updated website (not major update, small code changes/bug fixes) * Added URL re-write rules to 301 forum to different domain Site otherwise has been untouched for many many weeks (perhaps months). All re-written URL's seem to [...] read more
windows-server-2008-r2
asp.net
http-status-code-404
web.config

### WMI Win32_PerfFormattedData_PerfOS_Memory class doesn't exist

The Win32_PerfFormattedData_PerfOS_Memory WMI class (and many others) don't seem to exist. From a scripting perspective I asked this question when I couldn't get Win32_PerfFormattedData_PerfOS_Memory to return anything: https://stackoverflow.com/questions/48467013/err-80041017-when-querying-wmi-on-identical-computers-win32-perfformatteddata After hours and hours of digging I am pretty sure this is more of an IT question surrounding a greater WMI issue. [...] read more
windows
windows-7
wmi
windows-registry

### Windows Server 2016 IIS won't install, no errors shown

I'm trying to solve the same error that occurred three years ago and doesn't have an answer. After installing IIS via GUI or powershell Install-WindowsFeature -name Web-Server -IncludeManagementTools I get the error: (The first two lines in English say error adding or removing characteristics. The operation couldn't finish because a [...] read more
iis
windows-server-2016

### GetDPLocations failed with error 0x80004005

My VM SCCM windows 2012 R2 server can't get a sccm-client on my windows 7 VM. I tried client-push and the CCMSetup.exe is running, but eventually stops. The ccmsetup.log gives me GetDPLocations failed with error 0x80004005: <![LOG[Sending message header '<Msg SchemaVersion="1.1"><ID>{50C62C2C-DD4B-4314-9623-C554140C1312}</ID><SourceHost>DIEDERIKSPC</SourceHost> <TargetAddress>mp:[http]MP_LocationManager</TargetAddress> <ReplyTo>direct:DIEDERIKSPC:LS_ReplyLocations</ReplyTo> <Priority>3</Priority><Timeout>600</Timeout><ReqVersion>5931</ReqVersion> <TargetHost>WIN-52BO8J9011M.poliforma.nl</TargetHost> <TargetEndpoint>MP_LocationManager</TargetEndpoint> <ReplyMode>Sync</ReplyMode><Protocol>http</Protocol><SentTime>2017-10-09T16:48:38Z</SentTime><Body Type="ByteRange" Offset="0" Length="1120"/><Hooks> [...] read more
windows-7
windows-server-2012-r2
sccm
sccm-2012

### HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING Windows 2012 Essentials

I am attempting to install .NET 3.5 Framework on a Windows 2012 Essentials server but am running into the following error: HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING After checking the CBS logs it seems to me that Microsoft-Windows-ServerCore Package~31bf3856ad364e35~amd64~~6.2.9200.16384 is the offending package. Here is a snippet of the logs: 2014-12-03 [...] read more
windows

### Can't access SMB shares on Windows but can on Linux

I've been having some problems with a Samba share that I recently set up. The share's configuration is as follows: [data] path = /media/data available = yes valid users = admin read only = no browseable = yes public = yes writable = yes I have been able to access [...] read more
linux
windows
samba
server-message-block
cifs

### Windows PE: Powershell is not installed & error 0x80070002

Trying to run a task sequence. In the last step, I'm trying to run a powershell-script to install various IIS-features. At this step the task sequence terminates with an error (can't remember error code atm). In the smstslog it said that "Powershell is not installed". I then mounted the image [...] read more
powershell
image
windows-pe
windows

### IIS 8.5 Instant 404.0 error on MVC site

I have an MVC site which I have published to my server. It has two different roles for internal and external users. Externally (using www.oursite.com) the site works fine. when we try to access it internally (http://SERVERNAME/application) it instantly throws a 404.0 error: Detailed Error Information: Module IIS Web Core [...] read more
iis
asp.net
http-status-code-404
asp.net-mvc

### Windows Server 2012 Hyper-V stuck at stopping. Computer will not restart nor shutdown

I have a major problem with Windows Server 2012. If a VM is stuck at "Stopping", it is impossible to reboot or shut down the machine. During the shutdown process Windows goes to the screen which says shutting down Hyper-V Service, and it gets stuck there. I tried letting it [...] read more
hyper-v
virtual-machines
windows-server-2012

iis-7
rewrite

### Windows 10 x86 on uefix64 system (via network) error at the end of the installtion

I created a TFTP boot server (Tiny PXE Server on Windows Server 2019). I create 3 different boot situation: Legacy mode, EFI 32, EFI 64 When using Legacy mode, I'm able to boot WinPEx32 or WinPEx64 to install Windows x86 or x64. When usgin EFI 32, I'm able to install [...] read more
windows
64-bit
uefi
windows-installation
windows-installer

### How to use commandLine property in Windows Terminal settings?

I'm playing with new Windows Terminal. I love the concept of predefined tabs, which I use for many recurring tasks at work, but I miss a possibility to launch for example gatsby develop in a proper directory right at the start of tab. My settings.json looks like this: { "guid": [...] read more
terminal
windows-terminal

### Please help interpret setuperr.log from failed Win10 1903 Update

I'm trying to update to Win10 1903 from 1803 but keep getting BSOD with 0xc1900101 code. I've tried removing attached USB devices and disabling my overclock, without success. Today I learned that there is a setup error log, which you can see below, but I don't understand what it's telling [...] read more
windows-10
windows-10-v1903

### Installing a USB device manually on Win 8.1

I have been the not-so-proud owner of a Nokia Lumia 920 for over 2 weeks now. I am also in possession of two PCs, both running Windows 8.1. I am unable to connect my phone to either PC in any way. Device manager keeps reporting my phone as RM-821|Nokia Lumia [...] read more
usb
windows-8.1
drivers

### Windows update from 1803 fails with 0x8007042B - 0x2000D SAFE_OS phase during MIGRATE_DATA operation

I am updating a Windows 10 PC from 1803 (to the latest OS which is 1909) and it's failing with this error: 0x8007042B - 0x2000D The installation failed in the SAFE_OS phase with an error during MIGRATE_DATA operation It fails the same way each time, pretty much down to the [...] read more
windows-10

### Windows 10 Update to 1903 Error: 0xC1900101 - 0x20017

The update starts on the windows 10 machine but after the restart everything is rolled back. My setuperr.txt: 2020-01-19 12:46:14, Error MOUPG CFCAcquirerDCAT::GetCTACAttributes(684): Result = 0x80040154 2020-01-19 12:46:20, Error CSI 00000001 (F) STATUS_OBJECT_NAME_NOT_FOUND #10# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysQueryValueKey(flags = 0, key = 958 ('\REGISTRY\MACHINE\SYSTEM\Setup'), vn = [l:7 ml:8]'Compact', kvic = 2, kvi [...] read more
windows
windows-10
windows-update
windows-10-v1903

c#
php
codeigniter
class-library

### MFPCreateMediaPlayer returning uknown/undocumented error code 0x80070002 on call

In RPG Maker VX Ace, I'm attempting to write my own video player script out of complete boredom, however, I've run into a bit of a snag. When the game tries to call MFPCreateMediaPlayer from my script, it results in an error code(0x80070002 which doesn't exist in the full list [...] read more
ruby
winapi
dll

### CustomAction to run installed program fails only during upgrade

I am generating a silent installer to install our product on local machines via group policy, as we switch away from clickonce deployments. Definitely a novice in the installer department, but I'm getting the hang of it. The appilcation is installed PerUser and works perfectly for installing, upgrading and uninstalling. [...] read more
wix
custom-action

### Web.Security without a web application

Right now, I have an API and a website running in the same application. And I'd like to split it to 2 applications so, API alone and web alone. In the post request I use this for login: if (WebSecurity.Login(model.UserName, model.Password,persistCookieInfo)) How can I do something similar then I do [...] read more
c#
.net
api

### An Error has occurred while encrypting connection string

I am trying to decrypt connection string in my app.config using customized Config Protection Provider named "MyConfigProtectionProvider". I don't have code for this Customized Config Provider as it is developed a long back, I have only DLL file. We changed our DB Username and Password. I want to decrypt my [...] read more
asp.net-mvc-3
encryption
web-config
app-config
aspnet-regiis.exe

### DLL dependency of another DLL not found though loaded

In a C# application I'm Loading 2 DLLs provided by user during runtime (not a pre-difined reference) Let it be A.dll, B.dll. A.dll is referencing B.dll, but they are supplied separately. When I try to access a method from A.dll, with a parameter of type that is declared in B.dll, [...] read more
c#
reflection

### How do i start runing a file system mini filter

I'm new to mini filter programming , i compiled the Windows swapBuffers mini filter example (with a bit extra dbgprinting) and tried to run it on windows xp and windows 7. i tried to use th install option of the inf file and nothing happend (i checked with dbgView - [...] read more
minifilter
filter-driver

### Uploading Multiple Records from a CSV using LINQ

I am trying to add multiple records to a database table using a CSV file. If I remove the try/catch, I get this error: System.IO.FileNotFoundException HResult=0x80070002 Message=Could not find file 'C:\Program Files (x86)\IIS Express\BJ_and_TS.csv'. Source=<Cannot evaluate the exception source> StackTrace: <Cannot evaluate the exception stack trace> Why is it not [...] read more
asp.net
vb.net
linq
webforms

### Load binding redirects from *.dll.config when loading an assembly dynamically

I'm developing a windows service that is dynamically loading an DLL which contains the actual logic for that service. It is loaded using Assembly.LoadFrom(...). That assembly is referencing Microsoft.Graph on NuGet which in turn requires some other libraries, System.ValueTuple in particular. When compiling the versions are resolved properly, but when [...] read more
c#
visual-studio

### SSIS Package - Can't find Newtonsoft.Json.dll when deployed to SQL Server

I hope you're fine! So far I never needed to hand in an own question, because I usually found the solution to my problem here at stack overflow. However, this time I'm lost and I hope someone can help me: I'm just trying to in myself some SSIS-basics. I already [...] read more
c#
json
sql-server
ssis

### Pluralsight crypto open context 0x80070002 error

I have service that creates a self signed certificate using Pluralsight.Crypto library. Since yesterday i'm getting following error and i don't know how to fix it. > Error Message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) Source: mscorlib Here is my code var fileName = "myCertificate"; [...] read more
c#
certificate
self-signed

### FileNotFoundException when Deserializing XML string

I'm experiencing a strange issue while deserializing an XML string. The issue dissappears when clearing the Local temp folder. The error appears again after restarting the PC and i need to clear the local temp folder again to make it run again. System.InvalidOperationException: There is an error in XML document [...] read more
c#
xml
serialization
deserialization
filenotfoundexception

### Error during installation of a software in windows as "InstallShield Wizard Error Code:-5001 : 0x80070002"

I have been trying to install a software in windows but error occurs as "Error Code: -5001 : 0x80070002" read more
windows

### How to fix problem with unsystematic problem of private key creating in PowerShell?

One of our server has to start scripts with determined params unfortunately he stopped to create private keys and i stuck with this problem for weeks. Every time I run the script with the same conditions (same account, server, script, application) it works but in most of runs started from [...] read more
windows
powershell

### Certification authority not working after installation : gives error - system cannot find the file specified. 0x80070002

I've installed Active directory certificate services and Certificate authority server role on Windows Server 2019 Standard edition. When I try to start Certification Authority (Local) console then it gives below error: > --------------------------- Microsoft Active Directory Certificate Services --------------------------- The system cannot find the file specified. 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) [...] read more
certificate-authority
windows-server-2019

### The Microsoft.Office.Interop.Excel is not working when the system has installed Kingsoft sheets while it works when has MS excel or WPS

Microsoft.Office.Interop.Excel.Application ExcelApplication = new Microsoft.Office.Interop.Excel.Application(); gives error : > {"Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070002 The system cannot find the file specified. (Exception from HRESULT: 0x80070002).":null} read more
c#
excel

### System.IO.FileNotFoundException In ConfigurationBuilder Constructor

I'm trying add the ConfigurationBuilder in an .net core console application I'm getting this exception when running the code below. I checked and in the Directory.GetCurrentDirectory() the file appsettings.json is present. System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file or assembly 'Microsoft.Extensions.FileProviders.Physical, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified. [...] read more
c#
.net-core

### Cannot mount an ISO image file with PowerShell

PS F:\ISOs\System> [System.Environment]::OSVersion.Version Major Minor Build Revision ----- ----- ----- -------- 10 0 14393 0 PS F:\ISOs\System> dir Directory: F:\ISOs\System Mode LastWriteTime Length Name ---- ------------- ------ ---- ... -a---- 11/1/2013 13:32 134971392 Win7PE2.iso ... PS F:\ISOs\System> Mount-DiskImage -ImagePath .\Win7PE2.iso -Verbose Mount-DiskImage : The system cannot find the file specified. [...] read more
windows
windows-10
powershell

### Dism restorehealth source files not found

I have several problems on my pc and want fix win10 without reinstalling all apps. When I run: DISM.exe /Online /Cleanup-image /Scanhealth I get Error 87. With: DISM.exe /Online /Cleanup-image /CheckHealth I get a message, that it can be repaired. So, I ran: DISM.exe /Online /Cleanup-image /Restorehealth And get this [...] read more
windows-10
windows-update
dism
repair-install

### I am using IIS to run my PHP website although the links that I click on do not work and give me a 404.0 error,

Iknow the links work because i am also using VS code PHP server and everything works, please can anyone help? thanks. This is the error i get: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. [...] read more
php
url

### C# Winform ActiveX error while add in VFP form

I create one ActiveX control for PDFViewer (PdfiumViewer.dll) to use in Visual FoxPro form. When adding to the Visual Foxpro form, I received the following error: > first time Ole Error class not registered ole error code 0x80040154 then > Ole Error code 0x80070002: The system cannot find the file [...] read more
c#
activex
visual-foxpro