# 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

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

### ASP.NET Web API returns 404 for PUT only on some servers

I have written a site that uses ASP.NET MVC Web API and everything is working nicely until I put it on the staging server. The site works fine on my local machine and on the dev web server. Both dev and staging servers are Windows Server 2008 R2. The problem [...] read more
iis-7.5
asp.net-mvc-4
asp.net-web-api

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

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

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

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

### PowerShell: System cannot find file when user not logged on

When I try to use Import-PfxCertificate I get an error when the user account I'm running the script with isn't logged on: > Import-PfxCertificate : The system cannot find the file specified. (Exception from HRESULT: 0x80070002) When I open an RDP session to the server the script runs at on [...] read more
powershell
certificate
certificate-store

### Cannot create UsbDevice from DeviceInformation.Id

I'm trying to connect to a device (SecuGen Hamster Pro 20) through Windows.Devices.Usb APIs using Universal Windows App for PC only (no phones)(WinRT). The device is a fingerprint scanner. I've done all the steps found online to do that: I've looked for all devices using: var myDevices = await Windows.Devices.Enumeration.DeviceInformation.FindAllAsync(); [...] read more
c#
windows-runtime
usb
win-universal-app
hardware

### Trailing dot trouble while saving MVC 5

I have this model item to modify and save in MVC 5. (.NET Framework 4.6.1) @using (Ajax.BeginForm("Edit", new AjaxOptions { HttpMethod = "POST", UpdateTargetId = "wrapperViews" })) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>EQUIPMENT - @ViewBag.EQP_ID</h4> <hr /> @Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.ID) @Html.HiddenFor(model => model.OPERATIONID) [...] read more
entity-framework
asp.net-mvc-5

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

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

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

### dism.exe error on driver .cab installation

I'm trying to install .cab file on Windows 8.1. The file contains a driver and was downloaded from the Microsoft Update Catalog. File's path is e:\audio.cab and I use the following command (in elevated mode): dism /Online /Add-Package /PackagePath:E:\audio.cab /NoRestart and I get: An error occured trying to open - [...] read more
windows
command-line
windows-8.1
cab
dism

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

### server 2016 unable to add roles or features after making server a domain controller

I am having a problem i cannot install roles or features at all. I installed windows server 2016 standard with desktop as a hardware machine not virtual joined existing domain installed anti-virus software a few tools then i added active directory role promoted to domain controller then made it the [...] read more
windows-server-2016
1vote

### Cannot console into VMs in Hyper-V

When I attempt to view the console of a VM in Hyper-V, I get the following messages: > Video remoting was disconnected and > Could not connect to the virtual machine. Try to connect again. If the problem persists, contact your system administrator. Would you like to try connecting again? [...] read more
hyper-v
hyper-v-server-2016
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

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

### Could not load file or assembly 'Microsoft.VisualStudio.Diagnostics.PerformanceProvider, Version=14.0.0.0

I've got error assembly when publishing to production so far I've tried to: 1. clean bin and obj 2. rebuild solution 3. manually add Microsoft.VisualStudio.Diagnostics.PerformanceProvider library 4. set application pool to enable 32 bit aplication 5. Intall visual studio on production server using System; using System.Collections.Generic; using System.IO; using System.Linq; [...] read more
c#
asp.net
asp.net-mvc
iis
automapper
1vote

### PrintBRM Permission Issue When Exporting Printers

When using Window's Printbrm tool to export printers to a directory on a server, I get the export but no longer have read permissions for the .printerexport. The code I am using runs on the server (in a batch file) where the printer export will be stored. Running the bat [...] read more
batch-file
cmd
permissions
1vote

### Why the private assembly used by my COM component is not found?

My app instantiates a COM component (global registration). This COM component instantiates registration free components. One of those sub-component is implementetd in C#. If my app is not located in the same folder as the main COM component, it failed to instantatiate the C# COM component (but succeed for the [...] read more
.net
com
.net-assembly
assemblies
side-by-side
1vote

### SSIS Package Runs from Catalog, not from SQL Server Agent (Same User)

I have a SSIS package, developed for SQL Server 2012, that uses a script component to open an Excel workbook and execute a macro. This package runs in visual studio, and I am able to deploy to SQL Server 2012. In SQL Server, I am able to execute the package [...] read more
sql-server
ssis
etl
sql-server-agent
1vote

### .Net 4.6 starting project

