Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Error message when an ASP.NET application tries to create a new application domain: "Can not access file 'System.Web' because it is being used by another process"
Consider the following scenario. You create a Microsoft
ASP.NET application. The application tries to create a new application domain.
In this scenario, you may receive the following configuration error message in
the Web browser:
Configuration Error
Description: An error occurred during the processing of a
configuration file required to service this request. Please review the specific
error details below and modify your configuration file appropriately.
Parser Error Message: Can not access file 'System.Web' because it is
being used by another process.
Notes- In this error message, the words "can not" are a misspelling for the word "cannot."
- This problem is more likely to occur when the Web server is under
a heavy load.
This problem occurs when a process modifies the
Machine.config file at the same time that the System.web.dll file tries to
access the Machine.config file. This causes a file sharing violation.
Note The error message that is mentioned in the "Symptoms" section
indicates that the System.web.dll file cannot be accessed. However, the problem
is that the Machine.config file cannot be accessed by
the System.web.dll file.
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
Article ID: 919079 - Last Review: July 6, 2006 - Revision: 1.3
APPLIES TO
- Microsoft ASP.NET 1.0
- Microsoft ASP.NET 1.1
- Microsoft ASP.NET 2.0
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate