# 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

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

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

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

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

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

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

### Missing file Microsoft.ServiceHub.HostLib.resources.DLL after VS2019 & Framework 4.7.2 upgrade

Firstly, apologies if I don't get this formatted as nicely as I see questions here usually are, this is my first post here. I may need to go back into the depths of the history of this but initially hoping there might be a fairly simple solution, the crux of [...] read more
c#
asp.net-core
model-view-controller

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

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

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

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

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

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

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

### Certenroll on Azure - Generating self signed certificates

I have built a creation self-signing certificates using Certenroll ( CERTENROLLLib). All works locally but as soon as I deploy it to Azure I get either: > Server API error: Message: CertEnroll::CX509Enrollment::_CreateRequest: Access is denied. 0x80070005 (WIN32: 5 ERROR_ACCESS_DENIED), StackTrace: at CERTENROLLLib.IX509Enrollment2.CreateRequest(EncodingType Encoding) at Foo.Api.Core.Providers.CertificateProvider.GenerateBase64EncodedPfx(String subjectName, Int32 certificateValidityInYears, String password) [...] read more
c#
azure
self-signed
x509certificate2
certenroll
1vote

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

### Cannot load file or assembly System.Runtime

I have two projects in one solution. One is a class library that has three nuget packages installed: HtmlAgilityPack, Microsoft.Syndication, and IrcDotNet. The other is the startup project, a console application project with only one Nuget Package installed, Microsoft.Syndication. This project also has a dependency on the class library. When [...] read more
c#
.net
nuget
visual-studio-2017
1vote

### Trying to host static site through visual code, but getting error after build

So I am learning C# and I am trying to deploy a simple static website and I am getting the following error message: > HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Most likely causes: [...] read more
c#
iis
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

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

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

### Problem with Visual studio 2019 and crystal reports

I have an application that was working fine. It was written in Visual Studio 2017 to read a SQLite database and generate reports using crystal reports. All was good....and then my development laptop went away. I've attempted to migrate to a new box, both were/are Win10 64 bit. I had [...] read more
crystal-reports
visual-studio-2019

### Visual Studio 2015 IIS Express not loading assets such as CSS, JS, Images

I have a project, I build it in VS2015 and hit ctrl+F5 to start without debugging and launch the site in browser. However non of my css, js, images are loading in chrome and edge? In browser console I see: GET http://localhost:2195/Content/app.css net::ERR_ABORTED 404 (Not Found) In my layout file [...] read more
visual-studio
visual-studio-2015
localhost
iis-express

### Searching through an entire folder for a keyword

I'm quite new to programming and I'm trying to find a keyword in an entire folder. I get an error 0x80070002 and can't even open the file. Hoping to get any help i can. class WordFromFolder { private: string path; public: //function to find a character in a file int [...] read more
c++
arrays
file
iterator
char

### Could not find file '..\bin\Debug\TestProj.UnitTests.xunit.runner.json'

I get the below exception when debugging an xunit test using .net MVC 5, .net framework version 4.6.2 and visual studio 2019. ** > System.IO.FileNotFoundException HResult=0x80070002 Message=Could not find file 'Could not find file '..\bin\Debug\TestProj.UnitTests.xunit.runner.json'. Source=mscorlib StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) This exception was originally thrown at this call [...] read more
asp.net-mvc-5
visual-studio-2019
xunit.net

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

### How can I enroll certificate while no user logged in?

I use this link to Enrol new Certificate. When the Windows is lock or logged in everything works fine and create request and install it properly. Running the code as Windows Service, so when I restart the machine, and service is starting cannot create request and get the error the [...] read more
c#
certenroll

### HTTP Error 500.0 with default site set to different drive

I am working with IIS Manager 10 on WinServer 2019. I have set my default IIS website to a different drive (D:); Path: D:\FirstDir\SecondDir\ThirdDir\web. Whenever I try to browse the website from IIS (Browse *.80 (http)), or try to access the site via any web browser on (or off) the [...] read more
html
iis
http-error

### .NET Core SDK 3.1.100 says it is installing but it never does & VS2019

I have installed Visual Studio 2019 16.4.0 which was suppose to install .Net Core SDK 3.1 and I have run the .Net Core SDK 3.1 to install the SDK. Both say that it has installed but there is no SDK folder for 3.1 and when running dotnet --list-sdks it doesn't [...] read more
.net-core-3.1

### Referencing a DLL from another DLL - Missing Dependency