I have a problem with starting ASP .NET 4.6 project. When I choose WebForm and then click ok I see below error window: enter image description here [https://i.stack.imgur.com/upRFp.png] In English, the error message says: > File specified cannot be found. (Exception from HRESULT: 0x80070002) And I have nothing in my [...] read more
c#
.net
1vote

windows-10
windows-10-v1607
1vote

### BITS service is not starting, Windows Update always stuck at 0%

Windows update is always stuck at 0%. The BITS service always crashes immediately on start with code -2147024894 / 0x80070002enter image description here [https://i.stack.imgur.com/6O10O.png]I have tried lots of things that worked for other people with this error * Windows Update troubleshooter tells me it was unable to fix problems * [...] read more
windows-7
windows-update
services
1vote

### Windows 7 backup produces 0x80070002

I have a problem with my Windows 7 backup. It shows me the following error: > Check your backup The system cannot find the file specified Backup time: 8/7/2011 15:53 Backup location: Local Disk (E:) Error Code: 0x80070002 I can still backup a complete system image. But when I select [...] read more
windows-7
backup
windows-7-backup
1vote

### XP Mode under Win 7 Professional: Windows Activation Update failure despite activated Windows

I am trying to install Windows XP Mode from here: http://www.microsoft.com/windows/virtual-pc/download.aspx(the Hardware-Assisted Virtualization Detection Tool has given me the green for proceeding) Even though my Windows has been activated a year or so ago, the download button leads me to a splash screen saying "Windows validation required". I am next [...] read more
windows-7
windows-activation
windows-xp-mode
1vote

### Outlook 2010 broken even after uninstall and reinstall, can't even create a profile

For no reason, Outlook popped up with a data file cannot be accessed error during send/receive. The error blocked message sending and receiving for all 4 accounts. Summary of what I tried (nothing has worked): * Used Microsoft's built-in Repair feature for Office 2010 * Verified PST file location in [...] read more
microsoft-outlook
microsoft-office
microsoft-outlook-2010
1vote

### Can't install Nuget or other extension to VS2012 on Win8

When I try to install any extension for visual studio ultimate 2012 on my new installation of Winodws 8 I get this exception : > System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Settings.ExternalSettingsManager.GetScopePaths(String applicationPath, String suffixOrName, String vsVersion, Boolean [...] read more
windows-8
visual-studio-2012
1vote

### Windows Backup Error

Okay so I set up Windows 7 File Recovery and I keep getting the same result after backing up my computer I click on the "View skipped files" and it is always the same two files. enter image description here [https://i.stack.imgur.com/aTCtI.png] I keep getting these two errors: > Backup encountered [...] read more
windows-8
windows-backup
1vote

### How to install .NET 4.5 SDK?

I have a problem installing .NET 4.5 SDK. When I run the sdksetup.exe (Windows SDK setup, which also includes the .NET 4.5 SDK), the wizard successfully gets to the point of choosing the components to install. I only need .NET 4.5 SDK, hence I select the appropriate checkbox and turn [...] read more
installation
.net-framework
sdk
1vote

### Google Chrome won't install via IE9/Windows7

Using IE9, I've tried installing Google Chrome on Windows 7 from this url http://www.google.com/chrome/eula.html?hl=en-GB&platform=win But get the following error (apologies for uncouthly dumping this nonsense...) Any ideas dearly appreciated! PLATFORM VERSION INFO Windows : 6.1.7601.65536 (Win32NT) Common Language Runtime : 4.0.30319.235 System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) clr.dll : 4.0.30319.235 (RTMGDR.030319-2300) dfdll.dll [...] read more
windows-7
internet-explorer-9
1vote

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

### Windows Server 2012 - Windows Installer running, TFS cannot be installed

There are already a few related questions - but unfortunately, I cannot make comments, so I have to create a new question. So, first ... the related questions / answers are: * Another installation is in progress * Failed instalation (sic!) preventing TFS install I've tried everything that's described in [...] read more
windows-installer
windows-server-2012
1vote

### win vista sp2 x64 still won't install

Since Vista SP2 came out I have been trying to update, unsuccessfully. I always go through the whole installation process, the system reboots, says it is in Step 3 of 3 and aborts with a message similar to "Service pack did not install. Reverting changes." and then presents me with [...] read more
windows
windows-vista
64-bit
installation
sp2

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

### Azure Site (Windows) ASP.NET Core 2.2 stdout logging not working and 502.5

I have an ASP.NET Core 2.2 site deployed to an Azure Site (App Service? Web Site?) running Windows (10, powershell says). I've installed the ASP.NET Core 2.2 service extension that contains the ancmv2 (I know where the actual DLL is) but I'm not 100% sure it works, so I'm specifying [...] read more
windows
web.config
azure-web-apps
502-error
stdout

### WinRM QuickConfig Unable to check the status of the firewall -2147024894 0x80070002

I have an error on my Windows Server 2012 R2 Standard Edition with a local administrator account : When I want to enable WinRM to manage hyper-V remotly, winRM start but not the listener. When I run a "WinRM qc -force" I always get a Unable to check the status [...] read more
windows-server-2012-r2
winrm

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

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

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

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

### Exist a nugget package or assembly called Microsoft.AspNetCore.Mvc.Components.Prerendering?

I'm started to migrate my netcore project from 2.2 to 3.0 preview 8, when I tried to start it (asp.net core project), specifically adding Mvc in the startup class: services.AddMvc(); an error is throwed: System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Components.Prerendering, Culture=neutral, PublicKeyToken=null'. The system cannot find the [...] read more
c#
asp.net-core
.net-core
.net-core-3.0
asp.net-core-3.0

### Wix bundle custom UI: Repair failed if the the original source setup is deleted

Executing Modify/Repair from "Program & Features" fail if the original source setup is not found. Created a bootstrapper with custom UI that has Repair feature. The Repair button is enabled when setup is already installed, which executes following code. private void RepairExecute() { Bootstrapper.Engine.Plan(LaunchAction.Repair); } After installing delete the setup [...] read more
wix
burn
wix3.11

### How to fix 404 Not Found Error for opening a new tab in Angular

I used 'Window.open()' for opening new tab in Angular. My code is: let windowRef: Window = window.open('inspection/' + sheetId + '/' + equipmentId, '_blank'); It works very well for my local machine. However, it did not work when I used IIS. When a new tab is open, it shows: HTTP [...] read more
angular

### How to add .Net dll (C# - Custom class library dll) reference in php (codeigniter)

Where I Have to add C# dll library [for PHP]? I tried in php/ext folder (is it right)? Dll contains method name: TestMethod/HelloMethod Output: Hello world. $class1 = new DOTNET("SampleTest,Version=1.0.0.0, Culture=neutral,PublicKeyToken=''","SampleTest.TestMethod"); echo$class1->HelloMethod(); > Error Message : Failed to instantiate .Net object [CreateInstance] [0x80070002] The system cannot find the file [...] read more
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

### Is there a way to provide IIS with the location of a DLL that your MVC solution depends on?

I am building an application that scaffolds a SSIS package using EzAPI (Version 0.8.5). The code runs perfect within visual studio, no errors or bugs until I publish the MVC application (.NET 4.5) to the IIS server (Version 10.0.14298). This is when the function fails and doesn't save the package. [...] read more
c#
asp.net-mvc
iis
ssis
ezapi

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

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

### Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation' after nuget package retargetting

There are many similar posts on SO on this error, unfortunately none of them helps. I've upgraded solution projects to .NET 4.8 and afterwards issued a command to retarget nuget packages: update-package -reinstall -ignoreDependencies After this, unit tests fail with an error: > Message: System.IO.FileNotFoundException : Could not load file [...] read more
c#
.net
xunit

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

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

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

Cannot add a Script Component to Data Flow Task for an SSIS Package that I am working on. I am running Visual Studio 2017 and creating an SSIS Package that is targeted for SQL Server 2012 I am trying to drag the Script Component Task from the SSIS Toolbox to [...] read more
ssis
visual-studio-2017

### SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFF (E_UNEXPECTED) in Sharepoint

I've been trying to programmatically copy custom content type and its custom columns from one web to another for some time now, and I always get different errors or exceptions every time. After yet more tries, I received more strange and cryptic exception from Sharepoint after clicking onto a newly [...] read more
sharepoint
sharepoint-2007
content-type

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

### How can I make this rewrite rule so that it can accept querystring?

I have a url rewrite rule that uses map method. <rewriteMap name="Pages"> <add key="/search" value="/search.asp" /> </rewriteMap> <rule name="Rewrite rule1 for Pages"> <match url=".*" /> <conditions> <add input="{Pages:{REQUEST_URI}}" pattern="(.+)" /> </conditions> <action type="Rewrite" url="{C:1}" appendQueryString="true" /> </rule> My problem is when I use this page like below, I get error: [...] read more
url-rewriting
iis-7.5

### code smith error configuring using template

I inherited a project, it uses Code Smith Generator, every time I try to configure a new project using the existing templates. Using VS 2017 I get this error, note NHibernateHelper is in the project System.IO.FileNotFoundException: Could not load file or assembly 'CodeSmith.Engine, Version=5.0.0.0, Culture=neutral, PublicKeyToken=9fd61cdb91609a7a' or one of its [...] read more
c#
codesmith

### wamp is failing to start, showing that vcruntime.140.dll is missing

wamp is failing to start , showing that vcruntime.140.dll is missing im trying to set it up on windows server 2008 R2 i've tried all the online solutions, nothing worked i tried to setup the visual studio c++ redistributable 2015 - 2017 and 2019 all are failing to setup with [...] read more
apache
xampp
wamp

### How to get back the .cfm extension when requesting a URL

At first, I tried to request my pages without a .cfm extension, using the IIS URL rewrite module and was successful. Now, I want to get back my .cfm extension to the requested URL. I changed my web.config file as before and uninstalled the URL rewrite module. A few pages [...] read more
iis
coldfusion
cfml

vb.net
com
regasm

### UWP - create_task crashed when running under Debug x64 instead of x86

I have the following asynchronous programming codes that are retrieving a file in a UWP app bundle: Uri ^source = ref new Uri("ms-appx:///head.html"); auto getFileTask = create_task(StorageFile::GetFileFromApplicationUriAsync(source)); When I run the code in Visual Studio 2017 in Debug x86 mode, it works fine. However, running it in Debug x64 causes [...] read more
visual-studio
asynchronous
uwp
c++-cx

### VS2017 c++ ifstream error

I've just installed Visual Studio to start writing C++ there, I spent the last year learning in CodeBlocks and everything was going fine. But when I got to trying out the ifstream function, it shoots out an error and I've looked around and can't seem to find an answer anywhere. [...] read more
c++

### 0x80070002 - JavaScript runtime error: The system cannot find the file specified. System.IO.FileNotFoundException: Could not load file or assembly

I am trying to develop a Cordova Uwp application which has a cordova plugin . This cordova plugin accesses a .winmd file(which is a winrt application), and I added a dll as a reference to the winrt application. But at the runtime winrt application could not find this dll file. [...] read more
uwp
windows-runtime
cordova-plugins

### How do I solve the WindowsVideoMedia error when importing video files to Unity5?

I am quite new to Untiy Scripting and have encountered the WindowsVideoMedia error 0x80070002 when trying to load a Videoclip into the Video Player with the "videoPlayer.url" command. Every time I try to use the "url" method to access any video from my PC or even the Project Assets folder [...] read more
c#
unity3d
runtime-error

### Microsoft Visual Studio: System.IO.FileNotFoundException in Console App that references Library that should have the File in question

I created a c# Library class (called IfcManagerLib) in Visual Studio and installed some packages (only on the library) via the NuGet Packages Manager. Now I want to use this library through a Console App (called IfcManagerConsole), so I created one in the same solution, added a reference to IfcManagerLib [...] read more
c#
visual-studio
reference
filenotfoundexception

### I got a runtime error in PodioApi C# System.IO.FileNotFoundException

CODE using System; using PodioAPI; namespace TestPodio { class Program { static void Main(string[] args) { string clientId = clientIdValue; string clientSecret = clientSecretValue; int appId = appIdValue; string appSecret = appSecretValue; var podio = new Podio(clientId, clientSecret); podio.AuthenticateWithApp(appId, appSecret); var items = podio.ItemService.FilterItems(appId); Console.WriteLine("My app has " + items.Total [...] read more
c#
json
podio

### Local IIS treating Framework ASP.NET as Core application

I'm having the static content issue where I get 404s on images and CSS. I've gone through all the standard fixes. One thing I found was that moving my Git repo into the wwwroot folder, worked. My coworker said this was how Core apps were done. I had installed Core [...] read more
c#
asp.net
asp.net-core
iis-10

### CKFinder 3 ASP.NET return 404 ckfinder/connector?command=GetFolders

I've installed CKFinder from NuGET on my ASP.NET 4.7 WEB Forms website. I've configured the web config, by adding the following keys in the appsettings: <add key="ckfinderAllowedRole" value="*" /> <add key="ckfinderRoute" value="/ckfinder/connector" /> (I have not configured any authenticator at the moment) In the web.config I have also the following [...] read more
asp.net
ckeditor
ckfinder

### how to add my UWP app to the list of Windows 10 apps that can access the file system?

How do I add my UWP C# app to the Windows 10 File System Privacy Settings to allow my app's broadFileSystemAccess to access the file system? When I open File System Privacy Settings, beneath "Choose which apps can access you file system" I can't figure out how to add my [...] read more
c#
uwp
windows-10
win-universal-app
windows-10-universal

### UWP app project gets error after addition of .NET Standard 2.0 class library project

After I added to my working UWP app a reference to a member in a .NET Standard 2.0 class library, that I added, now when I run it I get this error: enter image description here [https://i.stack.imgur.com/ZRZ1p.png] > System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. [...] read more
c#
.net
uwp

### IIS 404 on default document, direct link OK

My WS 2012 R2 IIS website just started to give error 404 on url https://mysite , i e invoking the default page default.aspx. (Real site name is valid!) It seems that no default page at all works! I have tried all of them (*.htm, *.html) but only the direct url [...] read more
iis

### Sysprep fails when generalizing VM during sysprep cleanup

I'm trying to generalize an Azure VM image. When running sysprep, the following errors get logged error log SYSPRP WinMain:Processing 'cleanup' external provider request. 2019-01-29 10:32:52, Info [0x0f006c] SYSPRP RunExternalDlls:Running DLLs listed in registry for phase 3 2019-01-29 10:32:52, Info [0x0f008a] SYSPRP RunRegistryDlls:Retrieved section name for this phase as Cleanup [...] read more
azure
virtual-machine
sysprep

### How can I get my .NET assembly dll to load renamed third-party assembly dlls?

My .NET Assembly DLL loads third-party .NET assembly DLLs. I'd like to rename those third-party DLL files to hide their origin from casual inspection. I know that if I write a .NET Assembly EXE then I could use an app.config file and specifically the codeBase hint to specify that a [...] read more
.net
dll
.net-assembly

### ccomptr _appdomain createinstance returning the system can't find the file specified

I am trying to create an object of Test.cs in assembly "MyAssembly" using the below code. It was working earlier and that setup was gone. Now I have created the new setup but the same thing is not working in my new environment : Windows 2008 R2 (added to a [...] read more
c#
c++
.net-assembly

### Custom Connected Service and referenced assemblies

I'm trying to create a custom Connected Service plugin for Visual Studio. I have encountered a problem where not all referenced assemblies are being packaged up in the VSIX file which means at run time I get errors about loading assemblies. The strange thing is that some assemblies are being [...] read more
c#
visual-studio

### Configure ASP.NET Managed Handler to handle -all- requests

I have a simple objective; I just want -every- single 404 error to redirect to a Single-Page Application for the SPA to handle routing. This seems to work for routes that could possibly exist within the ASP.NET app (based on existing Controllers). However, if I navigate to a route that [...] read more
c#
asp.net
asp.net-mvc
iis-8

### Downloading a file in a C# Ajax application does not work when deployed to server. Running locally is fine and has no issues

Making the question more specific with less unknowns: On success in the ajax call, I do a redirect as follows. My issue is that the Controller function is never hit (I put in logging and breakpoints). NOTE: Please note that this works fine when I run the app locally but [...] read more
c#
ajax

I had created android sdk and is on gradle. I wanted to use it my in Xamarin project by adding its gradle dependancy. I am following https://marketplace.visualstudio.com/items?itemName=EgorBogatov.XamarinGradleBindings I added XamarinGradleBindings plugin to visual studio and followed all the steps from above link. I successful till 3rd step where we get [...] read more
xamarin.android

### aws s3 cli not working in window task scheduler

I try to run the following aws cli command in console it working correctly. I have aws access key and secret configured. aws s3 sync "C:\uploadfolder" s3://uploadfolder However, when i run it inside windows task scheduler in windows 10 as well as windows server 2012, I got the following error:cannot [...] read more
windows
amazon-web-services
amazon-s3
windows-10

### Cannot find binary file in storage

I am trying to access and read a binary file in my project but I keep getting the following error: > The system cannot find the file specified. (Exception from HRESULT: 0x80070002) I first tried accessing it like this: StorageFile file = await ApplicationData.Current.LocalFolder.GetFileAsync("myBinaryFile"); Stream stream = (await file.OpenReadAsync()).AsStreamForRead(); BinaryReader [...] read more
c#
uwp
storagefile

### adding exception to windows firewall getting error when app is packed/protected

Im making a C# project that is a local proxy and i'm using Themida protector for protect the app. So I want to add my app to Windows firewall exception. When I use my app without themida the Firewall exception is added successfully. But when I use the app with [...] read more
c#
windows-services

### Wix Bootstrapper unable to kickstart installation

I am working on a Wix Bootstrapper project to chain a ExePackage and a MsiPackage. The ExePackage element calls a vendor specific exe which will trigger a set of their msi's basically installing the vendor platform. After installing the platform an msi will be triggered which will install some additional [...] read more
wix
burn

### how to hide run slui.exe and get the error text

When use CMD or Powersell run:slui.exe 0x2a 0x80070002, it will show a dialog:enter image description here [https://i.stack.imgur.com/A15Fx.png] how can i get the error string value from this dialogform: code:0x80070002 description: The system can not find the file specified under VB.net. read more
vb.net

### Error code = 0x80070002 (MS Visual Studio) C++

Well, I wrote a simple code to check the possibility of creating objects using 'new' operator. When I was trying to compile the code, the MS Visual Studio threw the error like this: " Error: Unable to open file C:\Users...\test1\Debug\main.obj. Error code = 0x80070002.Error: Could not find 'C:\Users...\test1\Debug\main.obj'. test1.exe was [...] read more
c++

### IIS Express: 404 0x80070002 on D:

I have an issue running an asp.net application from D:. If I create a new asp.net MVC project in D:\code and hit the debug button I get an IIS Express 10.0 404 page saying: Detailed Error Information: Module IIS Web Core Notification MapRequestHandler Handler StaticFile Error Code 0x80070002 However, if [...] read more
c#
asp.net-mvc
visual-studio
iis-express-10

### SCCM, Dell Optiplex 7060 "Unable to download PXE variable file. Exit code=14"

Ok, so I am trying to PXE boot this machine over IPv4, UEFI mode, Secure Boot enabled. I get the following messages: "Failed to download PXE variable file after retrials. Exit code=14. PxeGetPxeData failed with 0x8004016c." "RegOpenKeyExWis unsuccessful for Software\Microsoft\SMS\Task Sequence GetTsRegValue() is unsuccessful. 0x80070002." I also try to ping [...] read more
windows-10
pxe
sccm

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

### How do I upgrade from Windows 10 1803 to 1809? I'm getting a failure 0x80070003

When attempting to upgrade from Windows 10 1803 to 1809, I get a failure every time. I tried Microsoft support and three reps were unable to assist me. I tried disabling all the startup programs, running the update troubleshooting tool, running Windows 10 update assistant, and downloading / installing from [...] read more
windows-10

### System.IO.FileNotFoundException when connecting Visual Studio 2017 to Gitlab Project

I reinstalled the Git and now when I want to connect to my gitlab project from Visual Studio 2017 and open the synchronization tab , it stops working and shows this error in the team explorer: System.IO.FileNotFoundException Then Visual Studio gets restarted. This is the script of the Error: System.IO.FileNotFoundException [...] read more
git
connection
visual-studio
gitlab

### New system drive boots fine but issues with Win7 backup, etc

I've decided to post here to see if anyone has any ideas about this before I go any further. Recently I installed a new SSD drive to replace my old SSD drive as the Windows system/C: drive. After a round of using a combination of Macrium Reflect Free (for cloning [...] read more
windows-7
hard-drive
boot
ssd
system-reserved-partition

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

### Windows 10 not booting - Lost Partition?

Windows 10 x64 is not booting. Error message: Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key I have attempted each option of the Advanced Options to restore my system. https://docs.microsoft.com/en-us/windows/deployment/images/mdt-11-fig10.png [https://i.stack.imgur.com/BGZ6y.png] Automatic Repair Automatic repair could not repair your PC. [...] read more
windows-10
boot

### Cannot login as root in openSUSE subsystem of windows 10

[Update: The problem was, that I logged in with another user account. See answer.] I lost my root/admin password for the suse subsystem of windows 10. How can I reset it? There exist several guides for ubuntu. However, I saw only ubuntu specific. I tried lxrun /setdefaultuser rootand got Warning: [...] read more
windows-10
opensuse

### Scheduled task running on demand but not by itself with stored Windows credentials

I have a scheduled task that is supposed to run an application located in a server. The access to the server is only allowed to a specific user, so in order to be able to execute such application, or even browse the contents of the specified application's path, you need [...] read more
windows-7
windows
windows-10

According to System Event Log: * WindowsUpdateClient constantly (multiple times per day) downloading WinStore apps updates (Microsoft.BingWeather, Microsoft.BingNews, ...) * trying to install them * fails to install them (error: 0x80073CF1) Why this is happening? How can I heal or stop this? -------------------------------------------------------------------------------- UPDATE: I added exclusion for WSHost.exe in [...] read more
windows-8.1
windows-update
windows-store

### Update Windows 10 from ISO without losing data

I was wondering if I can update my Windows 10 from a USB, using an ISO. I have had problems updating for about a year, and tried everything. My Windows 10 never updates, and is still stuck on 1703. It has been so long since update, that I now have [...] read more
windows-10
boot
windows-update
iso-image

### Windows 10 Creator Updates failing with 0x80004005 Error

I've been unable to install Windows 10 creator updates on an Acer Veriton X6610. Here's a dump from system info for the machine... OS Name Microsoft Windows 10 Pro Version 10.0.15063 Build 15063 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Name MICK-PC2017 System Manufacturer Acer System Model [...] read more
windows-10
windows-update

### Upgrading to Windows 10 fall creator fails

This is the setuperr.log. 2018-01-23 16:43:24, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1066): Result = 0xC1800104 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteInstallMode(723): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteDownlevelMode(347): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::Execute(237): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupHost::Execute(375): Result = [...] read more
windows-10-v1703

### Windows 10 reinstall "Reset" operation fails with errors

I need to revert my windows 10 install to clean version. I attempt to do this by going to "Update & Security" -> "Recovery" -> "Reset this PC". I choose option to remove all applications and data. PC restarts and then boots windows as normal, and when I sign in, [...] read more
windows
windows-10
boot
windows-installation

### All USB drives and devices are missing after using Bash for Windows

My Windows 10 Professional can see only hard drives: Screenshot of windows only showing local disks [https://i.stack.imgur.com/6dRe3.jpg] DiskManager and BIOS can't see flash drives too. Maybe it is linked with turning on and off my Linux subsystem on my Windows 10. I turned it on in "Turn Windows features on [...] read more
windows-10
bash
usb
powershell
usb-flash-drive

### Windows 10 Updater doesn't work (0x80080005) and Windows updater service won't start (0x80070002)

I'm at my wits end with this issue... I heard the news of a big Win10 update hitting soon and I wanted to check if I had it already. To my surprise, my system last update was the 6th of October... odd. I'm using Windows 10 Pro x64. When I [...] read more
windows-10
windows-update
services

A friend popped round their family laptop after discovering that his wife's user account fails to logon with the following error message (it's a Dell Inspiron N5050 running Windows 7 Home Premium Edition): > The User Profile Service failed the logon His wife's user account is the one created when [...] read more
windows-7

### IIS 7 fails to install on Windows 7, despite attempts at Windows Fix It tool, removal/reinstallation of .NET 3.5, etc

I'm not exactly the first person to run into issues getting IIS 7 to install on a Windows 7 machine, but so far, nothing has really managed to fix the problem. When I try to install IIS 7, I get this message: > An error has occurred. Not all of [...] read more
windows-7
installation
iis
.net-framework

### Upgrading to windows 8.1 on a dual-boot computer

I need to upgrade to windows 8.1 (from Windows 8), but when I use the windows store to upgrade I get error "application wasn't installed", and error code 80070002. I am dual-booting with Linux (Debian stable), using default GRUB bootloader, but have marked the windows partition as "Active" as per [...] read more
linux
windows-8
windows-8.1
partitioning
multi-boot

### Windows 7 activation fail (slui.exe) 0x80070002

I'm trying to upgrade from a unlicensed windows 7 to a purchased Windows 10 edition. Both are Home Premium editions, in the same language, so I should be able to upgrade without problem. But n the install, windows 10 is telling me that my license is not correct and therefore, [...] read more
windows-7
windows
windows-activation

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

### How to solve "windows resource protection could not run" when using sfc /scannow

When using sfc /scannow on my Windows 10 Pro 64bit system I am geting error "windows resource protection could not run the requested operation" This is from the CBS log: > 2017-02-01 10:29:29, Info CBS TiWorker: Client requests SFP repair object. 2017-02-01 10:29:29, Info CSI 00000002@2017/2/1:09:29:29.390 WcpInitialize (wcp.dll version 0.0.0.6) [...] read more
windows-10

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

### Windowsupdate failure for specific packages

A computer at work is driving me batty. It running Win7 x64 Enterprise on a Intel Xeon processor). KB3102429 (v2) has been failing for the past few months, several times a day, cluttering up the HDD with CbsPersist logs. This was also, for some reason, stopping windowsupdate from recognizing and [...] read more
windows-7
windows-update
dism
sfc

### Hard Drive Disappears from Gparted and Windows Installation After Failed Windows 10 Install

I recently tried to install Windows 10 to my computer. Before the install, I had a Windows 7 and Ubuntu Linux dual boot with 3 drives: SSD for Linux boot drive, 2TB mechanical for Linux home folder, and 500Gb mechanical for Windows 10. I told Windows 10 to reformat the [...] read more
ubuntu
hard-drive
windows-installation
hard-drive-recovery

### Visual Sutdio 2015 Installation Error

EDIT: I got it working, for some reason seems uninstalling XNA Framework got it working, the other frameworks didn't even matter, I didn't suspect XNA since it came with a different program but oh well, atleast it works now. Ever Since I updated my Windows 10 I can't get Visual [...] read more
windows-10
visual-studio

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

### Win10 Unable to install .NET Framework 3.5

Just switched to Win 10 from Win 8.1. A program is giving an error at startup (C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.tlb could not be loaded) so I tried to reinstall .NET Framework. I've tried with all the possibilities I've found and even installing some components that indirectly install it but alway it ends with: [...] read more
windows-10
.net-framework
.net-3.5

### Some Microsoft apps cannot be upgraded, uninstalled or launched

Windows 10 Desktop 10586.420, please watch my screen record https://youtu.be/tZrGTll9muY These 7 Microsoft apps are stuck in my store update list for ever, all of them had exact the same error code in the end 0x80073CF6. The rest of apps have no problem at all. What is even worse is [...] read more
windows-10

### WMI Issues when installing SQL 2014 (The specified module could not be found)

I am trying to install SQL 2014 on my Window 10 laptop and during rule checking I receive the following error: SQL error [https://i.stack.imgur.com/jI2SR.png] When I check for the Windows Management Instrumentation service on my laptop I find only Winmgmt which cannot be started due to the following error: Services [...] read more
windows-10
services
wmi

### Failing script producing extra folder

I've run into an error that I'm not able to understand and fix despite extensive web searches over the past few days. I have a SetupComplete.cmd script under this location D:\RemoteInstall\Images\WIN 7\install\$OEM$\\Setup\Scripts. This script maps a network drive and then runs another script to install a bunch of apps silently. [...] read more
windows
installation
script
unattended

### Upgrading to Win 10 from USB stick

I wanted to make an USB stick to update several (Win 7/8.1) computers to Windows 10, but the provided Media Creation Tool gave the infamous "Something happened" error (0x80070002 - 0x20016). So I downloaded the .iso file and put it on an USB stick using UNetbootin. While this worked and [...] read more
windows-7
windows

### Windows 7 build 7601 copy may not be genuine and more problems

Tl;dr: Windows 7 says my copy is not genuine (bought the pc with the OS second hand so I cannot know if it is a legitimate problem or not). I cannot access normal Windows, only safe mode. Anti-spyware and anti-virus find nothing that may be causing this and it all [...] read more
windows-7
windows

### SCCM OSD Apply Operating system error - Only when not PXE booted

I have a strange problem when trying to get OSD working from SCCM 2012. We have a deployment task sequence which works fine from PXE boot to unknown computers (where it asks for computer name) and known computers when added to the relevant SCCM collection. trying to get the same [...] read more
pxe
osd
sccm

### Migrate Windows 8.1 from HDD to SSD Error

I’m trying to migrate my Notebook HDD (Asus q550lf-bbi7t07 with Windows 8.1 OEM) to my new SSD drive (SSD Intel 530 Series 240Gb). I tried to clone the original drive to SSD drive with many tools: * List item * Intel® Data Migration Software * EaseUS * Acronis * Paragon [...] read more
hard-drive
ssd
windows-8.1
uefi
migration

### How to install Wireless Driver from Windows Update with error 80070002?

I am experiencing problems with installing simple WLAN driver for System: Windows 8 64bit. Wireless card is: Qualcomm Atheros AR9285. I tried to install driver manualy even from Windows Update but it always says error: 0x80070002 = ERROR_FILE_NOT_FOUND I tried to use these commands: DISM.exe /Online /Cleanup-image /Scanhealth DISM.exe /Online [...] read more
windows
windows-8
installation
drivers
windows-update

Upgrading windows 8 keeping programs and settings is not working. It fails at 47% of migrating settings and rolls back. This is the relevant part of the log (Sources/Panther/setuperr.log): 2013-02-03 00:02:02, Error [0x0803b6] MIG Can't retrieve group information for user NT SERVICE\MSSQLFDLauncher. NetUserGetLocalGroups failed 0x000008AD 2013-02-03 00:30:39, Error MIG COnlineWinNTPlatform::AddPathToSearchIndexer [...] read more
windows-8

### Win7 backup fails with "The system cannot find the file specified" 0x80070002 - has worked before

I have a 500 GB USB-disk which has been used as a backup device for a few years now, but now fails without telling me why. enter image description here [https://i.stack.imgur.com/3j6E9.png] This is a Dell box with Intel USB-controllers (so the NVIDEA problem does not apply here). I have previously [...] read more
windows-7
backup

### Windows 7 Complete PC Backup - Fails with error code: 0x80070002

While doing a Complete PC Backup in Windows 7 I received dialog reading: > Windows Backup...error The backup did not complete successfully. Open the Backup and Restore Control Panel to view settings From there I clicked the Options button. > Windows Backup: Troubleshooting Options Check your backup Windows Backup encountered [...] read more
windows-7
backup

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

### windows update fails on windows vista x64 because of KB980182

I believe a corrupt install of KB980182 for windows vista x64 is causing windows update to fail. As a result I cannot run windows update, or install/uninstall updates via the control panel. I have run the readiness tool which includes checksur, and I've received the following output. Does anyone know [...] read more
windows-vista
windows-update

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

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

### IIS 7.5 problems LetsEncrypt HTTP validation due to not serving extension-less files

I am struggling with generating LetsEncrypt SAN SSL for SBS 2011 for few days. All is going fine, until ACME CHALLENGE verification. I cannot use DNS verification, because DNS is at ISP and it takes days for any change to get live. So only HTTP validation can be used. Where [...] read more
ssl
iis
lets-encrypt

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

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