Windows error 0x80070020, -2147024864

Detailed Error Information

SHARING_VIOLATION[1]

MessageThe process cannot access the file because it is being used by another process.
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 Code32 (0x0020)

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

Questions

62votes
13answers

How to solve IIS issue in visual studio?

I attempted to run my web service through visual studio. I faced an issue like : --------------------------- Microsoft Visual Studio --------------------------- Unable to launch the IIS Express Web server. Failed to register URL "http://localhost:63591/" for site "xxxxxx" application "/". Error description: The process cannot access the file because it is [...] read more
iis
web
service
56votes
3answers

Unable to start web site IIS HRESULT: 0x80070020)

I'm trying to publish a web site with self created SSL certificate on my own IP. After I added the site to the IIS and try to run in I get this error and I'm unable to start web site. > Internet Information Services (IIS) Manager - The process cannot [...] read more
asp.net
iis
ssl
webserver
53votes
5answers

Applying SSL certificate in IIS manager and "The process cannot access the file because it's being used by another process" error

I applied a self-signed SSL certificate in IIS manager to Default Web Site(added the HTTPS binding) and after that when I'm trying to start the web site, I'm getting the following error message: "The process cannot access the file because it's being used by another process. (Exception from HRESULT: 0x80070020) [...] read more
iis
ssl
13votes
5answers

Seamless deployment in ASP.NET (IIS kills worker process before new worker process is ready)

I am trying to deploy a .NET Web application to IIS (7.5) without any hassle for the users. I have made sure that Disable Overlapped Recycle is False but i still run into the same problem every time. Every time I upload new binaries for the site, IIS kills the [...] read more
asp.net
iis
deployment
worker-process
12votes
2answers

Is smooth deployment possible with componentized ASP.NET MVC apps?

That's probably not MVC specific, it might as well applicable to ASP.NET WebForms, but we've been experiencing it on MVC2 so far. Whenever we start remote deployment with MSDeploy we get a brief (5-6 seconds of) "server error" page for our requests until new deployment takes place. Here is the [...] read more
asp.net
asp.net-mvc
iis-7
7votes
3answers

Loading the TypeScript compiler into ClearScript, "WScript is undefined", impossible task?

I tried using ClearScript to load the TypeScript compiler in order to compile some basic TypeScript code. Unfortunately, when executing the TypeScript compiler source I get this error: > 'WScript' is undefined This is the LINQPad program I've used, place the ClearScript dll's and the TypeScript compiler file alongside the [...] read more
c#
.net
typescript
windows-scripting
clearscript
7votes
0answers

After ClickOnce update, "...cannot access the file because it is being used by another process" for an assembly

Problem description I support a WPF ClickOnce deployed application. The application has a feature that reports exceptions to me by email. After each deployment, I usually get one or two exception reports like the one shown below. There are fewer than 100 users. The call stacks are not identical. It [...] read more
c#
clickonce
6votes
1answer

Could not load file or assembly '' or one of its dependencies. The process cannot access the file because it is being used by another process

I have just bought a new development machine and have taken the latest version of the source code of a project we are working on but when I try to debug it I get the following error: Could not load file or assembly 'Business' or one of its dependencies. The [...] read more
asp.net-mvc
.net-4.5
azure-cloud-services
6votes
2answers

Emulate waiting on File.Open in C# when file is locked

I have, essentially, the same problem as this poster, but in C#: Waiting until a file is available for reading with Win32 More information: we have code that calls File.Open in one of our projects, that occasionally dies when the file is already opened by another process (EDIT: or thread): [...] read more
c#
file-io
.net-2.0
filestream
ioexception
5votes
0answers

How do I fix a non-starting "Microsoft Key Distribution Service"? (not to be confused with Kerberos KDS)

The Microsoft Key Distribution Service is not starting on my DC (kdssvc.dll) and when I look at the event log under Microsoft\Kdssvc, I see the events: > Event ID 4001 Group Key Distribution Service failed to start. Status 0x80070020. Event ID 4007 Group Key Distribution Service cannot connect to the [...] read more
windows
active-directory
domain-controller
bitlocker
managed-service-accounts
5votes
2answers

Configure IIS Web Site for alternate Port and receive Access Permission error

When I configure IIS to run a Web site on Port 1414, I get the following error: > --------------------------- Internet Information Services (IIS) Manager --------------------------- The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) However, as according to netstat the port [...] read more
iis
windows-server-2008-r2
4votes
0answers

Error signing output with public key from file snk - The process cannot access the file because it is being used by another process

