Microsoft Knowledge Base Email Alertz

KBAlertz.com: 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

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 2.0 Web Hosting with SQL 2005: Click Here!
Discount ASP.NET Hosting


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com




Mentioned In








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"

Article ID:919079
Last Review:July 6, 2006
Revision:1.1

SYMPTOMS

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.

Back to the top

CAUSE

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.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Back to the top


APPLIES TO
Microsoft ASP.NET 1.0
Microsoft ASP.NET 1.1
Microsoft ASP.NET 2.0

Back to the top

Keywords: 
kbtshoot kbprb KB919079

Back to the top

       

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

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please