473,394 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

aspnet_compile - why this bug?

Hi;

I am building using MSBuild and the <MSBuild ... /task and getting the
following:
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly
'Apache.Xml.Co
mmons, Version=1.0.2.1, Culture=neutral, PublicKeyToken=bd3736a929f259c3' or
one
of its dependencies. The process cannot access the file because it is being
use
d by another process. (Exception from HRESULT: 0x80070020)
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly
'Apache.Xml.Co
mmons, Version=1.0.2.1, Culture=neutral, PublicKeyToken=bd3736a929f259c3' or
one
of its dependencies. The process cannot access the file because it is being
use
d by another process. (Exception from HRESULT: 0x80070020)

I uses WhoLockMe to check the file - it's not locked. And I exited VS2005.
Any idea what is going on?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Dec 4 '06 #1
2 2248
Hello Dave,

From your description here, you're using MSBUILD to build a certain
solution which contains an ASP.NET web project. However, it report an
exception indicating that one assembly

'Apache.Xml.Commons, Version=1.0.2.1, Culture=neutral,
PublicKeyToken=bd3736a929f259c3'

is locked. I think this should be an specific issue. Would you provide some
further information about how this assembly is used in your solution? I
assume that this is an component assembly which is referenced in multiple
projects in the solution, correct?

Please feel free to let me know if there is anything else I missed.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 5 '06 #2
Hello Dave,

I have found your new thread in the following group:

Subject: build error - locked file
Newsgroups: microsoft.public.dotnet.framework.aspnet

Many community members have postes some suggestion there. I will also
continue to monitor in that thread. Please feel free to followup there.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bogdan Nedelcu | last post by:
Hello, I have a asp.net project with some aspx and a lot of ascx. The IIS memory grows as it compile each item. I saw in the temporary files that for each aspx, ascx there are arount 4 files...
6
by: reez | last post by:
Hi All Ok two questions for ya... 1. I am assuming that websites cannot be compiled into dll's...why would i want to do that? Basically i have a master file that i want to share with other...
7
by: teliot | last post by:
I'm just starting to use VWD Express. Supposedly, if I use a separate file (code behind) for my web forms, it should build them into a DLL into the Bin folder. However, no bin folder was...
3
by: Jim McGivney | last post by:
I am a ASP.net 2.0 NewBee I have a simple website I developed in Web Developer Express. I test it with CTRL-F5 and it works. I have found out that I can not Web Copy it to my hosted web site. I...
2
by: nospam | last post by:
Hi Newbie asp questions: I have problems running new website when its uploaded. It compiles nicely when running on my local machine, but when compiling on the server i get the error:
1
by: _thedebugger | last post by:
Dear Friends, We are developing one wbesite in visual studio 2005 and sql server 2000. now my question is I want to seperate some modules on the website. Like 1. there will be few...
3
by: David Thielen | last post by:
Hi; In my ASP.NET solution I have the website and I have a project that is a library with most of the code. The dll it builds gets copied over in to the portal bin directory when I do a build in...
3
by: NW Technicals | last post by:
Hello Folks, Sorry for a begineer question I have developed a ASP.NET 2.0 applicaiton. Now I need to deploy this. But I would like to compile and give rather than giving ASP pages so that my code...
1
by: Jason Huang | last post by:
Hi, I tested my ASPNet web application and then found it takes a long time to start at the first time. So I surfed the web and found using aspnet_compile method. When I execute the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.