Recently installed Visual Studio 2017 and opened an existing solution (previously opened in Visual Studio 2015). Everything seems to open fine. I can see the solution, files, edit files, etc... However, when I attempt to build the solution, I get the following error: > Error signing output with public key [...] read more
visual-studio
visual-studio-2017
4votes
2answers

Unable to start debugging on the web server. The underlying connection was closed. The connection was closed unexpectedly

All of the sudden I'm getting the following error on my local web server (Win7 64bit, IIS 7.5). I've uninstalled & reinstalled IIS locally and it didn't fix it. IIS is set to start up automatically and I can see that the service has been successfully started. Upon a fresh [...] read more
iis
4votes
2answers

A whole storm of unknown errors while rebooting my Sharepoint Server 2010?

Okay, these are the errors I can't backtrace at all. So I was hoping you had any idea. When I recently rebooted my server (The server is a home computer, and just runs Windows 7 as a development machine) with Sharepoint 2010, a whole list of problems occurred. The major [...] read more
sql-server
sharepoint
visual-studio-2010
iis-7
sharepoint-2010
3votes
1answer

Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.Initialize fails with System.IO.FileLoadException

Our ASP.NET web application uses Authorization manager. On a page of this web application, the authorization store which is a local XML file on the server is accessed many times to perform access check. Some clients of ours are getting a System.IO.FileLoadException when they access this page. This is intermittent. [...] read more
azman
fileloadexception
3votes
1answer

Deleting JPEG Not Allowed(Used By Another Process)

Question Edited!! This is an example of compilabile files to help you find my problem! I save some screenshots in a specific file. When i use function DeleteFile() it should delete first the contents and then the folder but then i get "that icon.jpg is used by another process"! (Either [...] read more
c#
jpeg
2votes
1answer

Shadow copy referencing invalid volume from symboliclink when using TrueCrypt

I recently replaced my motherboard after the last one failed (was shorting and causing random reboots). I'm sure this was not healthy for the machine, and that a clean install would do wonders, but I'd like to fix the current install. That aside, I've been tracking down a pair of [...] read more
windows-7
truecrypt
symbolic-link
volume-shadow-copy
2votes
2answers

chkdsk - ok to run on a Softare RAID1 (Intel RST)?

I am running automated backups on a Windows Server 2016 since a couple of days. We are backing up the System as well as an entire Volume which contains the Server Folders. This Volume is a Software RAID1 controlled by Intel Rapid Storage. Besides the server folders directory there is [...] read more
windows-server-2016
software-raid
chkdsk
2votes
3answers

Issue provisioning IIS 7.5 server using Web Farm Framework 2

We have WFF 2.5 installed, and have used it to successfully configure a farm and provision a secondary server in our test environment. Our environment (controller, primary, secondary servers) is Windows 2008 Server Web Edition R2, running IIS 7.5, with WFF 2.5 installed. We have ongoing issues with a .tmp [...] read more
iis-7.5
web-farm
2votes
1answer

DPM 2010 RC Mailbox Recovery Fails

I am testing DPM 2010 with Exchange 2010. I am attempting to restore a single mailbox from a previous backup to a Recovery Database. I created and mounting the Recovery Database on the Exchange 2010 server and set the overwrite property. When I run the restore for the mailbox and [...] read more
backup
restore
exchange-2010
scdpm
2votes
1answer

DEP6953: Failed to launch remote debugger

MY SETUP HoloLens Windows 10 October 2018 Update (10.0.17763.134) DESKTOP Windows 10 Enterprise Visual Studio Community 2017 Version Unity 2018.2.19f1 (Latest 7th December 2018 Update) THE PROBLEM I am unable to deploy any application to the HoloLens, but able to deploy it on hololens-emulator. I'm attempting with the Origami application [...] read more
unity3d
visual-studio-2017
hololens
hololens-emulator
windows-mixed-reality
2votes
1answer

System.IO.IOException: 'The process cannot access the file'

I am trying to synchronize logging to a file in an F Sharp project. Using the lock computational expression I tried to approximate a resource lock, however it seems to not be working. module regiondeployer.logger open System open System.IO open Microsoft.FSharp.Core open regiondeployer.personalprojectroot type private logginglock = static member public [...] read more
.net
multithreading
f#
locking
2votes
1answer

Code signing no longer working

We have a legacy Windows Workflow process that uses SignerSign to apply a digital signature to an EXE. We are migrating away from the Windows Workflow process, and so I have been preparing a tool within the context of our new process to perform the same signing operation. I copy/pasted [...] read more
c#
windows
digital-signature
signature
cryptoapi
2votes
1answer

Microsoft Visual Studio 2015 Shell (Minimum) Fatal Error during installation

Got an error while installing Visual Studio 2015 Community i have search for any site and common issues and workaround but it has no necessary answers. Here is part of my log file. [0DE8:2228][2016-06-06T00:50:17]i000: MUX: Apply Complete: Disk Space Used in bytes for Installation: MaxAppDrive: 0 MaxSysDrive: 98938880 AppDrive: 0 [...] read more
visual-studio
installation
2votes
1answer

IIS 0x80070020 error

I am trying to start up a web app with visual studio, and I keep getting the error: > The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020). I did some digging and i found that port 80 was used by [...] read more
c#
iis
2votes
1answer

