Windows error 0x80070002, -2147024894

Detailed Error Information

FILE_NOT_FOUND[1]

MessageThe system cannot find the file specified.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code2 (0x0002)

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

Questions

131votes
20answers

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
58votes
18answers

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
39votes
6answers

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

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

ASP.NET MVC on IIS falls through to the static file handler

I have a problem with an ASP.NET MVC site. These are the details: 1. ASP.NET MVC 2 2. ASP.NET 4 integrated pipeline 3. IIS 7.5 on Windows Web Server 2008 R2 Whenever I make a request for the app I get the "HTTP Error 404.0 - Not Found"-error and the [...] read more
asp.net-mvc-2
iis-7
14votes
1answer

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
12votes
3answers

Powershell - Assembly binding redirect NOT found in application configuration file

GOT A PROBLEM HERE... I have got a Powershell CmdLet that works when running in 32-bit mode and fails in 64-bit mode. Question is what the cause is and how it can be fixed. SITUATION Powershell CmdLet that references 'OutlookHelper.Common.dll'. Newest version is 2.0.0.0 The CmdLet also uses logging and [...] read more
.net
powershell
32bit-64bit
assembly-binding-redirect
12votes
10answers

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
10votes
1answer

certutil -ping fails with 30 seconds timeout - what to do?

The certificate store on my Win7 box is constantly hanging. Observe: -------------------------------------------------------------------------------- C:\>1.cmd C:\>certutil -? | findstr /i ping -ping -- Ping Active Directory Certificate Services Request interface -pingadmin -- Ping Active Directory Certificate Services Admin interface C:\>set PROMPT=$P($t)$G C:\(13:04:28.57)>certutil -ping CertUtil: -ping command FAILED: 0x80070002 (WIN32: 2) CertUtil: The [...] read more
security
windows-7
ssl-certificate
certificate
ad-certificate-services
10votes
1answer

WCF Service dies on its own after some time

I am facing a peculiar problem related to a hosted WCF service (.NET Framework 4, IIS 7, Windows 2008 Standard SP2). After I deployed the service it works fine for some time and it dies on its own by throwing a file not found exception. The exception details are given [...] read more
wcf
hosting
10votes
7answers

Can't Install IE 10 on brand new Windows 7

I bought a new Alienware and they won't provide support for Windows Update (why should they, really). I go and try to run the IE 10 update like so: enter image description here [https://i.stack.imgur.com/EvMph.gif] And, it hangs a bit on the screen above. Then, it shows this error: enter image [...] read more
windows-7
internet-explorer
windows-update
internet-explorer-10
10votes
3answers

Windows Backup fails with 0x80070002: "The system cannot find the file specified"

Windows 7 Backup is failing. When backing up even a single insignificant directory (e.g. I chose only the empty "Contacts" directory, leaving all other directories unchecked), I get this error within a few seconds and the backup fails. If I uncheck all files/directories, and just do the system image - [...] read more
windows-7
windows
backup
windows-backup
9votes
1answer

C# - System.Runtime.InteropServices.RuntimeInformation constant annoyance with MongoDB

We have a project made of a bunch of small tools. All of them use MongoDB and there hasn't been one of them that hasn't annoyed me at one time or another with that error: > System.IO.FileNotFoundException occurred HResult=0x80070002 > Message=Could not load file or assembly > 'System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, > [...] read more
c#
mongodb
9votes
3answers

Windows 7 Backup not backing up custom library?

