473,396 Members | 1,929 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,396 software developers and data experts.

Server.Execute locks dll

Hello!

I have a strange problem:
The aspx File for articles is saved in the root Folder of my asp.net
application -> artikel.aspx
It's like a template and in this page I use a Server.Execute to
another file called fotogallery.aspx which is saved in the subfolder
contentBlocks.

This two pages are hosted in different projects, so I get two
different dll's. artikel.aspx can find the assembly of the fotogallery
because I'm using the probing element in the web.config:

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="contentBlocks\bin" />
</assemblyBinding>
</runtime>

Here is the strange part and I can't find any solution in the web.
When IIS is restarted and I compile the project for the fotogallery
for the first time everything works fine, BUT when I call the
fotogallery via the Server.Execute in the artikel.aspx with a browser
(URL: artikel.aspx?where=fotogallery) I cant' compile the fotogallery
project any more! There is a file lock and I can't delete the dll.

I tried different suggestions which I found with google, like:
- closing Visual Studio
- delete the dll by hand (does not work because there's the file lock)
- http://support.microsoft.com/default...b;en-us;319991

The error message I get (sorry, it's in German):
Die Datei "bin\contentBlocks.dll" konnte nicht in das
Ausführungsverzeichnis kopiert werden. Der Prozess kann nicht auf die
Datei zugreifen, da sie von einem anderen Prozess verwendet wird.

Do you have any tips?

Thank you,
Karl Bauer
Nov 18 '05 #1
0 1193

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

Similar topics

4
by: Prince Kumar | last post by:
I joined a company recently and they have a java program which hangs (does nothing) after a while. This is no way consistent. It could succeed quite a few times and can fail a few other times....
12
by: Mike MacSween | last post by:
Has anybody seen one? Or care to offer (a brief) one? Yes, I've done some searching of the archives. Anybody who's read my posts over the past couple of years (and there must be at least one or two...
0
by: Karl Bauer | last post by:
Hello! I have a strange problem: The aspx File for articles is saved in the root Folder of my asp.net application -> artikel.aspx It's like a template and in this page I use a Server.Execute to...
9
by: John | last post by:
I have a single server running SQL Server 2000 sp3a, and acting as a ASP.NET webserver (.net 1.1 sp1). W2k sp4. Dual Xeon processor, 2 gigs RAM. Everything works fine, but sometimes when I...
2
by: Chuck Haeberle | last post by:
We have a page which sends a copy of itself via email to customers. To enable this, the page calls Server.Execute on itself into a text stream and strips its own output down to HTML presentable to...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
6
by: jsacrey | last post by:
Hello everybody, I've got a bit of a situation that I could use some guidance with if possible. I work for an auditing firm where my users audit electronic shipping data for customers to see if...
7
by: Roger | last post by:
This is the vba code Set db = CurrentDb On error goto fErr …. loop strSql = "UPDATE tblInvAnalysisWhse" & _ " SET ltDeviation = " & Sqr(dblError / intPeriods) & _ " WHERE item = '" &...
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
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.