z
Tue Nov 23 08:49:27 CST 2004
This is a multi-part message in MIME format.
------=_NextPart_000_06A0_01C4D17C.65237930
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
i don't use the GAC, but in order to solve the problem of DLL copies all =
around i use a codebase hint in the web.config of my web application. in =
order to do this i assign a strong name to the DLL and a fix version =
number.
should this cause any problem with locking the DLL differently from the =
default way?
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message =
news:42i6q091j66ksfbqkpqrejn3h11o85npri@4ax.com...
I'm assuming your not using the GAC, right?
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 23 Nov 2004 15:18:41 +0200, "z. f."
<zigi@info-scopeREMSPAM.co.il> wrote:
>i'm sorry to tell you that your response is not accurate.
>first the IIS is not locking my aspnet DLL. i can replace it any time =
even if a minute ago i run a page that is using this DLL.
>the IIS is locking a regular VB.NET DLL that is referenced and used =
by my aspnet DLL.
>lets say i have a vb.net web application called mywebapp and is =
compiled to mywebapp.dll
>and mywebapp is using a dll that is written as a class library =
project and is called util.dll
>all projects are located on a development server (win2003) called =
devserver.
>
>i use my browser to tun
http://devserver/mywebapp/homepage.aspx
>homepage.aspx codebehind is compiled into the mywebapp.dll and is =
using util.dll
>if i make changes to util.dll project and want to compile it now, the =
dll is in use and can't be build again.
>if i make changes to my homepage.aspx codebehind and compile it to =
mywebapp.dll - there is no problem.
>this behavior is unaccepted and it is urgent for me to solve this.
>
>
>
>
>"wl" <nospam@nospam> wrote in message =
news:OYWBjDV0EHA.2688@TK2MSFTNGP09.phx.gbl...
> I assume you mean that the codebehind ASP.NET DLL is in use after =
the first time the DLL is triggered by requested the corresponding page =
from the IIS server ?
> For performance reasons (amongst others), an ASP.NET DLL gets =
loaded the first time it is needed and it stays loaded.
>
> You can unload (or change the way the loading is done) by using the =
"Internet Information Services" applet ("Application Protection" and =
"Unload")
>
> Wim
>
>
> "z. f." <zigi@info-scopeREMSPAM.co.il> wrote in message =
news:utsg31T0EHA.1524@TK2MSFTNGP09.phx.gbl...
> Hi,=20
>
> i have an ASP.NET project that is using a (Class Library Project) =
VB.NET DLL.
> for some reason after running some pages on the web server, and =
trying to compile the Class Library DLL, it can't compile because the =
DLL is in use (and the PDB too), and the w3wp.exe process is the process =
locking the DLL (as viewed with Sysinternals - Process Explorer).
> this is a huge problem. i need to do IIS reset in order to free =
the DLL!
>
> 1. why is the w3wp.exe process is locking a class library dll and =
not locking the asp.net DLL?
> 2. what will be in production environment, if i have to stop the =
web server in order to replace the DLL, it is unacceptable.
> 3. with asp-dot-net DLLs i only have to replace the DLL and the =
web server is updated. now with shared Class Library project I should =
have more problems?
>
>
> please help it's urgent.
>
> TIA, z.
------=_NextPart_000_06A0_01C4D17C.65237930
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.3790.218" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>i don't use the GAC, but in order to =
solve the=20
problem of DLL copies all around i use a codebase hint in the web.config =
of my=20
web application. in order to do this i assign a strong name to the DLL =
and a fix=20
version number.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>should this cause any problem with =
locking the DLL=20
differently from the default way?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Scott Allen" <<A=20
=
href=3D"mailto:bitmask@[nospam].fred.net">bitmask@[nospam].fred.net</A>&g=
t;=20
wrote in message <A=20
=
href=3D"news:42i6q091j66ksfbqkpqrejn3h11o85npri@4ax.com">news:42i6q091j66=
ksfbqkpqrejn3h11o85npri@4ax.com</A>...</DIV><BR>I'm=20
assuming your not using the GAC, right?<BR><BR>--<BR>Scott<BR><A=20
=
href=3D"
http://www.OdeToCode.com/blogs/scott/">http://www.OdeToCode.com/b=
logs/scott/</A><BR><BR>On=20
Tue, 23 Nov 2004 15:18:41 +0200, "z. f."<BR><<A=20
=
href=3D"mailto:zigi@info-scopeREMSPAM.co.il">zigi@info-scopeREMSPAM.co.il=
</A>>=20
wrote:<BR><BR>>i'm sorry to tell you that your response is not=20
accurate.<BR>>first the IIS is not locking my aspnet DLL. i can =
replace it=20
any time even if a minute ago i run a page that is using this =
DLL.<BR>>the=20
IIS is locking a regular VB.NET DLL that is referenced and used by my =
aspnet=20
DLL.<BR>>lets say i have a vb.net web application called mywebapp =
and is=20
compiled to mywebapp.dll<BR>>and mywebapp is using a dll that is =
written as=20
a class library project and is called util.dll<BR>>all projects are =
located=20
on a development server (win2003) called devserver.<BR>><BR>>i =
use my=20
browser to tun <A=20
=
href=3D"
http://devserver/mywebapp/homepage.aspx">http://devserver/mywebap=
p/homepage.aspx</A><BR>>homepage.aspx=20
codebehind is compiled into the mywebapp.dll and is using =
util.dll<BR>>if i=20
make changes to util.dll project and want to compile it now, the dll =
is in use=20
and can't be build again.<BR>>if i make changes to my homepage.aspx =
codebehind and compile it to mywebapp.dll - there is no =
problem.<BR>>this=20
behavior is unaccepted and it is urgent for me to solve=20
this.<BR>><BR>><BR>><BR>><BR>>"wl" <<A=20
href=3D"mailto:nospam@nospam">nospam@nospam</A>> wrote in message =
<A=20
=
href=3D"news:OYWBjDV0EHA.2688@TK2MSFTNGP09.phx.gbl">news:OYWBjDV0EHA.2688=
@TK2MSFTNGP09.phx.gbl</A>...<BR>> =20
I assume you mean that the codebehind ASP.NET DLL is in use after the =
first=20
time the DLL is triggered by requested the corresponding page from the =
IIS=20
server ?<BR>> For performance reasons (amongst others), an =
ASP.NET=20
DLL gets loaded the first time it is needed and it stays=20
loaded.<BR>><BR>> You can unload (or change the way the =
loading is=20
done) by using the "Internet Information Services" applet =
("Application=20
Protection" and "Unload")<BR>><BR>> =20
Wim<BR>><BR>><BR>> "z. f." <<A=20
=
href=3D"mailto:zigi@info-scopeREMSPAM.co.il">zigi@info-scopeREMSPAM.co.il=
</A>>=20
wrote in message <A=20
=
href=3D"news:utsg31T0EHA.1524@TK2MSFTNGP09.phx.gbl">news:utsg31T0EHA.1524=
@TK2MSFTNGP09.phx.gbl</A>...<BR>> =20
Hi, <BR>><BR>> i have an ASP.NET project that =
is using=20
a (Class Library Project) VB.NET DLL.<BR>> for =
some=20
reason after running some pages on the web server, and trying to =
compile the=20
Class Library DLL, it can't compile because the DLL is in use (and the =
PDB=20
too), and the w3wp.exe process is the process locking the DLL (as =
viewed with=20
Sysinternals - Process Explorer).<BR>> this is a =
huge=20
problem. i need to do IIS reset in order to free the=20
DLL!<BR>><BR>> 1. why is the w3wp.exe process =
is=20
locking a class library dll and not locking the asp.net=20
DLL?<BR>> 2. what will be in production =
environment, if i=20
have to stop the web server in order to replace the DLL, it is=20
unacceptable.<BR>> 3. with asp-dot-net DLLs i =
only have=20
to replace the DLL and the web server is updated. now with shared =
Class=20
Library project I should have more=20
problems?<BR>><BR>><BR>> please help it's=20
urgent.<BR>><BR>> TIA, =
z.<BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_06A0_01C4D17C.65237930--