Error while running asp.net apps in Visual Studio 2015

In my company I'm running Visual Studio 2015 Enterprise and just recently upgraded to Windows 10. Unfortunately, now I can't run any web project using versions of asp.net earlier than 5 (owin/katana) - always getting error : > "Could not load file1or assembly 'XXX' or one of its dependencies. The [...] read more
asp.net
visual-studio
2votes
2answers

Why does my emulator deployment fail with "The process cannot access the file because it is being used by another process"?

I am in the process of porting a Windows CE solution from .NET 1.1 to 3.5 I was able to "deploy" it -- once -- (to the Pocket PC 2003 SE Emulator), and run the .exe, upon which it failed with an error message. After closing the emulator, I put [...] read more
visual-studio-2008
compact-framework
emulation
windows-ce
visual-studio-debugging
2votes
1answer

Why does WAIISHost lock certain files

I am deploying a web application to azure. The application is built using Nancy, and there is no RoleEntryPoint defined (please note this isn't a problem, the website itself is running just fine). When I deploy to azure, i have enabled the web deploy option. When I attempt to run [...] read more
azure
castle-windsor
webdeploy
nancy
2votes
1answer

Automated application provisioning and file locking

We have WFF 2.5 installed, and have used it to successfully configure a farm and provision a secondary server in our test environment. Our environment (controller, primary, secondary servers) is Windows 2008 Server Web Edition R2, running IIS 7.5, with WFF 2.5 installed. We have ongoing issues with a .tmp [...] read more
iis-7.5
web-farm-framework
2votes
2answers

ssis - flat file source - The process cannot access the file because it is being used by another process

Am attempting to use SSIS flat file source to read a log file being actively written to. Looping and waiting for the file to be released is not practical as this is an active log file held by a service. Ideally, I'm looking for a setting upon the flat file [...] read more
sql-server
sql-server-2005
ssis
1vote
1answer

Sporadic problem with System.IO.Streamwriter in VB.net where it creates the file but comes up with an error that I can't write lines to the file

I've been having some problems with StreamWriter writing to a file sporadically lately and hopefully someone can try to shed some light on it. My call to the subroutine is the following: <!--Code Start SubPrint(tagVal) --> End of Code And the sub is simply this at the moment where I [...] read more
vb.net
streamwriter
1vote
0answers

IIS Express Telling me a port is in use, but netstat says otherwise

I am trying to launch a IIS Express Server from Visual Studio, but it never launches. After trying to launch it from powershell, I get the error "Failed to register URL "http://localhost:49712/" ... The process cannot access the file because it is being used by another process. (0x80070020)" So naturally, [...] read more
visual-studio
iis
visual-studio-2017
iis-express
iis-express-10
1vote
1answer

Could not load file or assembly 'Microsoft.ReportViewer.Common' or one of its dependencies. - File is being used

Users to our production site is occasionally receive this error and we can't seem to figure out why. If the user gets this error, they can refresh the page and it works. Any ideas? Could not load file or assembly 'Microsoft.ReportViewer.Common' or one of its dependencies. The process cannot access [...] read more
c#
asp.net
iis
1vote
2answers

Could not load file or assembly 'xxx.Data' The process cannot access the file because it is being used by another process

I have this error since today in a project which I have worked for months and has always worked. I tried cleaning the solution and rebuild, and building works perfect. I tried restarting VS and the PC and nothing works. So the problem is not in code > Could not [...] read more
c#
asp.net
.net
visual-studio-2015
1vote
0answers

Windows Phone 8.1 - Receive files with OBEX

i have successfully implemented a library for sending files over Bluetooth via Obex Object Push Profile on Windows Phone 8.1 app (C#). Anyway, I need to implement also the opposite direction (receive files via OPP) but I'm not able to find a way to override the already existing OPP system [...] read more
c#
windows-phone-8
bluetooth
windows-phone-8.1
obex
1vote
0answers

Could not load file or assembly "". The process cannot access the file because it is being used by another process

I have a web project in ASP.NET and I want to upload this project to FTP with Filezilla. First I'm publishing this project in Visual Studio 2013. After deploying with Filezilla. But I'm getting this error every time. So, these are that I'm getting from Chrome: Server Error in '/emre.solugan' [...] read more
c#
asp.net
ftp
filezilla
1vote
0answers

Error Extracting Public Key from .snk

My project has started regularly exhibiting this error; Error Error extracting public key from file 'FishTracker.snk': The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) FishTracker C:\Users\dom\Documents\Visual Studio 2015\Projects\FishTracker\FishTracker\vbc Has anyone else experienced a similar error and can shed some light [...] read more
vb.net
visual-studio-2015
1vote
0answers

System.TypeInitializationException: The type initializer for 'OpcLabs.EasyOpc.DataAccess.EasyDAClient' threw an exception

I had used OPC Web client 3.02 in my applications. Generally, I had started 5 to 6 applications on system startup. Everything works fine without any problem. Now I am upgrading my applications to Quick OPC Classic 5.12.1308.1 If I start all the 6 applications on system startup (that is [...] read more
vb.net
.net-assembly
plc
opc
1vote
1answer

Error when deploying web project with msbuild via Teamcity (msdeploypublish)

I have this standard msbuild deployment method on a vsproject in a build config in Teamcity /P:DeployIisAppPath=%env.IISSiteName% /P:Configuration=%env.configuration% /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=https://%env.TargetServer%/MsDeploy.axd /P:AllowUntrustedCertificate=True /P:MSDeployPublishMethod=Wmsvc /P:CreatePackageOnPublish=True /P:UserName=%env.domainUser% /P:Password=%env.domainPassword% This occationally fails when the destination server is a bit busy (used by another process error): [VSMSDeploy] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4377, 5): Web deployment task [...] read more
msbuild
teamcity
msdeploy
webdeploy
1vote
2answers

How to ignore "The process cannot access the file because it is being used by another proces"

The setup is this: Whenever an error occurs on my website, an error-site is being displayed while an e-mail is being sent to the administrator. The website show a lot of live statistics automaticly updated every 15 second via AJAX and XML. But the statistics are only calculated once every [...] read more
xml
sql-server-2008
asp-classic
1vote
1answer

bug in aspnet_compiler?

I have a solution with several web projects. I have built each project into its own folder (there's about 10 projects): /build/projA /build/projB /build/projC If I call aspnet_compiler -v / -p \"build/#{proj}\" merged/#{proj} on each one in turn, everything is fine. If I make all 10 calls to aspnet_compiler in [...] read more
aspnet-compiler
1vote
0answers

Enterpriselibrary : The process cannot access the file because it is being used by another process

I have 10 .net consoles starting up on the same time in the same folder. All 10 processes starts by writing startup info (via EnterpriseLibrary) to 10 different log files. The EnterpriseLibrary dll's are released next to the console .exe Sometimes I get this Exception, when i call Write. The [...] read more
c#
logging
0votes
1answer

Can't access Internet in Safe Mode (Windows XP SP3)

I am receiving the error 0x80070020 when accessing Windows Update. One of the solutions is to reboot in Safe Mode with networking support. When I do this, my USB wireless broadband connection software will not connect to the Internet - the USB modem does not detect the wireless network. Any [...] read more
windows-xp
windows-update
safe-mode
0votes
1answer

Server Backup reports incomplete backup [0x80070020] due to item in System Volume Information Folder

My Windows Server 2012 R2 Essentials server has started throwing the same error each time during daily backups, each backup has this error in the failed items backup log: > Error in backup of E:\System Volume Information\SRM\quota.md during write: Error [0x80070020] The process cannot access the file because it is [...] read more
windows
backup
filesystems
windows-server-2012-r2
0votes
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
0votes
1answer

Running IIS8 local server not working

I have a windows 7 laptop and I want to set up IIS8, php, mysql to run in a development environment, but I am having trouble. I opened IIS8, and when I click on my site "Default website" and click start, it gives an error saying "The process cannot access [...] read more
windows-7
iis-8
0votes
2answers

I enabled IIS on Windows 7 but it's not working

I followed Windows instructions, and turned on several parts of IIS. But http://localhost isn't working, and I don't see the IIS entry in Administrative Tools either. I only want to use SSI, not ASP(.net) or FTP. What should I check and why isn't it working? It didn't ask me to [...] read more
iis
windows-7
server-side-includes
0votes
2answers

ssl certificate should be added in more than one web site in IIS 7.0

I have purchased one SSL certificate which should run on domain and subdomain. E.g. *.example.com. I want this SSL certificate to run in domain website and subdomain website. I have two different Website in IIS 7.0 1. example.com 2. xyz.example.com Currently the SSL certificate is assigned to xyz.example.com and it [...] read more
iis-7
ssl
0votes
2answers

Remove reference of a DLL - IIS

Good night. I am having an annoying problem with a DLL. Well, i needed to make a test with two different versions of a DLL on an application on IIS. I renamed the original dll Primavera.ERPOnline.Bso.Proxy.dll to _Primavera.ERPOnline.Bso.Proxy.dll, and copy the new version to the folder. After all the tests [...] read more
iis
dll
0votes
2answers

IIS Issues - Unable to start debugging on the web server. The underlying connection was closed. The connection was closed unexpectedly

All of the sudden I'm getting the following error on my local web server (Win7 64bit, IIS 7.5). I've uninstalled & reinstalled IIS locally and it didn't fix it. IIS is set to start up automatically and I can see that the service has been successfully started. Upon a fresh [...] read more
iis
0votes
3answers

Unable to launch IIS Express Web server

Everytime I try to debug my asp.net website I get this error: > Unable to launch the IIS Express Web server. Failed to register URL "http://localhost:50010/" for site "SociopackWebAPI" application "/". Error description: The process cannot access the file because it is being used by another process. (0x80070020) In eventviewer [...] read more
asp.net
iis
0votes
0answers

How to replicate Azure Service Fabric Clusters

I am looking for a best practice guide with some instructions, preferrably PowerShell, for copying a Service Fabric cluster application to another cluster replication. The backup restore functionality is still not pushed as a release for Service Fabric Production clusters, and I'm looking for alternatives. I am able to automate [...] read more
powershell
azure-service-fabric
azure-powershell
service-fabric-stateful
service-fabric-stateless
0votes
2answers

How to covnert Hex to Dec int32 and vice versa in PHP?

Can someone suggest a best way to convert hex to dec and vice versa in PHP (equivalent to the PowerShell commands below)? $hex = "0x80070020" $hex2dec = [Convert]::ToInt32($hex,16) write-host $hex2dec #output: -2147024864 $dec = "-2147024864" $dec2hex = "0x{0:X}" -f [Int]$hex write-host $dec2hex #output: 0x80070020 I tried following approach in PHP. [...] read more
php
0votes
0answers

Azure App Service - Slot swapping files get locked

The erorr occurs when there is an acctive traffic to the service 1. Deploy o staging 2. Swap slot with prod 3. application return 502 logs shows > Microsoft.AspNetCore.DataProtection.Abstractions, Version=1.1.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The process cannot access the file because it is being used by another [...] read more
azure
azure-web-app-service
0votes
2answers

wpf localization - locbaml - file is being used by another process

I have been looking hours for a solution, but I donĀ“t find it. I want to generate a satellite assembly with following command. locbaml.exe /generate de/App.UI.resources.dll /trans:MeineRess_de.csv /out:de /cul:de After executing I get following error: The process cannot access the file because it is being used by another process. (Exception [...] read more
wpf
localization
locbaml
0votes
1answer

Error in installing SSMS

when I try to install Microsoft SQL server management studio I get this error message: "the process cannot access the file because it is being used by another process:0x80070020" How to overcome? read more
sql-server
ssms
sql-server-2016
0votes
1answer

Azure Deployment: Could not load file or assembly or one of its dependencies. The process cannot access the file because it is being used

I deployed my multi-tier application to azure. It was working perfectly, but now when I try to deploying it, it shows an error saying: Could not load file or assembly 'MySomething.dll' or one of its dependencies. The process cannot access the file because it is being used by another process. [...] read more
asp.net
azure
iis
azure-web-sites
0votes
1answer

Open locked file with OpenXML in read only mode

When I try to open a file that is locked, like this: using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Spreadsheet; ... code stripped for clarity ... // false stands for read only mode spreadsheetDocument_ = SpreadsheetDocument.Open(fileName_, false); I get this exception: System.IO.IOException: 'The process cannot access the file 'file.xlsx' because it is [...] read more
c#
.net
openxml
0votes
1answer

File in use Error service Fabric

I have a really annoying issue with service fabric where I am now getting a file in use error This makes no sense because I have reset the cluster, rebooted, etc and nothing works The problem is that the message is useless 12>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command [...] read more
c#
azure-service-fabric
service-fabric-stateful
0votes
0answers

WiX uninstall assembly from GAC when file in use

Using WiX 3.11 I've developed a simple installation file which installs one DLL in the global assembly cache: <Directory Id="TARGETDIR" Name="SourceDir"> <Component Id="CMP_ABC" Guid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" Permanent="no" Shared="yes" > <File Id="File_ABC" Assembly=".net" Source="ABC.dll" KeyPath="yes" Vital="yes"/> </Component> </Directory> Installation works and the file is placed in the GAC_32 folder. When trying to uninstall [...] read more
dll
wix
gac
0votes
1answer

IIS Manager Error - Unable to bind to the underlying transport for [::]:80.The process cannot access the file because

I know that this question has been asked in multiple forums and have several versions of the answers.. Unfortunately, none of those answers helped me out to resolve my issue. I stood up an AWS EC2 instance of Windows Server 2016 and installed IIS, MSMQ, Windows Process Activation Service and [...] read more
iis
port80
0votes
0answers

0x80070020 error in Visual Studio 2017

I am facing this problem every time I run the project. The diagnosis hub console keeps on popping this message up: Failed to commit package 'C:\Users\****\AppData\Local\Temp\Report.ABF0E3A6-3DC5-4A16-92B9-F66196D76AF2' (0x80070020). Please check that the collector has access to the destination location. How can I fix this? read more
c++
0votes
1answer

Error on DeleteAsync fileStorage in windows fall creation update

With the upgrade to windows fall creation my application has a problem, when a file is deleted, it gives me an exception: > System.IO.FileLoadException: 'The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)' The file is first copied to my directory [...] read more
windows
uwp
windows-10
0votes
1answer

Hyper-v Export-VM : Provider load failure error in 2012r2

I'm using powershell 4 to export all the VMs in hyper-V and move it to a backup server(nas unix). Export was successful for few VMs and after a while it fails with the following errors: > Export-VM : Provider load failure At C:\scripts\test.ps1:37 char:5 * Export-VM -Name $vmname -Path $ExportPath [...] read more
powershell
windows-server-2012-r2
powershell-v4.0
hyper-v
windows-server-2016
0votes
1answer

Deployment and/or registration failed with error: 0x80070020

When trying to deploy onto a touchscreen phone, I get an error: > Deployment and/or registration failed with error: 0x80070020. How do I resolve this? read more
vb.net
deployment
windows-phone
0votes
0answers

Cannot install SQL Server management on Windows Server 2008R2

Trying to install ssms (tried version 2012, 2014 and 2016) on Windows server 2008 R2 with both SQL server 2008 and SQL server 2012 installed on it (using remote desktop). But get following errors: 1. Error on installing ssms 2016 : The process cannot access the file because it is [...] read more
sql-server
sql-server-2008
sql-server-2012
ssms
0votes
1answer

Could not load file or assembly 'AMS' or one of its dependencies

I can't seem to find this issue anywhere, probably because it is so generic. I created an empty asp.net web application in visual studio 2017 community edition. The application is named AMS. When I debug, I get the following error: Could not load file or assembly 'AMS' or one of [...] read more
asp.net
vb.net
web-applications
visual-studio-2017
0votes
0answers

Issue launching IIS Express

I have an issue running IIS express in Visual Studio 2012 and 2015. This is the issue I've been getting: Unable to launch the IIS Express Web server. Failed to register URL "http://localhost:55920/" for site "SITE NAME" application "/". Error description: The process cannot access the file because it is [...] read more
iis
visual-studio-2012
visual-studio-2015
iis-express
0votes
1answer

ApplicationData.ClearAsync() doesn't work in Windows 8.1 Universal App

I'm trying to clear the application data when user logout of the application & I found ApplicationData.ClearAsync() which fits my requirement which is similar to IsolatedStorageSettings.ApplicationSettings.Clear() but it gives me an below error An exception of type 'System.IO.FileLoadException' occurred in mscorlib.ni.dll but was not handled in user code Additional information: [...] read more
c#-4.0
windows-runtime
win-universal-app
winrt-async
0votes
1answer

Unable to launch the IIS Express Web Server - Dual instances?

[.NET MVC, VS 2013, Windows 10] Error: Unable to launch the IIS Express Web Server. Failed to Register URL "http://localhost:61493/" for site "SiteName(1)" application "/". The process cannot access the file becuase it is already being used by another process. (0x80070020) There are some other SO Questions about this, but [...] read more
asp.net
iis
visual-studio-2013
windows-10
0votes
0answers

MS SQL Server SSIS. Could not load file or assembly 'System.Data.dll' or one of its dependencies

We have an SSIS package hosted in server1. A job in Server 2 is running the SSIS package and load/transform data in Server2. But recently we are receiving the error below: > Executed as user: user1. Microsoft (R) SQL Server Execute Package Utility Version 11.0.6020.0 for 64-bit Copyright (C) Microsoft [...] read more
sql-server
ssis
sql-server-2012
0votes
1answer

EF Downgraded: Could not load file or assembly 'EntityFramework' or one of its dependencies

I have been getting the error below and for heavens sake I cannot figure out why. I have not made any changes except for upgrading to windows 10. I have downgraded my EF and upgraded to make sure I have the same version but that did not resolve. I have [...] read more
c#
.net
asp.net-mvc
entity-framework
0votes
3answers

Could not load file or assembly or one of its dependencies

Could not load file or assembly 'Microsoft.Owin.Security.OAuth' or one of its dependencies. The process can not access the file because the file is in use by another process. (Exception from HRESULT: 0x80070020) I can't understand the reason of error read more
c#
asp.net
asp.net-mvc
0votes
4answers

Start IIS "process cannot access the file" Exception from HRESULT: 0x80070020)

When I try to start the IIS I got: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) Even after reboot it wasn't working read more
iis
iis-10
0votes
1answer

Asp.net site could not load file or assembly

I know that it is a common problem but I really have tried all the solutions and nothing helped me so far. I am developing a .net site for more than two month... Yesterday I have faced with this error: > 'Could not load file or assembly 'myDllName' or one [...] read more
asp.net
.net
0votes
1answer

Visual Studio 2015 Community Edition, Windows 10 and IIS

I have been having a hard time getting Visual Studio 2015 CE and IIS express to run on my windows 10 machine. Even when I make a default MVC5 web application and attempt to run it without making any changes I usually see the error below. > Configuration Error Description: [...] read more
asp.net
iis
asp.net-mvc-5
visual-studio-2015
windows-10
0votes
1answer

Nunit test can't load file from secondary library project

I am trying to get nunit tests going in a separate test project. The tests work just fine when included in the same project, but when I create the same test in a separate project, they fail. However, when I create a third consumer project in the solution, that project [...] read more
c#
nunit
.net-4.5
0votes
0answers

Could not load file or assembly <project> or one of its dependencies. Used by another process

Could not load file or assembly 'Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) Hi, i get this error when trying to "enable-migrations" on my infrastructure project which contains the EntityFramework [...] read more
c#
asp.net
entity-framework
visual-studio-2015
package-managers
0votes
0answers

sideloaded windows 8 app crashing on Windows 8.1 and not installing on Windows 10

I am sideloading a dev package on windows 8.1 and on Windows 10. On Windows 8.1 The app crashes as soon as it launches > Faulting application name: XXXX.exe, version: 1.0.0.0, time stamp: 0x54bd196d Faulting module name: twinapi.appcore.dll, version: 6.4.9879.0, time stamp: 0x54585458 Exception code: 0xc000027b Fault offset: 0x0000000000042bff Faulting [...] read more
windows-8.1
sideloading
windows-10
0votes
1answer

Windows 8.1 app - The process cannot access the file because it is being used by another process

I am developing a windows 8.1 app for the first time and running it (debugging mode) within visual studio 2013 as I develop. I have a main .xaml page with a frame containing my menu (listview) and another frame containing the page that user has selected at that moment. When [...] read more
c#
windows-store-apps
windows-8.1
0votes
1answer

How can I show custom page when publishing my web site?

We all know when we want to upload new dll files and upgrade our web application, web get this error when opening the website: > Server Error in '/' Application. Could not load file or assembly '****' or one of its dependencies. The process cannot access the file because it [...] read more
c#
asp.net
0votes
2answers

WCF + Website. File is being used by another process

I'm getting this error: Could not load file or assembly 'EntityFramework' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020) (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config line 111) The problem is that this works locally, but when I publish it at [...] read more
asp.net
wcf
iis
web
0votes
1answer

VS2010 Web Deploy only leave extra files with specific extension

I'm deploying my ASP.NET-MVC3 application to an IIS7 server. Publishing to web works fine if I check "Leave extra files on destination (do not delete)". If the checkbox is not checked, it usually fails with this error: > Error 65 Web deployment task failed.((2013.07.10. 17:06:09) An error occurred when the [...] read more
visual-studio-2010
asp.net-mvc-3
iis-7
webdeploy
0votes
2answers

SelfSSL7 custom CN with a local development domain

I have my site mydomain.local on my local development machine, which uses a local hosts file entry to point to 127.0.0.1. The directory is my working git copy and it works like a charm. It always points to whatever I have checked out. I want to setup SSL but of [...] read more
ssl
iis-7.5
ssl-certificate
self-signed
0votes
1answer

HttpParseException with Telerik.Web.UI after production deploy

Posted 0 minutes ago (permalink) We did a deploy this morning, and one of four servers was unresponsive, with this exception: Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1310 Date: 6/29/2012 Time: 6:53:12 AM User: N/A Computer: [REMOVED] Description: Event code: 3006 Event message: [...] read more
asp.net
exception
telerik
production-environment
sitefinity
0votes
1answer

"The process cannot access ..." when using MSBuild

I am so close to getting my TeamCity setup complete, but am stumped by this error: (12/22/2011 2:30:15 PM) An error occurred when the request was processed on the remote computer. An error was encountered when processing 'Web.zip'. The error code was 0x80070020. The process cannot access 'C:\Inetpub\wwwroot\Deneb\Website\obj\Deploy\Package\Web.zip' because it [...] read more
visual-studio
visual-studio-2010
deployment
teamcity
msdeploy
0votes
1answer

Web Deploy Error with Azure

I'm trying to deploy my web app to Azure using this method, but periodically, i get this error. Any ideas? I rebooted the instance, still happens. Start Web Deploy Publish the Application/package to https://xxx.cloudapp.net:8172/MsDeploy.axd?site=myapp.Web_IN_0_myapp.Web ... Updating setAcl (myapp.Web_IN_0_myapp.Web). Updating setAcl (myapp.Web_IN_0_myapp.Web). Updating filePath (myapp.Web_IN_0_myapp.Web\bin\myapp.Web.dll). C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : An [...] read more
azure
webdeploy
0votes
0answers

FileLoadException when loading references

I'm using Spring.Net to dynamic load my object graph. 10 .exe consoles will start on the same time and via Spring.Net they will instantiate the same libraries. The consoles have no references to the libraries. 1 out of 10 times I get an Exception when Spring.Net (using reflection) creates the [...] read more
c#
spring.net
fileloadexception
0votes
1answer

WebDeploy with MSdeploy.exe fails to sync GAC Assembly because dll(s) locked by another process

I'm having this problem using msdeploy to sync GAC assembly to many Application Servers. When I run this command msdeploy -verb:sync -source:gacAssembly="'MyAssembly'" -dest:gacAssembly,computername=DESTINATIONSERVER I obtain this error: *Microsoft.Web.Deployment.DeploymentException: (28/09/2010 16.46.37) An error occurred when the request was processed on the remote computer. ---> Microsoft.Web.Deployment.DeploymentClientServerException: An error was encountered when processing [...] read more
gac
msdeploy
webdeploy
iisreset
-1votes
1answer

regex to match any combination of text of indeterminate length

A Windows SyncToy logfile contains several thousand lines of the form: xxx ... C:\zzz. xxx ... and xxx ... zzz\. xxx ... where xxx can be a string including any printable character including spaces and/or whitespace and zzz can be a string including any printable character including spaces, backslashes, numerics, [...] read more
linux
regex
grep
sed
awk
-1votes
2answers

DISM command error. Failing to Apply Drivers during SCCM OSD

I am using a SCCM 2012 task sequence to deploy Windows 7 for Dell Precision T5810. Using the "Apply Driver" step in WinPE (64bit): with WMI filtering for model filtering to install a driver package. Currently failing to apply drivers - I'm not sure where to go from the DISM [...] read more
deployment
dism
sccm
-1votes
1answer

How to fix System.IO Exception in C#. Attempting to collate multiple CSV files into 1 file

I keep getting the following exception: > System.IO.IOException HResult=0x80070020 Message=The process cannot access the file 'C:\DIPV3\result.csv' because it is being used by another process. Is there a better way to attempt this solution using a combination of Streams or Linq? The code below writes the file partially but then throws [...] read more
c#
linq
file-io
-1votes
2answers

C# System.IO.IOException occurred HResult=0x80070020

New issue with my code, worked 100% last night. This morning it's giving me issues. (nothing changed) When I run my code to send a file to Gmail, I get a > System.IO.IOException occurred HResult=0x80070020 But when I comment out the sending of the email ( see code) it works [...] read more
c#
file
gmail
-2votes
1answer

Windows IIS8 not starting website

I have a windows 7 laptop and I want to set up IIS8, php, mysql to run in a development environment, but I am having trouble. I opened IIS8, and when I click on my site "Default website" and click start, it gives an error saying "The process cannot access [...] read more
php
mysql
iis
windows-7

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