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

81votes
12answers

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

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

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

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
30votes
9answers

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

I have written a site that uses ASP.NET MVC Web API and everything is working nicely until I put it on the staging server. The site works fine on my local machine and on the dev web server. Both dev and staging servers are Windows Server 2008 R2. The problem [...] read more
iis-7.5
asp.net-mvc-4
asp.net-web-api
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
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
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
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 specified. (0x80070002)) [...] read more
windows-7
backup
troubleshooting
restore
9votes
6answers

Routing HTTP Error 404.0 0x80070002

I have created routing rules in my ASP.NET application and on my Dev machine at IIS7 everything works fine. When I deploy solution to prod server which has also IIS7 I get error 404 (page not found) while accessing URL. Maybe someone could point where is the problem? Actual error [...] read more
asp.net
iis-7
routing
url-routing
9votes
11answers

Error: Registration of the app failed

While trying to deploy an app from Visual Studio, I'm getting an error. I have already set developer mode and also deleted the app package from the packages folder, but it still won't work. Here's the error message: > Error : DEP0700 : Registration of the app failed. Deployment Register [...] read more
windows
visual-studio
windows-store-apps
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
8votes
4answers

Is there any solution to Process1_Initialization_Failed on Windows 7?

I have a BSOD problem that I cannot repair. I would be so grateful if someone could provide a solution. I have Windows 7 OS installed on the computer. The stop error message resembles the following: > A problem has been detected and Windows has been shut down to prevent [...] read more
windows-7
bsod
system-restore
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
7votes
3answers

Xamarin.Forms - XamlCompilation MissingMethodException

I want to improve performance of my Xamarin.Forms UWP application because it is extremely slow in Release mode (".NET native" checked). So I apply XAMLC at the assembly level in the PCL project: [assembly: XamlCompilation (XamlCompilationOptions.Compile)] namespace MyApp { } but with this attribute I receive runtime error: > "Method [...] read more
c#
.net
xaml
xamarin
xamarin.forms
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
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
6votes
0answers

Bypass restrictions of enabled Folder Access Control of Windows Defender