I have a DLL written in C# that runs a job from within the context of a 3rd party application. The DLL needs to reference another 3rd party DLL. Intellisense in VS works great but during runtime the error is generated: "Could not load file or assembly or one of [...] read more
c#
dll

### Map data in C++ to memory and read data in Python

I am mapping integers to memory in C++ (Process 1) and trying to read them in Python (Process 2) .. Current Results: 1) map integer 3 in C++ ==> Python (b'\x03\x00\x00\x00') 2) map integer 4 in C++ ==> Python (b'\x04\x00\x00\x00'), and so on .. code: Process 1 #include <windows.h> #include [...] read more
python
c++
memory

### sp_OACreate returning (0x‭80131051‬) SQL 2016 x64, assembly targeting x64

I know there are tons of answers regarding issues with 32/64 bit conflicts, but in this scenario everything is lined up to run in a 64 bit process. I am helping a customer upgrade from SQL Server 2008 R2 x64 to a new instance on SQL Server 2016 x64. The [...] read more
c#
sql-server
com

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

### Error occurred when I compile the following code

When I was trying to run the program Visual Studio threw the error like this: " Error: Unable to open file C:\Users...\test1\Debug\investment.obj. Error code = 0x80070002. I have tried many ways mentioned online but still not working. So, I was thinking if there was any problem in the code. What's [...] read more
c++
compiler-errors

### setting up backendless for web api .net

I've declared this in my program.cs public class Program { public static void Main(string[] args) { NewMethod(); CreateHostBuilder(args).Build().Run(); } private static void NewMethod() { Backendless.InitApp("53D6D975-0E31-9690-FFA8-508CD4FB5D00", "60CE8F1D-15ED-F9DE-FFCC-B4FEDB0EF100"); } public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); }); } } In return i get this error System.IO.FileNotFoundException HResult=0x80070002 Message=Could [...] read more
c#
.net

### SharePoint Search Server keeps throwing errors

In the Central Admin. there are no errors reported. Upon the user attempting to perform a search they get the message: > Sorry, something went wrong. Search has encountered a problem that prevents results from being returned. If the issue persists, please contact your administrator. In the event log there [...] read more
sharepoint
sharepoint-2013

### C# GRPC Certificate client dont found

In this site ( https://docs.microsoft.com/es-es/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-3.0&tabs=visual-studio ) Microsoft writes about the use of GRPC, and publishes examples to download. One example is Certifier. The certifier shows how to configure the client and the server to use a TLS client certificate with a gRPC call. The server is configured to require a [...] read more
c#
ssl-certificate
grpc
credentials
channel

### Could not load file or assembly GalaSoft.MvvmLight.Extras.dll

I have an Net Core 3 WPF application, and I am using mvvm light libs. If I compile in debug mode with visual studio, I don't get any error and I can run the application with no problems. However, if I try to publish the application with this command line: [...] read more
.net-core
mvvm-light

### Appx Windows File encrypting with MakeAppx to an eappx file how to?

I packed a appx file with visual studio 2017 from my cordova app files i get a folder like this: Then i use MakeAppx like this MakeAppx encrypt /p CordovaApp.Windows10_1.0.2.39_x64.appx /ep CordovaApp.Windows10_1.0.2.01_x64.eappx /kf MyKeyFile.txt in MyKeyFile.txt i added [Keys] "OWVwSzliRGY1VWt1ODk4N1Q4R2Vqc04zMzIzNnlUREU=" "MjNFTlFhZGRGZEY2YnVxMTBocjd6THdOdk9pZkpvelc=" But the command is failing with MakeAppx : error: [...] read more
windows
appx
makeappx

### Running Angular8 under Virtual Directory on IIS (not able to access inner links)

The question is related to Angular 8. I have a website running on IIS where the code is in .Net and AngularJs 1.6 say www.parent.com And I am building a completely new website in pure Angular 8 (single page application), currently having some of the pages of www.parent.com project. Also [...] read more
iis
angular8
virtual-directory

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

### Cannot Add Script Component to Data Flow Task

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

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

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

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

### COM Outlook AddIn registers but Outlook/Fusion is not finding the DLL?

I created a COM AddIn for Office 2013 and above using Visual Studio 2017. I moved to a new development machine and I registered the newly build AddIn using regasm.exe c:\path\myAddIn.dll /codebase I also added the registry entries for Outlook AddIns to be [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\myOLAddIn.Connect] "FriendlyName"="my outlook AddIn" "Description"="my outlook AddIn" [...] read more
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

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

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

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

### Windows 8 upgrade fails

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

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

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

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