I have created a custom Library under Windows 7 64bit professional to handle my source code. When I tried Windows Backup and Restore for the first time I get the following error > Backup encountered a problem while backing up file > C:\Windows\System32\config\systemprofile\Source. Error:(The system cannot find > the file [...] read more
windows-7
backup
troubleshooting
restore
8votes
3answers

Trying to launch media creation tool - "Something happened 0x80070002 - 0x20016"

I'm getting the "Something happened 0x80070002 - 0x20016" error message when trying to launch the Media Creation Tool. I wonder what this could mean and how can I fix it? read more
windows-10
8votes
3answers

Windows 8.1 install error 0x80070002

I tried to install Windows 8.1 from the Windows Store and got the error 0x80070002. It seems that this error means that the download was not completed. * I tried to restart the installation * I tried to clear the windows store cache * I tried to delete every thing [...] read more
windows
windows-8.1
7votes
1answer

Deploy as single-file in .net5 with log4net throws exception for config-file

Trying to deploy a console-application written in .Net 5 with log4net as a single-file. Running deployed application throws exception. Steps to reproduce * dotnet new console --name TestConsole --language C# (make sure .net 5.0) * Install-Package log4net * Program.cs static void Main(string[] args) { log4net.Config.XmlConfigurator.Configure(new FileInfo("log.config")); var logger = log4net.LogManager.GetLogger("TestLogger"); [...] read more
c#
deployment
log4net
.net-5
single-file
7votes
1answer

Windows 10 Pro 64 bit version 1607 fails to install KB3176938 with 0x800F0922

So this is a Windows 10 Pro 64 bit version 1607 system, Insider edition on a slow ring. Some days ago it was repeatedly failing KB3176934 with the same 0x800F0922. I didn't find out the root cause and how to prevent it. My purpose is to find other who has [...] read more
64-bit
windows-update
windows-10-v1607
6votes
1answer

PowerShell 3.0 x64 bit broken after installing KB2506143

I have searched using all kinds of variations on relevant terms and I cannot find a single other instance of someone else having this excact same problem, so I am hoping someone here may have a clue. PROBLEM I installed Windows Management Framework 3.0 (KB2506143) by downloading and running Windows6.1-KB2506143-x64.msu [...] read more
powershell
6votes
4answers

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 built [...] read more
c++
windows
browser
webview
microsoft-edge
6votes
5answers

Getting strange BadImageFormatException: Cannot load a reference assembly for execution

I'm getting a crazy system load issue, which I have not idea what it is. The error and the output from the Server Error in '/' Application. Cannot load a reference assembly for execution. Description: An unhandled exception occurred during the execution of the current web request. Please review the [...] read more
c#
.net
msbuild
visual-studio-2017
6votes
3answers

Error 0x800f0922 installing .NET 3.5 on Windows 8

I'm trying to install .NET 3.5 on my Windows 8 box and it keeps throwing Error 0x800f0922 at me. From what I've read on answers.microsoft.com and StackOverflow I gather the easiest way to fix this is to perform a system refresh, however this will remove all software I've installed from [...] read more
windows-8
.net-framework
.net-3.5
5votes
9answers

Why does any .php page give me a 404 error on Server 2008 with IIS 7.0?

I am using FastCGI to setup PHP. I've followed the instructions on the iis.net website. I added the handler mapping, edited the php.ini file as specified. None of it works, I just get a 404.0 error saying "The page you are looking for has been removed", even though the physical [...] read more
php
iis-7
fastcgi
5votes
2answers

How to open new tab with running specific command in Powershell (Windows Terminal)?

What I want is open new tab having Powershell and running specific command (in my case "npm run local"). I was expecting this will work, wt -w 0 -p "Windows Powershell" npm run local but, it gives error, [error 0x80070002 when launching `npm run local'] -------------------------------------------------------------------------------- Is it possible and [...] read more
windows-terminal
5votes
3answers

<nativehr>0x80070002</nativehr> in Sharepoint 2010

I recently upgraded from Sharepoint 2007 to 2010. I have a windows service that inserts pdfs into sharepoint. It works great on 2007. When I migrated to 2010, I started getting the following intermittent error: <nativehr>0x80070002</nativehr> at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at [...] read more
sharepoint-2010
5votes
2answers

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
5votes
4answers

VBA unavailable from Office programs

I recently reinstalled Windows 10, Avira Free Antivirus v. 15.0.44.142, and Office Professional Plus 2010. Before the reinstallation, this combination of applications worked fine. Now, when I try to open the VBA IDE from a new Word document, I get the following message: > Word has encountered a problem. > [...] read more
vba
microsoft-office
microsoft-office-2010
avira
5votes
0answers

DISM: Error 2 The system Cannot Find the File Specified - during /Cleanup-Image

hopefully someone can help me. I was trying to get rid of old windows update files by running Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore. I am getting Error: 2 'the system cannot find the file speciied'. Specs: Windows 8.1. Attached is errors shown in log 2015-04-27 01:37:01, Info DISM DISM Package Manager: [...] read more
windows
windows-8.1
dism
4votes
1answer

BitLocker on Hyper-V Server 2019 - Failed - The system cannot find the file specified

To start with, I want to be clear that this is on "Hyper-V Server 2019" (free headless hypervisor) and not "Windows Server 2019" with the Hyper-V role installed. I've been banging my head against the wall on this one a while and tried just about every tutorial option I can. [...] read more
hyper-v
windows-server-core
bitlocker
tpm
hyper-v-server-2019
4votes
3answers

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 [...] read more
vb.net
.net-assembly
system.net
packages.config
4votes
3answers

Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException

I'm getting the following error message from Visual Studio 2017 on first run of the ASP.NET Core MVC Boilerplate template (DotNet Core) regarding the SSL certificate: > "Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException > occurred HResult=0x80070002 Message=The system cannot find the file specified > Source= > StackTrace: at Internal.Cryptography.Pal.CertificatePal.FromBlobOrFile(Byte[] > rawData, String fileName, String password, [...] read more
c#
asp.net
ssl
.net-core
iis-express
4votes
6answers

Cannot create virtual switch Hyper-V (0x80070002)

I get following error while creating any type(external, internal and private) of virtual switch on Hyper-V using Hyper-V manager. > Failed to create virtual ethernet switch. > > The system cannot find the file specified. (0x80070002) Here is a to screenshot of error: enter image description here [https://i.stack.imgur.com/ykTbJ.png] OS: Windows [...] read more
windows
networking
windows-8
virtualization
hyper-v
4votes
1answer

IIS 7 fails to serve .aspx pages but works with default files

I have deployed an ASP.NET 4 web site to IIS 7 on Windows Server 2008. When I browse to the root folder, or any other folder in the site, the server responds by delivering the default page Default.aspx as you would expect. However, when I request a specific page with [...] read more
asp.net
iis-7
3votes
3answers

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 [...] read more
hyper-v
hyper-v-server-2016
3votes
2answers

Almost All Scheduled Tasks Fail: The system cannot find the file specified. (0x80070002)

In Windows 7 x64 I am attempting to create a scheduled task that runs a PowerShell script, but no matter what I try, it fails with the error: "The system cannot find the file specified." And then I noticed that many other scheduled tasks (Google updater, MS Office stuff, etc) [...] read more
windows-7
scheduled-task
3votes
6answers

Trying to update windows defender from UNC path continuously fails

I'm trying to update Windows Defender (on Win 10) using definistions stored on a UNC path. I'm setting the path the the mpam-fe.exe file like this Set-MpPreference -SignatureDefinitionUpdateFileSharesSources \\path\to\mpam.exe Then I'm running Get-MpPreference to verify that the path was set (it is). Once I verify that the path is correct [...] read more
windows
anti-virus
unc
3votes
1answer

IIS 7.5 returns 404 on existing PHP file

Module IIS Web Core Notification MapRequestHandler Handler PHP54_via_FastCGI Error Code 0x80070002 Requested URL http://localhost:80/phpinfo.php Physical Path C:\inetpub\wwwroot\phpinfo.php Logon Method Anonymous Logon User Anonymous I followed the following guide: http://www.landpro.com.au/Windows_7_Install_IIS_7_&PHP&_FastCGI.php Permissions: enter image description here [https://i.stack.imgur.com/tEVNK.png] What am I doing wrong to be getting this error? EDIT: I now see the [...] read more
windows
php
iis
windows-7
iis-7
3votes
3answers

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
3votes
5answers

Active Directory Certificate Services won't start - error 100

I've migrated my Active Directory Certificate services Enterprise CA to a new server (and from Windows 2003 R2 x86 to Windows 2008 R2 x64). I have been having problems with checking the Certificate Revocation Lists, but I've republished the revocation lists from the Root CA and when I run certutil [...] read more
windows-server-2008-r2
ad-certificate-services
3votes
4answers

Windows failed to install the following update with error 0x800f0900

My primary WIN 2012 VM domain controller cannot update anymore, every update fails with this error: Windows failed to install the following update with error 0x800f0900 I tried many things: * reset SoftwareDistribution directory * sfc /scannow ends without errors * dism /online /cleanup-image /restorehealth stucks at 40% (I wait [...] read more
windows-server-2012
windows-update
3votes
3answers

WSUS WARNING: CSerializationHelper:: InitSerialize failed : 0x80070002

have recently set up WSUS in a server 2008 R2 / Windows 8.1 environment. WSUS 3.0 SP2, everything appears to be working. GPO is working, client devices are reporting to WSUS server, but for some reason, will not install updates. In the log file, all client machines search for relevant [...] read more
windows-server-2008-r2
wsus
windows-8.1
3votes
1answer

Why does wusa fail with "The System cannot find the file specified"?

On Windows 7 or later, attempting to use wusa.exe to install a CAB file containing a Windows update returns error 0x80070002 (-2147024894), "The System cannot find the file specified". I've tried quoting the full path to the file, running the command in session zero, and everything else I could think [...] read more
windows
update
3votes
0answers

The revocation function was unable to check revocation for the certificate

I need to pass IIS certificate authentication on Windows Server 2012. The root cert haven't got any revocation lists but I'm getting exception: > The revocation function was unable to check revocation for the certificate After searching, I found solution to disable revocation check by using CertUtil command: certutil –setreg [...] read more
iis
windows-server-2012
certificate-authority
crl
3votes
4answers

Norton Ghost EBAB03F1: The specified network name is no longer available

After about 15 minutes, a Norton Ghost 14 backup fails with Error EBAB03F1: The specified network name is no longer available. The source computer is a P4 laptop running Windows XP SP3. The target computer is a Core2 Quad desktop running Windows Vista Ultimate 64bit. It does not help to [...] read more
networking
windows-xp
windows-vista
ghost
3votes
1answer

Azure Websites + node.js - Cannot GET /

When deploying a node.js / express app to Azure Websites I am getting "Cannot GET /" error in the browser. The same application runs flawlessly on the local machine. web.config is standard (I only removed the Static Rewrite rule), so: <!-- All other URLs are mapped to the node.js site [...] read more
node.js
azure-web-app-service
3votes
2answers

How to deploy SSIS project with encrypted data?

We have a SSIS project where one of the packages is connecting to a REST API. We use the HTTP connection manager (with username/password) and a script component to open the connection manager and parse the response. Protection level for all packages are EncryptSensitiveWithUserKey. Everything works in Visual Studio, and [...] read more
visual-studio
powershell
ssis
sql-server-data-tools
3votes
0answers

SmartCards in C# on Windows 10

I have a badge reader in my laptop and a smartcard badge. Following this guide from Microsoft, I can get the reader and set its CardAdded event. In the part about getting an authentication response, the guide mentions a rootPage that stores an already inserted card. Since I'm still learning [...] read more
c#
.net
windows
uwp
smartcard
3votes
2answers

Managed Bootstrapper: Failed while prompting for source

I'm delivering 3 msi packages in my Managed Bootstrapper (MBA). User is given choice to select which packages they wants to install. All goes well. When the user tries to Modify the installation from Control Panel, selects new package from dialog and original source (MBA.exe) is missing, installation failed with [...] read more
wix
bootstrapper
burn
3votes
3answers

Force-remove a Windows 10 Appx package, skipping any errors that might occur

I bought the pre-order version of Forza Motorsport 7 in September. During installation of the pre-order, an error occurred which left the installation mostly installed. Forza Motorsport is delivered via the Windows Store, and is distributed via the Appx App Packager. Now that Forza Motorsport 7 has "gone gold", I'd [...] read more
windows-10
uninstall
uwp
3votes
1answer

Windows Anytime Upgrade unsuccessful

I tried to upgrade my Windows 7 Home Premium to Professional but the upgrade failed and here's the error in the upgrade.log file: DoTransmogrify failed due to error 0x80070002 I did a quick search and afterwards disabled UAC as well as my Anti Virus. UAC asked me to restart the [...] read more
windows-7
windows
upgrade
3votes
1answer

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
3votes
2answers

Windows update fails with error 80073712, how to fix?

I have a laptop with Windows 8.1. Since patch Tuesday, it mysteriously freezes for about 4 minutes shortly after every bootup. There's barely enough time to log in before it happens. I tried a System Restore and then tried to reinstall the updates, but it's not working. Some of them [...] read more
windows-8.1
freeze
windows-update
dism
sfc
2votes
1answer

Enable and disable scheduled task with PowerShell and variable

if I try to enable and disable a scheduled task with PowerShell this works. Enable-ScheduledTask -TaskName "Name of my task" Disable-ScheduledTask -TaskName "Name of my task" But if I'm trying this with a variable I'll got an error. $TaskName = "Name of my task" Enable-ScheduledTask -TaskName "${TaskName}" Disable-ScheduledTask -TaskName "${TaskName}" [...] read more
powershell
scheduled-task
2votes
1answer

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
2votes
1answer

How do I troubleshoot "Failed to get staged packages for package" error when attempting to remove a provisioned app from an offline Windows 8.1 image?

When I attempt to remove provisioned apps from an offline Windows 8.1 image, most of the apps I want to remove cause no problem, but attempting to remove Microsoft.Office.OneNote causes an error. The following PowerShell code demonstrates the problem. The operating system is Windows PE 5.0. (Why WinPE? My goal [...] read more
powershell
windows-8.1
windows-pe
powershell-v4.0
dism
2votes
1answer

Unable to install KB2670838

Trying to update a Server 2008 R2 Enterprise from IE9 to IE11. This is a VM. Going through the prereq list for the life of me I can't get KB270838 to install. sfc /scannow is clean. Readiness tool is clean. Ran FixIt and it's clean. OS has the most current [...] read more
windows
windows-server-2008-r2
windows-update
2votes
0answers

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
2votes
0answers

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
2votes
1answer

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
2votes
2answers

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
2votes
1answer

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
2votes
2answers

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
2votes
1answer

System.IO.Ports 5.0 NuGet package does not work in my solution

I'm getting quite desparate here. My project is stalled by problems getting System.IO.Ports to work in this .NET 5.0 solution on Windows. I have recently ported the whole application from VS2017/.NET Framework 4.6.1/WinForms to VS2019/.NET5/WPF. I didn't have this problem before the big operation. If I create a new bare [...] read more
c#
.net
wpf
visual-studio-2019
.net-5
2votes
1answer

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
2votes
1answer

PSWindowsUpdate File Not Found Exception

I recently updated PSWindowsUpdate from version 1.6.1.1 to the latest version (2.1.0.1) and when I try to run the script: Write-Host " Centralized Update" Write-Host "================================" ipmo activedirectory $computers = Get-ADComputer -Filter {enabled -eq $true} -properties * -SearchBase "OU=Workstations, DC=contoso, DC=com" | select name $Script = {ipmo PSWindowsUpdate; Get-WUInstall -AcceptAll [...] read more
windows
powershell
windows-update
2votes
1answer

unknown error after uninstalling couple of references

I had couple of references that caused my app problems so I uninstalled them and after that I tried to run my app again and I got this error Severity Code Description Project File Line Suppression State Error DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(68,27): error 0x80070002: Cannot install [...] read more
c#
xaml
uwp
2votes
1answer

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 [...] read more
asp.net-mvc-5
visual-studio-2019
xunit.net
2votes
0answers

Can't load System.Resources.Extensions - in .Net Framework

I am suddenly getting an error in my code which is a Forms app compiled for .Net Framework 4.6.1. It occurs when I go to create an object that inherits from the TreeView object. It does very little on top of TreeView. The exception is: System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load [...] read more
winforms
exception
typeinitializationexception
2votes
2answers

Error installing SSDT VS 2015 17.3 and 17.4 - The system can not find file specified

I've successfully installed SSDT 2017 on VS 2017. However, we have some older SSIS packages and SSRS reports for which I need VS SSDT 2015. I have VS 2015 Enterprise installed. I'm trying to install SSDT 2015 17.3 or 17.4 It fails when trying to acquire packages. These are last [...] read more
sql-server
visual-studio-2015
ssis
sql-server-data-tools
failed-installation
2votes
1answer

could not load file or assembly System.Net.Http 4.2.0.0

I am really stuck on this one and could use some help. This problem started when I added an async method involving httpclient to a class library. I call the class library from a short test console application. When it gets to the async method I get an exception: System.IO.FileNotFoundException: [...] read more
c#
2votes
2answers

How to call a method in a .NET Core assembly from .NET Framework

I have two assemblies: 1. The parent assembly is compiled against .NET Framework. 2. The child assembly is compiled against .NET Core. I want to call a method in the child assembly, and retrieve its return object. The constructor doesn't take any parameters. The method does not take any parameters, [...] read more
c#
.net
appdomain
2votes
1answer

extent reports not generating reports

I am using extentent reports to generate report but the test excution fails on extent.flush() method. I am using * extentreports 3.1.3 * Specflow.xunit 2.2.1 This code use to work previously but not working anymore. Error returned : > System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file > or assembly 'System.Web.Razor, Version=3.0.0.0, [...] read more
c#
specflow
extentreports
2votes
4answers

C# Application being blocked by Anti-Virus?

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

How to debug exception in KernelBase.dll that only occurs with the .NET Native toolchain

I'm working on a C# UWP application from a new project I started in Visual Studio this week. It was previously building in release mode fine, but now immediately upon startup i get the exception Exception thrown at 0x75FF4192 (KernelBase.dll) in GhostOverlay.exe: 0x04242420 (parameters: 0x31415927, 0x743C0000, 0x014FEA90). I do not [...] read more
c#
.net
debugging
exception
dll
2votes
4answers

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
2votes
1answer

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
2votes
0answers

Windows 10 Update to 2004 failure - Error: 0x80004005 - 0x60016

I've been trying for the last week or so to get Windows 10 to update to 2004. I've tried all of the common solutions (sfc /scannow, DISM restore, media creation tool etc). After looking at the log files I think I've narrowed the issue to a BCD/MBR issue (see full [...] read more
windows-10
bootloader
mbr
bcd
2votes
1answer

Pipe output from DIR into CERTUTIL

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

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

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

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
2votes
1answer

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
2votes
1answer

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
2votes
1answer

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
2votes
1answer

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

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
ad-lds
adam
1vote
1answer

MDT - Failure after Install Operating System

Trying to get a basic MDT deployment process setup. Right now, for testing, I have MDT loaded with a full set of install files from the Win 10 Ent x64 ISO. I'm using PXE boot via WDS to point over to the MDT boot image. During the task sequence it [...] read more
deployment
mdt
1vote
1answer

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
1answer

IIS loading image resources fails using non-standard Port

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

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
1answer

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
1answer

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
1answer

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
1answer

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

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

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
0answers

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
3answers

Windows Server 2012 Inplace upgrade fails

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

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
adfs
sdk
1vote
0answers

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
2answers

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
0answers

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

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
0answers

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
0answers

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
0answers

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
1answer

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
0answers

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
2answers

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
2answers

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
1answer

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
1answer

SQL Server custom CLR fails with error "Could not load file or assembly or one of its dependencies. The system cannot find the file specified."

I have created a SQL CLR that references the Windows DLL, WindowsBase. For the most part my CLR works just fine but if WindowsBase gets updated in the GAC then I get the error "Assembly in host store has a different signature than assembly in GAC.". To address this I [...] read more
.net
sql-server
sql-server-2012
sqlclr
1vote
0answers

Any changes to solution yields CefSharp "File Not Found" error

I've been updating a project in git as I make improvements and recently have implemented OAuth2 sign in with Google over the less secure, standard method. I'm using CefSharp to embed the browser window into a windows form. Here's the parent sub called: Async Function AuthIt() As Task(Of Boolean) If [...] read more
.net
vb.net
oauth-2.0
cefsharp
1vote
1answer

Visual Studio Project Template causes Exception HRESULT: 0x80070002

I followed this link to the letter for creating a new project template in Visual Studio for MVC3. Unfortunately, while the template shows up in the Dialog, when I click on it to create a new project, I get the "Exception from HRESULT: 0x80070002". I have no idea how to [...] read more
asp.net-mvc-3
visual-studio-2010
exception
visual-studio-templates
1vote
1answer

WSL Corrupted, Can't Install Ubuntu

I'm trying to reinstall Ubuntu via WSL, but I can't install it. I keep getting this error when it opens: Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80070002 Error: 0x80070002 The system cannot find the file specified. Press any key to continue... I've run sfc /scannow, [...] read more
windows
ubuntu
windows-10
windows-subsystem-for-linux
ubuntu-20.04
1vote
1answer

Could not load file or assembly 'CsvHelper' (C#, VS2019, CSVHelper)

I have a class library which uses CSVHelper (v19.0.0). I installed CSVHelper via Nuget in VS2019 (Version 16.5.5; .NET 4.8.03752), and can confirm that the package is where it 'should' be (based on checking my project/dependencies/package/CSVHelper/properties, which shows C:\Users\[my_name]\.nuget\packages\csvhelper\19.0.0). [EDIT: I have checked my [solution name].csproj file and see that [...] read more
c#
visual-studio
csvhelper
1vote
0answers

Can't run git bash in windows-terminal

I try to run git bash in windows terminal, so i followed tutoriels but when i add to the profile settings of windows terminal "profiles" : [ { "commandline" : "\"%PROGRAMFILES%\\git\\bin\\bash.exe\" --login -i -l", "guid" : "{00000000-0000-0000-0000-000000012345}", "icon" : "%PROGRAMFILES%\\git\\mingw64\\share\\git\\git-for-windows.ico", "name" : "Git Bash", }, i get [erreur 0x80070002 lors [...] read more
git-bash
windows-terminal
1vote
0answers

How to use SSHPass with WSL to autostart & login a session

This might seem a little confusing, but I have a server I want to SSH into but the password is kinda long and complex, I understand for security I shouldn't save my password in plain text but for my convenience, I'm not too worried. Regardless, I'm trying to make it [...] read more
ssh
windows-subsystem-for-linux
sshpass
windows-terminal
1vote
1answer

FileNotFoundException Could not load file or assembly 'office, Version=15.0.0.0

Im trying to parse a XLSM workbook, I have linked using: using Excel = Microsoft.Office.Interop.Excel; //microsoft Excel 16 object in dependencies-> COM tab Exception: System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file or assembly 'office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. The system cannot find the file specified. Source=TrafficDataPrep StackTrace: at TrafficDataPrep.XLSMReader.ReadXLSM() in C:...Program.cs:line 287 [...] read more
c#
excel
1vote
1answer

.NET 5.0 Single File Publish user.config issue

I'm trying to migrate WPF project from .NET Core 3.1 to .NET 5.0. My project uses default properties file (user.config) to store some app data. Project code: /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); try { Properties.Settings.Default.test [...] read more
.net
.net-5
user.config
.net-core-publishsinglefile
1vote
4answers

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
0answers

linkedConfiguration not taking effect

I have a .dll.config in which I'd like to place a linkedConfiguration: <?xml version="1.0" encoding="utf-8"?> <configuration> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <linkedConfiguration href="file://C:\Directory\other.config"/> </assemblyBinding> </configuration> Where other.config looks like: <?xml version="1.0" encoding="utf-8"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.ComponentModel.Annotations" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration> When I run [...] read more
.net
app-config
fusion
assembly-binding-redirect
assemblybinding
1vote
0answers

Failed binding - not looking in bin directory

I have a website that refuses to find system.net.http. The version/signature it uses is included in the bin directory. I ran fusion to capture bindings, and listed it below - anybody know why it is giving up after not finding it in the GAC? Shouldn't it move on to the [...] read more
c#
dll
fusion
1vote
3answers

Deployment failed with HRESULT:0x80073CF9/Deployment Add operation failed with error 0x80070002

I am trying to deploy my Windows Universal test App built in Visual Studio 2015 RC on a recently upgraded HP Windows 10 tablet. But app fails to install. The same application is correctly installed on my Windows 10 Laptop. Complete error : > "Add-AppxPackage : Deployment failed with HRESULT:0x80073CF9, [...] read more
c#
windows
win-universal-app
1vote
0answers

could not load or find assembly Microsoft.Azure.cosmos.table

I have a windows forms application WinFormsProj, which references a class library project named ModelsProj. ModelsProj has dependency to Microsoft.Azure.Cosmos.Table version 1.0.7.0. At runtime, when WinFormsProj reaches this code, raises a FileNotFoundException saying that could not load or find assemble Microsoft.Azure.Cosmos.Table`: var entityTypes = typeof(EntityBase).Assembly.GetExportedTypes() .Where(t => t.GetInterface(typeof(IDto).FullName) == null [...] read more
c#
reflection
.net-assembly
1vote
2answers

How do I correctly reference to code in a different project in C#?

In short: I have a console application with a static Dictionaries, which work fine in the project they were written in. How do I reference to this project correctly, so that I can do the same from a different project? I get an error every time I try to call [...] read more
c#
code-structure
1vote
1answer

"Not found" exception on loading referenced .NET DLL that is in same folder as referncing .NET DLL

I have a .NET DLL SigToolNet.DLL with multiple visible COM classes. It references a .NET DLL FTDIVcpLibNet.DLL wrapper for a native C++ static library FTDIVCPLIB which in turn references 3rd party native DLL ftd2xx.dll. The SigToolNet.DLL is registered with the 32 bit regasm successfully C:\Release> regasm SigToolNet.dll /codebase RegAsm : [...] read more
c#
c++
dll
fuslogvw
1vote
0answers

Could not load file or assembly when Integrating Azure Key Vault

I am trying to integrate Azure Keyvault to a web API. Here's the code from a Microsoft Doc: var builtConfig = config.Build(); using (var store = new X509Store(StoreLocation.CurrentUser)) { store.Open(OpenFlags.ReadOnly); var certs = store.Certificates .Find(X509FindType.FindByThumbprint, builtConfig["AzureKeyVault:CertThumbprint"], false); config.AddAzureKeyVault( $"https://{builtConfig["AzureKeyVault:Vault"]}.vault.azure.net/", builtConfig["AzureKeyVault:ClientId"], certs.OfType<X509Certificate2>().Single()); store.Close(); } However, I got an error saying: > [...] read more
c#
security
asp.net-core
azure-keyvault
x509certificate2
1vote
2answers

Error Code 0x80070002 when debugging C++ in VS19

I'm very very new to coding C++ I'm learning OOP in C++ and I was trying to write a program on my own class Account { private: string name; double balance; public: Account(); Account(string name_val); Account(double bal_val); Account(string name_val, double bal_val); }; That's the class Account::Account(): name { "None" }, [...] read more
c++
debugging
visual-studio-2019
1vote
1answer

Azure WebService can't find one of my assemblies but it's there based on Azure Console

I am very new to Azure and WebServices so please bear with me here. Basically, I have a WebService that references 3 different dlls SOCreate.dll, EOTCBase.dll, EOTC_InBuffer.dll, not standard .NET dlls but rather dlls from other projects I have. After I published a WebService on Azure successfully, I am calling [...] read more
c#
.net
azure
azure-web-app-service
1vote
1answer

MSB4062: The "Microsoft.Reporting.RdlCompile" task could not be loaded from the assembly Microsoft.ReportViewer.WebForms, Version=15.0.0.0

There are several similar Stack Overflow posts that are similar but not identical to this issue: * TFS:The "Microsoft.Reporting.RdlCompile" task could not be loaded from the assembly Microsoft.ReportViewer.WebForms, Version=11.0.0.0 * "RdlCompile" task was not found * Assembly references won't resolve properly on our build server We have the Microsoft RDLC [...] read more
visual-studio
msbuild
rdlc
1vote
5answers

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

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

How to fix 0x80070002 - The system cannot find the file specified.error?

I am looking at my ProfileList Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList This shows enter image description here [https://i.stack.imgur.com/Qz8no.png] Should I delete the first default(value not set)? read more
windows
1vote
0answers

Start Git Bash profile in Windows Terminal from bat file and pass in an executable command to run

I am trying to start 2 applications (client and server of a MERN stack app) in Git Bash using command-line arguments for Windows Terminal. Below given is my command wt -M; new-tab -p "Git Bash" -d D:\ws\user-management\server cmd /k "npm run dev" ; split-pane -p "Git Bash" -H -d D:\ws\user-management\client [...] read more
command-line
bash
cmd.exe
git-bash
windows-terminal
1vote
3answers

How to execute a comand in a specific directory to run in a WIndows Terminal window

I have been reading the docs https://docs.microsoft.com/en-us/windows/terminal/command-line-arguments and I just can't figure out how to open a program in a specific location to run using wt, I have tried: wt -d d:\develop\config-server start gradlew bootrun wt d:\develop\config-server\gradlew bootrun wt d:\develop\config-server\gradlew.exe "bootrun" (with and without quotes) wt -d d:\develop\config-server gradlew.exe bootrun [...] read more
windows
windows-10
windows-terminal
1vote
1answer

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

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

Appx Package without install location

Recently I encountered some HD issues and I was forced to replace the affected drive. Unfortunately, several Microsoft store apps were stored on this very drive. I wanted to reinstall the affected apps, only to find out that they were still listed as installed. Running the Get-AppxPackage in elevated PS, [...] read more
windows-10
powershell
package-management
windows-store
1vote
0answers

How to copy WINPE setup. Directory changed error in DISM

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

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

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

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

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

Windows 7 Update Failed on Multiple attempts

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

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
task-scheduler
1vote
0answers

Can I copy a bitlocker encrypted VHD to a different computer

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

Restoring Windows 10 System Image to RAID

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

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

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

Why upgrading to Windows 10 anniversity edition fails

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

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 / 0x80070002 enter 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 [...] read more
windows-7
windows-update
services
1vote
2answers

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 [...] read more
windows-7
backup
windows-7-backup
1vote
1answer

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 [...] read more
windows-7
windows-activation
windows-xp-mode
1vote
0answers

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
1answer

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, [...] read more
windows-8
visual-studio-2012
1vote
1answer

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
1answer

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
4answers

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
google-chrome
internet-explorer-9
0votes
1answer

symptoms of a raid controller dying?

we have a windows server running 24/7. i have been worried for quite a while, when i started taking a look at the windows event log. there i found a lot of instances of "Kernel Power Event ID 41": it indicated that multiple times a day (mainly during the night) [...] read more
raid
0votes
1answer

Failure renewing root CA certificate - 0x80090016 NTE_BAD_KEYSET

We have a multi-tiered PKI infrastructure with a standalone, offline Root CA. Every year we go through a process of extending the root CA certificate (renewing while reusing existing keys) and reissuing the subordinate CA certificates. The server stays offline, except for that once per year process, when it is [...] read more
windows-server-2012-r2
certificate-authority
0votes
0answers

Docker container exiting immediately after creation

I am trying to create multiple SQL server containers on a Linux host. The problem I face is that after I create the first container, every other created container after this just exits with a code 1. I am using the same Docker image I used for the very first [...] read more
linux
ubuntu
docker
0votes
1answer

Enabling LDAPS (636) on Windows Server 2019

I've got a configuration issue with my test domain controller (Server 2019) where I can't connect via 636 using LDP. (using the full domain name) On 2008 and 2012 I didn't have to do any additional configuration; it just worked. However, in 2019 is may appear that I need to [...] read more
windows-server-2012
windows-server-2019
0votes
1answer

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
0votes
0answers

Windows Server 2016 0x800f081f when attempting install of Windows Backup

I'm running W2K16 up-to-date as of today installed from stock Dell media. I've been attempting to install Windows Backup on this new server but it isn't working. I've been looking in c:\windows\logs\cbs and see that it refers to a few languages (RU/KR) that I never installed and source issues. Does [...] read more
windows
0votes
1answer

Windows Server 2019 KB4524244 Error 0x800f0922

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

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 [...] read more
iis
application-pools
0votes
1answer

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
0votes
0answers

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
0votes
0answers

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
0votes
1answer

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
0votes
1answer

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
0votes
3answers

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
0votes
1answer

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
0votes
0answers

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
0votes
0answers

Windows 2008 IIS URL Rewrite not rewriting to index.php, Getting 404 Error instead

It is not an issue with web.config, I know this because I reinstalled IIS to fix an issue. But for completeness, here is my web.config: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="CakePHP" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" [...] read more
windows-server-2008
iis-7
rewrite
0votes
1answer

Can't access any shares using a UNC

I'm getting network error 0x80070002 The System cannot find the file specified when trying to open a network share on domain controller via Run \servername or IP. And the users using Folder Redirection can see their Desktop but no save anything on it, and IE favorites missing (but they are [...] read more
windows-server-2008-r2
windows
0votes
1answer

Classic asp page generating 404 error in IIS 7

I have an asp.net application running in IIS 7.5. I have a standalone classic asp page that I've migrated from another site that I've now included as part of the asp.net application. I'm hosting the application on my local machine, but whenever I navigate to the classic asp page, I [...] read more
iis-7
asp.net
asp-classic
0votes
2answers

After moving eKtron Site from iis6 to iis7 site is running but some of the links do not work and

BACKGROUND I moved this site from IIS6 WIN2K3 to WIN2K8R2 IIS7 and the site launches but I'm getting errors on lots of the links/main menu items. THINGS I HAVE ALREADY CHECKED * application pool settings * db connection strings * Creds/permissions in place * installed the correct version of Ektron [...] read more
iis
iis-7
iis-6
asp.net
http-status-code-404
0votes
2answers

MSSoap 3.0 Error while creating Virtual Directory with SOAPVDIR.CMD

I am trying to install a web service (written in FoxPro) onto a newly configured server. Part of the installation process was to install MSSoap 3.0 which seems to be successful. The server OS is Microsoft Server 2008 R2 (x64). I am now trying to create a virtual directoty at [...] read more
soap
0votes
1answer

Can't access shares after installing SP1 for Server 2008

Just finished installing SP1 for Server 2008 R2, all went fine other than i can't access any shares using a UNC. When using \server from clients or on the server i get the following message; Windows cannot access \\ntserver Check the spelling of the name. Otherwise, there might be a [...] read more
windows-server-2008
network-share
0votes
1answer

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

Ok, I have been racking my brain and the internet for a solution to this. I just can't figure it out. I have written a site that uses ASP.NET MVC Web API and all working nicely until I put it on staging server. The site works fine on my local [...] read more
windows-server-2008-r2
iis-7.5
asp.net-mvc
0votes
1answer

Creating Group Policy defined shortcuts to local programs

In one of our classrooms we have recently updates the SAP Client software. I am trying to create a GPO creating a shortcut on the machines that have this software installed. I have created a GPO and Mapped a shortcut as follows: Action - Update (Have tried Create) Name - [...] read more
windows-server-2008
group-policy
shortcut
0votes
1answer

404 with URL Rewrite Module in IIS7 on windows 7

I am trying to rewrite the URL through "Using URL Rewrite Module" on IIS7 (windows 7). URL: http://localhost/AIM/group-discussion/videos.aspx?id=4&title=some-title Rewrite URL: http://localhost/AIM/group-discussion/videos/4/some-title Rewrite rule: <rewrite> <rules> <rule name="RewriteUserFriendlyURL1" stopProcessing="true"> <match url="^AIM/group-discussion/videos/([^/]+)/([^/]+)/?$" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="AIM/group-discussion/videos.aspx?id={R:1}&amp;title={R:2}" /> </rule> </rules> </rewrite> [...] read more
iis-7
rewrite
0votes
0answers

UWP CopyAsync of StorageFile is not working in release build, throws exception

I need to copy an icon file in C:// drive due to the first run of my UWP FullTrust Application. Here below is my code, which is working properly in Debug mode but not works in Release mode. var packagePath = Package.Current.InstalledLocation; var srcPath = Path.Combine(packagePath.Path, "Assets\\Systray_icon.ico"); Windows.Storage.StorageFile storageFile = [...] read more
c#
uwp
windows-10-universal
0votes
1answer

c# Windows Service does not work when publish with installutil.exe

I have a .net framework 4.6.1 application of type Windows Service, when I run the application locally it works. I publish in windows using the following command: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe" "C:\Bitworks\Git\pbxbitworks\PBX.WindowsService\bin\Release\PBX.WindowsService.exe" The command failed with an exception of type System.InvalidOperationException: Cannot get installer types in assembly. when using Fusion Log I can [...] read more
c#
.net
windows-services
.net-framework-version
0votes
0answers

IIS issues with urlrewrite

I'm trying to set up urlrewrite for my API. Now my site is like: cookhamburger.php?topping=mayo&how=grill cookpasta.php?topping=ragu&how=aldente Given I have many utilities already bound to theese urls I want to stay compatible, but also I want to extend my site. hence I made a generic handler that takes the "food" as [...] read more
web
iis
mod-rewrite
url-rewriting
0votes
1answer

I am stuck on this Powershell script giving me a null value error when trying to scan the CBS log file and registry for errors

I am trying to scan the CBS log file for a certain string of words and then clean up the registry but I am receiving a null value error. I am having trouble matching on the (ERROR_SXS_ASSEMBLY_MISSING) part that does exist in the log file inside parentheses, but does not [...] read more
powershell
logging
null
registry
0votes
0answers

Assembly manager - All probing URLs attempted and failed

I have a VirtualMerchant project which is dependent on SysAuto.Web.Payment project. Both VirtualMerchant and the Web.Payment project, once built, are version 2.0.1 However, from the assembly binding log viewer, we can see that the assembly loader is looking for SysAuto.Web.Payment Version=2.0.0.0 I have spent hours trying to figure out why [...] read more
asp.net
0votes
0answers

Certutil encode bash64 password generation

Trying to generate Bash64 password in terminal using certutil certutil -encode in.txt out.txt and it seems to be not working and giving this error. DecodeFile returned The system cannot find the file specified. 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) CertUtil: -encode command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) CertUtil: The system cannot find [...] read more
certutil
0votes
2answers

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
0votes
1answer

React app deployed to IIS StaticFile handler problem

I have a sample React application. I deployed the application to IIS. Default page is OK, but /category page returns 404 - File or directory not found. import { Route, BrowserRouter } from "react-router-dom"; const Home = () => ( <div> <h2>Home</h2> </div> ); const Category = () => ( [...] read more
reactjs
iis
http-status-code-400
0votes
2answers

How do I get a reference to a class library project to work?

Using the following 2 files: C# Class library project Target Framework: .NET v 5.0 using System; namespace ClassLibrary1 { public class MyExternalClass { } } C# console project .NET Framework: 4.8 using System; using ClassLibrary1; namespace ConsoleApp1 { class Program { static void Main(string[] args) { MyExternalClass myObj = new [...] read more
c#
visual-studio-2019
.net-5
.net-4.8
0votes
0answers

How can I make Geany use the Microsoft Windows Terminal?

THE GOAL I would like to configure Geany so that it launches my programs in Microsoft Windows Terminal. WHAT I KNOW I know that the terminal emulator can be selected under Edit -> Preferences -> Tools -> Terminal, where you can input an arbitrary shell command for Geany to execute. [...] read more
batch-file
cmd
geany
windows-terminal
0votes
1answer

Unable to cleanup PKI, error file not found: CADescription

When trying to clean up my PKI by running certutil -deleterow 31/12/2018 Cert I receive the following error: C:\windows\system32>certutil -deleterow 31/12/2018 Cert 437.625.0:<2020/12/29, 11:55:22>: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND): CADescription 437.625.0:<2020/12/29, 11:55:22>: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND): ParentCAName 410.8311.0:<2020/12/29, 11:55:22>: 0x80070057 (WIN32: 87 ERROR_INVALID_PARAMETER): 31/12/2018 410.8330.0:<2020/12/29, 11:55:22>: 0x80070057 (WIN32: 87 ERROR_INVALID_PARAMETER) 410.8345.0:<2020/12/29, [...] read more
pki
ca
0votes
1answer

Could not load file or assembly 'Microsoft.EntityFrameworkCore, when calling Standard Library DLL

I have the following stack with an XAF Winforms, Entity Framework Project; Framework 4.72 exe which references Framework 4.7.2 library1 which references .Net Standard 2.0 library2 which references .Net Standard 2.0 library3 A call down the stack to a method in library3 produces an exception. System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load [...] read more
entity-framework-core
.net-standard-2.0
regedit
xaf
0votes
0answers

"Could not load file or assembly" while trying to access Excel with vb.net

I am trying to get Data from an Excel File with vb.net. I am using VS2019, Excel 2019 and the Microsoft Excel 16.0 Object Library. When I try to run my code I get the following error: > System.IO.FileNotFoundException HResult=0x80070002 Nachricht = Could not load > file or assembly 'office, [...] read more
excel
vb.net
office-interop
0votes
3answers

Visual Studio - XML - System.IO.FileNotFoundException

I created a new XML file in my project by pressing Ctrl + Shift + A and selected XML File and choosed the name settings.xml. The file was created under C:\Users\Me\documents\visual studio 2017\Projects\projectname\projectname\settings.xml. I opened the file in VS and added this content: <?xml version="1.0"?> <root> <settings name="connectionSettings"> <updateUrl>Foo</updateUrl> <targetUrl>Bar</targetUrl> [...] read more
c#
visual-studio
0votes
2answers

MSB4018 The "CL" task failed unexpectedly in VS2015 Enterprise

I am using Visual Studio 2015 Enterprise and am unable to compile VC++ projects. If I create a new Visual C++ Win32 Console Application with default settings and make no changes at all, building the project results in this error 13 times: > MSB4018: The "CL" task failed unexpectedly. Does [...] read more
c++
visual-c++
visual-studio-2015
msbuild
0votes
1answer

Running certutil -hashfile with standard inputs for filepath and hashtype (c++)

First time posting. I am trying to write a simple program that takes a file path and a hash type from standard input, and outputs the corresponding hash using certutil. Later I would like to compare the hash to one that the user enters, and output a pass or fail [...] read more
c++
string
cin
certutil
0votes
0answers

Using pack Uri with resource from a library

Support Resource loading in a library, where you have no control over the calling executable. I do not wish to load files from disk. How can I fix the ConsoleApp2 code so it supports the described scenario? Based on the Pack Uri documentation, I was able to do this: WHAT [...] read more
wpf
0votes
0answers

log4net breaks when deployed with Publish

When I publish my project (.NET 5 Console Application) and open it from bin\Release\net5.0\win-x64\publish\TestProject.exe, log4net breaks with the following error message. It works when I use the build from Debug or Release, but not publish. > log4net:ERROR Exception while reading ConfigurationSettings. Check your > .config file is well formed XML. [...] read more
c#
log4net
.net-5
0votes
1answer

VB 2019 project settings empty

I want to store startup settings for my project. When I go to the project Properties/Settings, it's empty except for a link that says, "This project does not have a default settings file. Click here to create one." When I click the link to add one, it says "The system [...] read more
vb.net
visual-studio-2019
0votes
0answers

How to build a WebView2 application with MinGW toolset?

It isn't much information on this topic on the Internet. Guess most people use Visual Studio to build WebView2 applications. So far, I've found these 2 projects jchv/webview2-in-mingw and webview/webview. The second one I cannot even build. The first one seems more promising. It can be built with MinGW toolset [...] read more
winapi
webview
mingw
0votes
2answers

Deploy flask api on IIS server gives error 0x8007010b notification: ExecuteRequestHandler

I have to deploy flask app on IIS server. configured the handler settings and also configured the fastcgi module settings for IIS server as given in the following tutorial https://medium.com/@rajesh.r6r/deploying-a-python-flask-rest-api-on-iis-d8d9ebf886e9 and https://medium.com/@bilalbayasut/deploying-python-web-app-flask-in-windows-server-iis-using-fastcgi-6c1873ae0ad8 I configured all the settings except url rewrite settings. I don't know how to configure it. When I [...] read more
python
flask
iis
fastcgi
flask-restful
0votes
0answers

CodeIgniter 4 - HTTP Error 404.0 - Not Found

I'm haven't issue getting CodeIgniter 4 to work, I have other apps running on the same web server using CI 3.x without any issues. I have PHP 7.3.17 installed with IIS via FAST_CGI. I can see the welcome message using this uri http://dev.com/CI-4.0.3/public/. When I try http://dev.com/CI-4.0.3/pages/showme I keep getting [...] read more
php
iis-express
codeigniter-4
0votes
0answers

IIS Web Core MapRequestHandler - 404.0 Error when routing .php in IIS 10

I am using URL Rewriting in my page for remove .php in the url. my page is http://xxxxxxxxxxxxx/driver Everything works great there, but if i go to a page like http://xxxxxxxxxxxxx/driver/about I get 404. And it works if i use url http://xxxxxxxxxxxxx/driver/about.php But i whant to remove .php HTTP Error [...] read more
php
0votes
1answer

ASP.NET CORE 5.0 Web API works on IIS Express but gives 404 when hosted on IIS 10

I have a WEB APP and a Web API project within a single solution. Recently we added Swashbuckle and Swagger UI to the API Project. Now, The Web API works fine when run form within VS (debug / without debugging) using IIS Express, Swagger.json is accessbile, Swagger UI is served [...] read more
iis
swagger
asp.net-core-webapi
asp.net-core-3.1
asp.net-core-5.0
0votes
1answer

I get this error code in VS: 0x80070002 c++

When i try to run a code with the function "strtok" in it i get the error code 0x80070002. I included cstring, cctype, string.h and i also tried using /DEBUG FULL in Properties - Linker - Debugging, like a few other posts said but it still doesn't work. Any clues [...] read more
c++
string
visual-studio
0votes
1answer

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
0votes
0answers

Problem loading .NET assembly by a CGI Module in IIS 8

I have a CGI Module running in IIS8. I fails when trying to load .NET Assemblies. The executable is a Progress (OpenEdge) Application from the 20th Century. Looking with Fusion++, I get this log: *** Assembly Binder Log Entry (30/10/2020 @ 8:59:55) *** The operation failed. Bind result: hr = [...] read more
.net
cgi
iis-8
openedge
progress-4gl
0votes
0answers

WinForms - Can't add picture to picturebox

I pretty much just started using Windows forms and I'm trying to add a picture to a picture box. First I tried the most obvious way, that is - clicking on the little arrow in the top right corner of a picturebox and clicking "choose image" in the small dialog [...] read more
winforms
0votes
1answer

Tomcat/IIS isapi_redirect connectors not working

Versions/OS * Tomcat 6 * IIS 10 * Java jdk1.6.0_23 * Windows 10 Server I've been trying to connect a Tomcat served web application to IIS following the applications step by step instruction for getting Tomcat and the IIS connectors working. Tomcat is able to serve the site and I [...] read more
java
tomcat
iis
isapi
isapi-redirect
0votes
0answers

Can't load image file in asp.net : System.IO.FileNotFoundException HResult=0x80070002 Message=data-science.png

I am trying to load images from my computer to sql database when web application starts but I can't load image data to vb. It is giving file not found exception even though file path is right. Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Dim imgpaths As Array [...] read more
asp.net
vb.net
0votes
0answers

Ozeki crashing due to onvif.dll

I've been using the Ozeki Voip SDK for many years. Today I've installed a WPF app by a client, and when running the app, it loads for a few seconds and then crashes. This is what i get in fuslogvw.exe *** Assembly Binder Log Entry (9/7/2020 @ 8:14:40 AM) *** [...] read more
voip
ozeki
0votes
0answers

Windows 10 Errors Out Loading Kiosk Mode Application with Code 0x80073CF9

Operating System: Windows 10 Pro 64 bit, build #18362.1016, version 1903 One of the requirements for a project I'm contributing to for work is that the application we're developing (an application manager used to provide real time metrics and open other applications) can be run in Kiosk Mode on Windows [...] read more
xml
windows-10
kiosk-mode
0votes
0answers

Error: The SSIS logging provider "SSIS log provider for Text files" failed with error code 0x80070002 ((null))

My siss package returned a failure and the only error was Error: The SSIS logging provider "SSIS log provider for Text files" failed with error code 0x80070002 ((null)). This indicates a logging error attributable to the specified log provider. Please can someone help me make sense of this? Thanks read more
ssis
ssms
etl
ssms-2017
0votes
1answer

C# TFS Api throws exception when called from another assembly?

I have a minimal working exmaple on github to reproduce my case. The following code throws an exception: var wc = new WindowsCredential(new NetworkCredential(userName, password, domain)); var credentials = new VssCredentials(wc); var buildHttpClient = new Microsoft.TeamFoundation.Build.WebApi.BuildHttpClient(new Uri(tfsUrl), credentials); The exception is as follows (I apologize for the German message, it [...] read more
c#
tfs
0votes
1answer

CopyFileExW fails with 0 for an existing file

Context: I have an application that searches files in a directory using QDirIterator, filters and copies specific files. Problem: Using the results from QDirIterator::next(), I ensure the file exists (as a unnecessary safe measure) using QFile::exists(QString) which is valid. However, when attempting to copy the file using CopyFileExW, it returns [...] read more
c++
windows
qt
winapi
file-copying
0votes
1answer

Could not load file or assembly 'System.Data.Entity 4.0.0.0 in azure function referencing a class library

Getting this error: > System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file > or assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified. > Source=... StackTrace: at .... I create an azure function referencing a class library. I checked on the class library, System.Data.Entity is being referenced. But [...] read more
c#
.net-core
azure-functions
0votes
2answers

Visual Studio Crashes When Adding a DataSet to a Report, Could not load file or assembly

When adding a Dataset to an .rdlc report using the Report Designer, Visual Studio crashes. VS leaves a failure.txt file with this error: System.IO.FileNotFoundException: Could not load file or assembly Microsoft.Extensions.DependencyInjection.Abstractions, Version=3.1.0.0 The problem appeared when we upgraded the Intuit QuickBooks Online NuGet package (IppDotNetSdkForQuickBooksApiV3) from v8 to v14. This [...] read more
visual-studio
visual-studio-2017
nuget
report
rdlc
0votes
0answers

Why does this happen? C++ Error: Unable to open file D:\Animals\Animals\Debug\Animals.obj

So i'm making a game (like Pokémon) and i changed some stuff and now i get : Error: Unable to open file D:\Animals\Animals\Debug\Animals.obj. Error code = 0x80070002.Error: Could not find 'D:\Animals\Animals\Debug\Animals.obj'. Animals.exe was built with /DEBUG:FASTLINK which requires object files for debugging. Anybody know what is going on and how [...] read more
c++
0votes
0answers

Could not load file or assembly or one of its dependencies Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0

After digging and digging everywhere I came back here. The issue is the following: I need to setup on my local machine a website but I'm stuck here: Could not load file or assembly 'Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. [...] read more
c#
iis
nuget-package
gac
global-assembly-cache
0votes
1answer

Upgrading NewtonSoft causes 404 error (0x80070002)

.Net 4.6.1 framework I've Upgraded NewtonSoft in all my projects from 9.0.1 to 12.0.3. Before the upgrade everything works fine - Now I got in my home page: HTTP Error 404.0 - Not Found Module IIS Web Core Notification MapRequestHandler Handler StaticFile Error Code 0x80070002 Requested URL https://www.example.com:443/home/index Physical Path [...] read more
c#
json.net
0votes
2answers

Cannot open Files and getting error code 0x80070002 on C

Hi i had a sample code for reading and writing on a txt file but visual studio wont read the code and keep crashing and giving same error 0x80070002 (error happens in bot "w" and "r" formats) here is the code #include <stdio.h> #include <stdlib.h> int main(void) { FILE* fp; [...] read more
c
0votes
1answer

Google.Apis.Auth 1.46.0.0 is installed but then being asked for multiple versions

I am able to get Firestore access through winforms by itself and it works. however, if I try to access Firestore through an external command, I get an error: > System.IO.FileNotFoundException: 'Could not load file or assembly > 'Google.Apis.Auth, Version=1.44.1.0, Culture=neutral, > PublicKeyToken=XXXXXXXXXX' or one of its dependencies. The system [...] read more
c#
winforms
google-cloud-firestore
revit-api
revitpythonshell
0votes
1answer

FileNorFoundException - Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader

I am trying to access WorkItemStore object to connect to TFS from my VS code: public WorkItemStore WorkItemStore { get { return workItemStore ?? (workItemStore = new WorkItemStore(Connection, WorkItemStoreFlags.BypassRules)); } } and getting the below error: System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one [...] read more
c#
tfs
0votes
1answer

Clicked Item not playing song and giving error `The system cannot find the file specified'

I am trying to play a song from my listview in UWP. However when I click on the song (listview item) to play it I get the follwing error: System.IO.FileNotFoundException: 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)' This is my code: private async Task InitFolderAsync() { [...] read more
c#
uwp
0votes
1answer

Declare a class of object and use it in the same Class in c++

My problem is that I'm trying to declare the object Node ,declare a vector of objects Nodes and check that vector with a method of the same class, my complier(visual studio 2019) gives me "Error: Unable to open file main.obj. Error code = 0x80070002". any suggestions to make it work [...] read more
c++
class
vector
methods
0votes
1answer

Feature update to Windows 10, version 20H2 - Error 0x80070002

I am not able to update my desktop Windows. I tried to follow this tutorial https://www.ionos.co.uk/digitalguide/server/configuration/0x80070002-error/, but nothing worked. Any idea what else could help? Thank you error [https://i.stack.imgur.com/y9DrV.png] EDIT: Results of the solutions from above link: Solution 1: Check the System Date and Time * time synced and is [...] read more
windows
windows-10
0votes
2answers

Windows 10 Update Failure (2021-05 Version 20H2) KB5003173

I am updating my Windows 10 PC to v20H2 and it's stuck at 20%, stating it cannot be installed due to error 0x800f0831: * CBS Log: Info CBS Store corruption, manifest missing for package: Windows-Defender-ApplicationGuard-Inbox-Package~31bf3856ad364e35~amd64~~10.0.19041.789 Error CBS Failed to resolve package 'Windows-Defender-ApplicationGuard-Inbox-Package~31bf3856ad364e35~amd64~~10.0.19041.789' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION] Info CBS Mark [...] read more
windows
windows-10
windows-update
dism
0votes
0answers

File not found when attempting to run a scheduled task in windows 10

I am attempting to write a powershell script that schedules another powershell script. Here is the code that I currently have: $Action = New-ScheduledTaskAction -Execute 'pwsh.exe' -Argument '-NonInteractive -NoLogo -NoProfile -File "C:\test.ps1"' $Trigger = New-ScheduledTaskTrigger -Daily -At 6pm $Settings = New-ScheduledTaskSettingsSet $Task = New-ScheduledTask -Action $Action -Trigger $Trigger -Settings $Settings [...] read more
windows
windows-10
powershell
script
scheduled-tasks
0votes
0answers

wuauserv stopping and disabling itself, preventing me from updates and upgrade install

I can't activate it, it always stops, I click start, it says running for 3 sec and then stopping, stopped, why???? sometimes it gives me error others it doesn't. Windows 10 Pro 20H2 net start wuauserv does not work in cmd, just says ''service did not respond with error'' this [...] read more
windows
windows-10
windows-update
windows-10-v20h2
0votes
0answers

Downloaded videos & music cant play

I can't play downloaded videos and music in the internet on my laptop (DELL latitude E5450, windows 10). Every time I play it on windows media player/Movies & TV and MP4 player, there's always an error. It says "CAN'T PLAY, THE ITEM IS MISSING OR WE CANT GET TO IT..0x80070002..I [...] read more
video
download
music
0votes
0answers

Installing Copernic Desktop fails with error

I'm attempting to install Copernic Desktop Search on Windows 10. I get a message: > "An error occurred during installation of assembly > 'Microsoft.VT90.CRT,version="9.0.30729.6161",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64",type="win32"'. > Please refer to Help and Support for more information. HRESULT: 0x80070002" The installer then reports that it has ended prematurely. Copernic Support informed me that [...] read more
windows-10
installation
0votes
1answer

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
0votes
1answer

Merged avhdx file and now VM fails to start since the avhdx file cannot be found

My HyperV VM fails to start since it cannot find its avhdx file; which should be merged AFAIK. How do I get HyperV(?) to understand that the avhdx file has been merged? I had a virtual machine Foss06 with 2 files. Foss06.vhdx and Foss06_A1EBE5BC-A1E2-4169-B799-E3AAAA9B73D0.avhdx I merged the avhdx file through [...] read more
hyper-v
0votes
1answer

Unable To Install Windows KB

I am trying to install KB4592440 and it keeps failing. Since the user is remote ... I ran: DISM.exe /Online /Cleanup-image /Restorehealth 1. And I found this bad reg key: (p) CBS Registry Error 0x8007000d amd64_microsoft.windows.c..-controls.resources_6595b64144ccf1df_5.82.0.0_sv-se_ef79f25f2c83ab1a 2. So I Reg Query the key and I deleted it: r6QIa b11434_for_KB4551853~31bf3856ad364e35~amd64~~10.0.1.7.4551853-2056_neutral REG_NONE [...] read more
windows
dism
0votes
0answers

How to change the lock screen with powershell using LockScreen.SetImageFileAsync method

I tried using the scripts mentioned in Windows 10 Lock Screen Changing After Sign Out, https://itectec.com/superuser/how-to-change-the-lock-screen-picture-automatically/ and Using a UWP API Namespace in PowerShell # Change this to the path where you keep the desired background image $imagePath = 'C:\path\to\image.ext' $newImagePath = [System.IO.Path]::GetDirectoryName($imagePath) + '\' + (New-Guid).Guid + [System.IO.Path]::GetExtension($imagePath) Copy-Item [...] read more
powershell
lock-screen
windows-10-v2004
0votes
1answer

When I run Windows Update, I get error code 0x80070002

When I open windows update, it just says error, with the code 0x80070002 I try to check for new updates and it just stops at downloading 0%, and says error. I am a new to computers what do i do. Thankyou read more
windows
windows-10
windows-update
0votes
1answer

BSOD after Windows 10 Update

I got the Blue Screen of Death after downloading an update. I've been trying to do a system restore but the C: option is grayed out and says: > You must enable system protection on this drive. Recently I’ve opened the Command Prompt and it takes me to: X:\windows\system32> In [...] read more
windows-10
bsod
0votes
0answers

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

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

Powershell mount-diskimage -imagepath, "The system cannot find the file specified."

I am creating a bootable ISO, part of this is mounting an ISO which has been working fine. At some stage in the development I have created a problem which I cannot see how or what the issue is. I am running an instance of "Administrator: Deployment and Imaging Tools [...] read more
powershell
0votes
2answers

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
updates
windows-10-v1903
0votes
0answers

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
0votes
1answer

Windows 10 Pro bluescreens during Windows update (Windows 1803)

Been having a recurring issue for months now where I cannot update my Windows 10 Pro N machine. It blue screens through the process and then when Windows restarts and attempts to repair it freezes around 44%. Inside C:\$Windows.~BT\Sources\Panther there are the follow errors: 2019-10-25 20:07:34, Error DU DU::CDUSession::Search: Failed [...] read more
windows-10
windows-update
bsod
0votes
1answer

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
0votes
0answers

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
windows-10-upgrade
0votes
0answers

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
0votes
1answer

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
0votes
0answers

Error 0x80070002 - WindowsUpdateClient constantly downloads WinStore apps updates and fails to install them

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
0votes
1answer

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
0votes
1answer

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
0votes
0answers

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
0votes
0answers

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
0votes
3answers

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
0votes
1answer

How to add an existing non-Administrator to the Administrators group?

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
0votes
2answers

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
0votes
0answers

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
0votes
0answers

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-10-upgrade
windows-activation
0votes
0answers

Windows 10 1607 upgrade issues

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

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 [...] read more
windows-10
0votes
0answers

Cannot update to Windows 10 on HP 15-f014wm

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

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
0votes
1answer

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-10-upgrade
windows-installation
hard-drive-recovery
0votes
1answer

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
0votes
0answers

Win 10 doesn't upgrade to November update or Redstone

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

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
0votes
2answers

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
0votes
0answers

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
0votes
1answer

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
updates
0votes
1answer

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
0votes
1answer

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
0votes
1answer

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
0votes
0answers

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
0votes
2answers

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
windows-8-upgrade
-1votes
1answer

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: [...] read more
certificate-authority
windows-server-2019
-1votes
0answers

error unable to open file ......(my directory) Error code=0x80070002 in visual studio 2019 for my c++ program

I wrote the following program using visual studio 2019, which for some reason shows me no compiler errors or anything remotely useful, however every time I run it I get the error: error unable to open file ......(my directory) Error code=0x80070002. The thing is if I exchange the code with [...] read more
c++
visual-studio
file-not-found
-1votes
1answer

Error code 0x80070002 when trying to install IIS on Windows 10 Pro 64

I am trying to install IIS on my Windows 10 machine, but keep getting this error: Windows couldn't complete the requested changes. The system could not find the file specified. Error code 0x80070002 Any help would be greatly appreciated. read more
windows
iis
-1votes
1answer

Error code = 0x80070002 (MS Visual Studio) C++ for searching triplet data from one key element

enter image description here How finding a map triplet pair with one element for example (4,(?,?)) so i know that int 4 -> how can i find it because i get so much error and four hours of searching for possible solution to filter the coordinates with that key. int [...] read more
c++
algorithm
visual-c++
path-finding
-1votes
1answer

What using statements are needed to use Deedle in C#? "Could not load type 'Deedle.Frame'" exception

2nd Edit: I have found a MS log viewer, which does not enlighten me. Here is what it shows: *** Assembly Binder Log Entry (10/15/2020 @ 4:09:38 PM) *** The operation failed. Bind result: hr = 0x80070002. The system cannot find the file specified. Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Running [...] read more
c#
exception
deedle
-1votes
3answers

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
-2votes
0answers

Visual Studio 2013 Update 5 installation error

I'm in trouble installation of Update5(VS2013.5.exe) for Visual Studio 2013 Professional. VS2015_Update5_installation_error [https://i.stack.imgur.com/hhdnf.jpg] It doesn't work (download from internet) as well as package location. I found some of error message in logs as follows.. > [3874:14B0][2021-05-18T14:20:06]e000: Error 0x80190194: Failed to download > BITS job. > [3874:14B0][2021-05-18T14:20:06]e000: Error 0x80190194: Failed attempt [...] read more
installation
visual-studio-2013
-2votes
1answer

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

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0