I've got an application written with C# which is installed via InnoSetup. With enabled Controlled Folder Access of Windows 10's Defender, the setup fails to create a desktop icon (showing the message PersistFile::Save failed, code 0x80070002) -- despite running with administrative privileges. Furthermore the installed application (which is NOT run [...] read more
c#
security
delphi
windows-defender
controlled-folder-access
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. There [...] 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
5votes
4answers

Failed to load receiver assembly - FileNotFoundException

Struggling with this, project builds and deploys when I don't have EventReceivers in my Features, and fails when I do. I'm not entirely sure which file the FileNotFoundException is referring to Error given in visual studio Error 1 Error occurred in deployment step 'Activate Features': Failed to load receiver assembly [...] read more
visual-studio
sharepoint
global-assembly-cache
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
1answer

CSS folder not found on IIS .net core wwwroot

Somehow I decided to build my web API and client separately after several hours failed to combine .net core 2.2 with vue+vuetify. I build the client using Vue CLI, with this config: module.exports = { publicPath: process.env.NODE_ENV === 'production' ? '/joblist/' : '/', } Then place the content of dist [...] read more
c#
vue.js
asp.net-core
iis-10
4votes
8answers

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

Windows Backup fails to create Shadow Copy

Windows Backup is failing with: > A shadow copy could not be created. Please check "VSS" and "SPP" application event logs for more information. Details: The writer experienced a non-transient error. If the backup process is retried, the error is likely to reoccur. The VSS event log says: > Volume [...] read more
windows-7
windows-7-backup
4votes
2answers

Inno setup can not create desktop icon in windows 10

I have setup file for inno setup of latest version. It compiles and works great from windows xp to windows 8, but in windows 10 it fails on the moment when it creates desktop icon with next error: IPersistFile::Save failed; code 0x80070002 This is how I create icon in setup [...] read more
windows-10
inno-setup
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
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

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

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

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 8.1 (x64) [...] read more
windows
networking
windows-8
virtualization
hyper-v
3votes
2answers

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

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

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

Moving data files failing

Trying to migrate data from C: to D: via the SBS console is failing. The wizard starts running but drops out in the first few seconds. I'll post the full logs, but the important lines appear to be as follows: > An exception of type 'Type: System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, [...] read more
windows-sbs
3votes
0answers

Troubleshooting: Assembly resolution for a managed dll from a MS-Word VSTO Add-in

I have an MS-Word VSTO Document with a code-behind dll named WordDocument1.dll Project folder D:\Work\Seven\WordAutomation\ContentControls\WordDocument1\bin\Debug I've copied some custom code into a MyAppExecs folder under that. The DLL has a private bin path specified so that code in MyAppExecs is reachable. So on startup, I load a Starter.DLL in the [...] read more
.net
vsto
assembly-resolution
word-2007
3votes
1answer

Azure WebJob - Create Directory fails

I am trying to publish an azure webjob from the VisualStudio, but it fails with error > An error was encountered when processing operation 'Create Directory' on 'D:\home\site\wwwroot\app_data'. The error code was 0x80070002. Could not find file 'D:\home\site\wwwroot\app_data'. at Microsoft.Web.Deployment.NativeMethods.RaiseIOExceptionFromErrorCode(Win32ErrorCode errorCode, String maybeFullPath) at Microsoft.Web.Deployment.DirectoryEx.CreateDirectory(String path) at Microsoft.Web.Deployment.DirPathProviderBase.CreateDirectory(String fullPath, DeploymentObject [...] read more
visual-studio
azure
azure-devops
azure-webjobs
3votes
2answers

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

Microsoft.Build.CPPTasks.Common cannot find Microsoft.Build.Tasks.Core

I just upgraded a project from Visual C++ 2012 to Visual C++ 2017 and I'm getting build failures from MSBuild: > C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets(64,5): error MSB4062: The "SetEnv" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll. Could not load file or assembly 'Microsoft.Build.Utilities.Core, [...] read more
msbuild
visual-studio-2017
visual-c++-2017
3votes
1answer

Cached image not being updated with LockScreen.SetImageFileAsync(file);

I'm using it in a desktop bridge app. The first time I used it, it set the image correctly. From then on, every time it's executed, it just sets the same first image, no matter which file I point it at. I can even see the correct image in settings->lock-screen. [...] read more
c#
uwp
windows-store-apps
win-universal-app
desktop-bridge
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
1answer

Cannot console into VMs in Hyper-V

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

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

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

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

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

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

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

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

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

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

How to handle parallel ports in win 7 64bit?

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

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

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

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

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

DLL Couldn't Be Loading Because of Binding Redirect

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

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

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

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

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

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

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

PowerShell: System cannot find file when user not logged on

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

WebAPI Routes not being recognized on Azure

I'm trying to deploy a WebAPI project to Azure. It works locally. When I Publish it to Azure, I get 404 on the controller routes. Looking at the logs, I see the routes are being handled as static files, instead of going through my controllers. Module IIS Web Core Notification [...] read more
c#
.net
azure
asp.net-web-api
1vote
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
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

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

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

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

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

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
1vote
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
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 because of [...] 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 is enabled in BIOS, [...] 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 / 0x80070002enter image description here [https://i.stack.imgur.com/6O10O.png]I have tried lots of things that worked for other people with this error * Windows Update troubleshooter tells me it was unable to fix problems * [...] read more
windows-7
windows-update
services
1vote
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 system image. But when I select [...] 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 next [...] 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, String suffixOrName, String vsVersion, Boolean [...] 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
1vote
3answers

Cannot Install Windows 7 SP1 (64-bit)

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

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

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

win vista sp2 x64 still won't install

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

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

Certenroll on Azure - Generating self signed certificates

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

Failed conversion from .net core 2.2 to 3.0

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

Cannot load file or assembly System.Runtime

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

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

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

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

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

PrintBRM Permission Issue When Exporting Printers

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

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

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

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

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

.Net 4.6 starting project

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

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

The “CL” task failed unexpectedly in vs2017

I have met a problem as following when building a VC++ MFC project in visual stdio 2017. I reinstalled my vs 2017 but it still exists.It has nothing to do with my code and all projects running correctly before can't be built because of the same problem. The error specifies [...] read more
visual-studio-2017
1vote
1answer

Task Scheduler Create Task DotNet not working

I am trying to schedule a task using Task Scheduler on Windows. It is for a console app written with .net Core. I have created a task, set a trigger and created a new action. When I manually run it, I get a 'Last Run Result' of 'The system cannot [...] read more
.net-core
taskscheduler
1vote
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 it's return object. The constructor doesn't take any parameters. The method does not take any parameters, [...] read more
c#
.net
appdomain
1vote
1answer

UWP App Compilation Error PRI175 with 0xdef00071

We have a UWP app which is referring some UWP class libraries and some Portable Class Library (PCL) libraries. Recently we have converted some of these PCL libraries to .NET Standard 2.0 project and post to that, we are getting the below error on compiling the UWP app. error PRI175 [...] read more
c#
uwp
visual-studio-2017
portable-class-library
.net-standard-2.0
1vote
0answers

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, Culture=neutral, [...] read more
c#
specflow
extentreports
1vote
1answer

Package Manager > The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

When getting the packages for my user i am getting "The system cannot find the file specified" in some InstalledLocation. Anyone knows why this happens? Are this apps broken? I need to get the InstalledLocation, is there anyway that i can do this without the try catch block? Thanks in [...] read more
c#
.net
windows
uwp
1vote
2answers

I am not sure what I am doing wrong with Xval and remote Validation

I been going through this tutorial and it looks really good. So I went through it and downloaded the sample file. I been playing around with it and I understand how to use it and was able to add my own validation too it. So I decided to add it [...] read more
asp.net-mvc
xval
0votes
0answers

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

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

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

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

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

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

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

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

phpmyadmin has been installed on server 2016 it is running but unable to browse to phpmyadmin

phpmyadmin has been installed on server 2016 it is running but unable to browse to phpmyadmin Below is the error that we receive here is the url that we are browsing to http://localhost:8080/phpmyadmin/ HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its [...] read more
php
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

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

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

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

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

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

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

Failing script producing extra folder

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

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

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

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

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

Windows 7 64 bit Home SP1 installation fails with ERROR_NOT_FOUND message

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

windows update fails on windows vista x64 because of KB980182

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

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

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

How can I enroll certificate while no user logged in?

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

HTTP Error 500.0 with default site set to different drive

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

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

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

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

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

Referencing a DLL from another DLL - Missing Dependency

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

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

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

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

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

Error occurred when I compile the following code

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

setting up backendless for web api .net

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

SharePoint Search Server keeps throwing errors

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

C# GRPC Certificate client dont found

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

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

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

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

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

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

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

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

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

Cannot Add Script Component to Data Flow Task

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

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

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

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

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

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

MFPCreateMediaPlayer returning uknown/undocumented error code 0x80070002 on call

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

CustomAction to run installed program fails only during upgrade

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

Web.Security without a web application

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

An Error has occurred while encrypting connection string

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

DLL dependency of another DLL not found though loaded

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

How do i start runing a file system mini filter

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

Uploading Multiple Records from a CSV using LINQ

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

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

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

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

Pluralsight crypto open context 0x80070002 error

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

FileNotFoundException when Deserializing XML string

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

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

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

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

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

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

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

code smith error configuring using template

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

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

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

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

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

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

I created a COM AddIn for Office 2013 and above using Visual Studio 2017. I moved to a new development machine and I registered the newly build AddIn using regasm.exe c:\path\myAddIn.dll /codebase I also added the registry entries for Outlook AddIns to be [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\myOLAddIn.Connect] "FriendlyName"="my outlook AddIn" "Description"="my outlook AddIn" [...] read more
vb.net
com
outlook-addin
office-addins
regasm
0votes
0answers

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

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

VS2017 c++ ifstream error

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

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

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

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

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

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

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

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

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

Local IIS treating Framework ASP.NET as Core application

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

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

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

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

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

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

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

IIS 404 on default document, direct link OK

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

Sysprep fails when generalizing VM during sysprep cleanup

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

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

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

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

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

Custom Connected Service and referenced assemblies

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

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

I have a simple objective; I just want -every- single 404 error to redirect to a Single-Page Application for the SPA to handle routing. This seems to work for routes that could possibly exist within the ASP.NET app (based on existing Controllers). However, if I navigate to a route that [...] read more
c#
asp.net
asp.net-mvc
iis-8
-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: 2 ERROR_FILE_NOT_FOUND) [...] read more
certificate-authority
windows-server-2019
-1votes
1answer

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

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

System.IO.FileNotFoundException In ConfigurationBuilder Constructor

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

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

C# Winform ActiveX error while add in VFP form

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

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