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

w3wp.exe locking DLL and PDB files.

Hi,

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.

Nov 18 '05 #1
15 6109
wl
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." <zi**@info-scopeREMSPAM.co.il> wrote in message news:ut**************@TK2MSFTNGP09.phx.gbl...
Hi,

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.

Nov 18 '05 #2
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:OY**************@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." <zi**@info-scopeREMSPAM.co.il> wrote in message news:ut**************@TK2MSFTNGP09.phx.gbl...
Hi,

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.

Nov 18 '05 #3

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."
<zi**@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:OY**************@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." <zi**@info-scopeREMSPAM.co.il> wrote in message news:ut**************@TK2MSFTNGP09.phx.gbl...
Hi,

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.


Nov 18 '05 #4
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:42********************************@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."
<zi**@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:OY**************@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." <zi**@info-scopeREMSPAM.co.il> wrote in message news:ut**************@TK2MSFTNGP09.phx.gbl...
Hi,

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.


Nov 18 '05 #5
Ah, yes. I believe ASP.NET will only shadow copy assemblies in the bin
directory. All other assebmlies are loaded into the process from the
original location and would be locked.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 16:49:27 +0200, "z. f."
<zi**@info-scopeREMSPAM.co.il> wrote:
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:42********************************@4ax.com...

I'm assuming your not using the GAC, right?

--
Scott
http://www.OdeToCode.com/blogs/scott/


Nov 18 '05 #6
so if i put it in the GAC will it also be locked?
or is there an attribute in the configuration near the codebase hint to ask the framework to "Shadow" copy the DLL?
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:re********************************@4ax.com...
Ah, yes. I believe ASP.NET will only shadow copy assemblies in the bin
directory. All other assebmlies are loaded into the process from the
original location and would be locked.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 16:49:27 +0200, "z. f."
<zi**@info-scopeREMSPAM.co.il> wrote:
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:42********************************@4ax.com...

I'm assuming your not using the GAC, right?

--
Scott
http://www.OdeToCode.com/blogs/scott/


Nov 18 '05 #7
I have not tried this, but you might be able to modify the
ShadowCopyDirectories property of the appdomain to include your custom
path, ie:

AppDomain.CurrentDomain.SetShadowCopyPath(
AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
";" +
"[CustomPath]"
);
Again, I have not tried this, but let me know if you do or do not get
it working, I might investigate some more this evening.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 17:52:07 +0200, "z. f."
<zi**@info-scopeREMSPAM.co.il> wrote:
so if i put it in the GAC will it also be locked?
or is there an attribute in the configuration near the codebase hint to ask the framework to "Shadow" copy the DLL?


Nov 18 '05 #8
Of course this would have to happen before the web app tries to load
the assembly....

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 11:53:30 -0500, Scott Allen
<bitmask@[nospam].fred.net> wrote:
I have not tried this, but you might be able to modify the
ShadowCopyDirectories property of the appdomain to include your custom
path, ie:

AppDomain.CurrentDomain.SetShadowCopyPath(
AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
";" +
"[CustomPath]"
);
Again, I have not tried this, but let me know if you do or do not get
it working, I might investigate some more this evening.


Nov 18 '05 #9
thanx, you just made my day!

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:jl********************************@4ax.com...
Of course this would have to happen before the web app tries to load
the assembly....

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 11:53:30 -0500, Scott Allen
<bitmask@[nospam].fred.net> wrote:
I have not tried this, but you might be able to modify the
ShadowCopyDirectories property of the appdomain to include your custom
path, ie:

AppDomain.CurrentDomain.SetShadowCopyPath(
AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
";" +
"[CustomPath]"
);
Again, I have not tried this, but let me know if you do or do not get
it working, I might investigate some more this evening.


Nov 18 '05 #10
well,
iti works fine most of the time, but i still sometimes have to recycle the IIS because the DLL is in use, and i just can't figure out where or why it does that.


"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:jl********************************@4ax.com...
Of course this would have to happen before the web app tries to load
the assembly....

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 11:53:30 -0500, Scott Allen
<bitmask@[nospam].fred.net> wrote:
I have not tried this, but you might be able to modify the
ShadowCopyDirectories property of the appdomain to include your custom
path, ie:

AppDomain.CurrentDomain.SetShadowCopyPath(
AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
";" +
"[CustomPath]"
);
Again, I have not tried this, but let me know if you do or do not get
it working, I might investigate some more this evening.


Nov 18 '05 #11
Interesting. Using FileMon
(http://www.sysinternals.com/ntw2k/source/filemon.shtml)
you could see the exact instance when the .dll is touched. Perhaps it
gets loaded before the shadow copy path is set.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 28 Nov 2004 11:40:53 +0200, "z. f."
<zi**@info-scopeREMSPAM.co.il> wrote:
well,
iti works fine most of the time, but i still sometimes have to recycle the IIS because the DLL is in use, and i just can't figure out where or why it does that.


"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:jl********************************@4ax.com...
Of course this would have to happen before the web app tries to load
the assembly....

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 11:53:30 -0500, Scott Allen
<bitmask@[nospam].fred.net> wrote:
>I have not tried this, but you might be able to modify the
>ShadowCopyDirectories property of the appdomain to include your custom
>path, ie:
>
>AppDomain.CurrentDomain.SetShadowCopyPath(
> AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
> ";" +
> "[CustomPath]"
> );
>
>
>Again, I have not tried this, but let me know if you do or do not get
>it working, I might investigate some more this evening.


Nov 18 '05 #12
i think it was because of a copy of the DLL in the other project bin directory. i removed it and now it seems to work fine.

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:r1********************************@4ax.com...
Interesting. Using FileMon
(http://www.sysinternals.com/ntw2k/source/filemon.shtml)
you could see the exact instance when the .dll is touched. Perhaps it
gets loaded before the shadow copy path is set.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 28 Nov 2004 11:40:53 +0200, "z. f."
<zi**@info-scopeREMSPAM.co.il> wrote:
well,
iti works fine most of the time, but i still sometimes have to recycle the IIS because the DLL is in use, and i just can't figure out where or why it does that.


"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:jl********************************@4ax.com...
Of course this would have to happen before the web app tries to load
the assembly....

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 11:53:30 -0500, Scott Allen
<bitmask@[nospam].fred.net> wrote:
>I have not tried this, but you might be able to modify the
>ShadowCopyDirectories property of the appdomain to include your custom
>path, ie:
>
>AppDomain.CurrentDomain.SetShadowCopyPath(
> AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
> ";" +
> "[CustomPath]"
> );
>
>
>Again, I have not tried this, but let me know if you do or do not get
>it working, I might investigate some more this evening.


Nov 18 '05 #13
to add note when i call SetShadowCopyPath in me PageLoad event and in this event there is also a call to a function in the DLL itself, it will not help, the DLL will get loaded to the default location and locked.
in this case i put it in the Page_Init and it works.
probably the framework loads the dll upon entering the method call that uses the DLL and not at the point in the code where it's required.
"z. f." <zi**@info-scopeREMSPAM.co.il> wrote in message news:#I**************@TK2MSFTNGP14.phx.gbl...
i think it was because of a copy of the DLL in the other project bin directory. i removed it and now it seems to work fine.

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:r1********************************@4ax.com...
Interesting. Using FileMon
(http://www.sysinternals.com/ntw2k/source/filemon.shtml)
you could see the exact instance when the .dll is touched. Perhaps it
gets loaded before the shadow copy path is set.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 28 Nov 2004 11:40:53 +0200, "z. f."
<zi**@info-scopeREMSPAM.co.il> wrote:
well,
iti works fine most of the time, but i still sometimes have to recycle the IIS because the DLL is in use, and i just can't figure out where or why it does that.


"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:jl********************************@4ax.com...
Of course this would have to happen before the web app tries to load
the assembly....

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 11:53:30 -0500, Scott Allen
<bitmask@[nospam].fred.net> wrote:
>I have not tried this, but you might be able to modify the
>ShadowCopyDirectories property of the appdomain to include your custom
>path, ie:
>
>AppDomain.CurrentDomain.SetShadowCopyPath(
> AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
> ";" +
> "[CustomPath]"
> );
>
>
>Again, I have not tried this, but let me know if you do or do not get
>it working, I might investigate some more this evening.


Nov 18 '05 #14
one thing that does happend now, is that if the copy of the DLL is loaded and i compile the DLL, sometimes, of-course i can't tell exactly when, the framework does not load the new DLL at all.

i double checked again. there is no copy of the DLL in the bin directory.
i run the page, DLL gets loaded, changes the DLL, re-run the page - it's the same as before.
no indication for change in the external DLL.

process explorer shows a DLL reference in the w3wp.exe for the path:

C:\WINDOWS\microsoft.net\framework\v1.1.4322\tempo rary asp.net files\mall\6f882979\3791053f\assembly\dl2\ca3073b7 \0e196d1a_75d8c401

with time stamp of 7 minutes ago, even though the current DLL in updated to the current time!

what can i do???


"z. f." <zi**@info-scopeREMSPAM.co.il> wrote in message news:ue**************@TK2MSFTNGP10.phx.gbl...
to add note when i call SetShadowCopyPath in me PageLoad event and in this event there is also a call to a function in the DLL itself, it will not help, the DLL will get loaded to the default location and locked.
in this case i put it in the Page_Init and it works.
probably the framework loads the dll upon entering the method call that uses the DLL and not at the point in the code where it's required.
"z. f." <zi**@info-scopeREMSPAM.co.il> wrote in message news:#I**************@TK2MSFTNGP14.phx.gbl...
i think it was because of a copy of the DLL in the other project bin directory. i removed it and now it seems to work fine.

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:r1********************************@4ax.com...
Interesting. Using FileMon
(http://www.sysinternals.com/ntw2k/source/filemon.shtml)
you could see the exact instance when the .dll is touched. Perhaps it
gets loaded before the shadow copy path is set.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 28 Nov 2004 11:40:53 +0200, "z. f."
<zi**@info-scopeREMSPAM.co.il> wrote:
well,
iti works fine most of the time, but i still sometimes have to recycle the IIS because the DLL is in use, and i just can't figure out where or why it does that.


"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:jl********************************@4ax.com...
Of course this would have to happen before the web app tries to load
the assembly....

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 11:53:30 -0500, Scott Allen
<bitmask@[nospam].fred.net> wrote:
>I have not tried this, but you might be able to modify the
>ShadowCopyDirectories property of the appdomain to include your custom
>path, ie:
>
>AppDomain.CurrentDomain.SetShadowCopyPath(
> AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
> ";" +
> "[CustomPath]"
> );
>
>
>Again, I have not tried this, but let me know if you do or do not get
>it working, I might investigate some more this evening.


Nov 18 '05 #15
the funny (or not) thing about it is that if i had a throw new exception ("asdasdas") in the external DLL, and i removed it, i get the exception thrown and the source details doesnot include this line since the udated PDB reflects the updated source, but the compiled DLL not.

anyway, i will open a new post regarding this, because it's urgent to solve and there nothing i can do about it.
"z. f." <zi**@info-scopeREMSPAM.co.il> wrote in message news:#S**************@tk2msftngp13.phx.gbl...
one thing that does happend now, is that if the copy of the DLL is loaded and i compile the DLL, sometimes, of-course i can't tell exactly when, the framework does not load the new DLL at all.

i double checked again. there is no copy of the DLL in the bin directory.
i run the page, DLL gets loaded, changes the DLL, re-run the page - it's the same as before.
no indication for change in the external DLL.

process explorer shows a DLL reference in the w3wp.exe for the path:

C:\WINDOWS\microsoft.net\framework\v1.1.4322\tempo rary asp.net files\mall\6f882979\3791053f\assembly\dl2\ca3073b7 \0e196d1a_75d8c401

with time stamp of 7 minutes ago, even though the current DLL in updated to the current time!

what can i do???


"z. f." <zi**@info-scopeREMSPAM.co.il> wrote in message news:ue**************@TK2MSFTNGP10.phx.gbl...
to add note when i call SetShadowCopyPath in me PageLoad event and in this event there is also a call to a function in the DLL itself, it will not help, the DLL will get loaded to the default location and locked.
in this case i put it in the Page_Init and it works.
probably the framework loads the dll upon entering the method call that uses the DLL and not at the point in the code where it's required.
"z. f." <zi**@info-scopeREMSPAM.co.il> wrote in message news:#I**************@TK2MSFTNGP14.phx.gbl...
i think it was because of a copy of the DLL in the other project bin directory. i removed it and now it seems to work fine.

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:r1********************************@4ax.com...
Interesting. Using FileMon
(http://www.sysinternals.com/ntw2k/source/filemon.shtml)
you could see the exact instance when the .dll is touched. Perhaps it
gets loaded before the shadow copy path is set.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 28 Nov 2004 11:40:53 +0200, "z. f."
<zi**@info-scopeREMSPAM.co.il> wrote:
well,
iti works fine most of the time, but i still sometimes have to recycle the IIS because the DLL is in use, and i just can't figure out where or why it does that.


"Scott Allen" <bitmask@[nospam].fred.net> wrote in message news:jl********************************@4ax.com...
Of course this would have to happen before the web app tries to load
the assembly....

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 23 Nov 2004 11:53:30 -0500, Scott Allen
<bitmask@[nospam].fred.net> wrote:
>I have not tried this, but you might be able to modify the
>ShadowCopyDirectories property of the appdomain to include your custom
>path, ie:
>
>AppDomain.CurrentDomain.SetShadowCopyPath(
> AppDomain.CurrentDomain.SetupInformation.ShadowCop yDirectories +
> ";" +
> "[CustomPath]"
> );
>
>
>Again, I have not tried this, but let me know if you do or do not get
>it working, I might investigate some more this evening.


Nov 18 '05 #16

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

Similar topics

2
by: Doug Oliver | last post by:
I've got an intermittent problem when trying to write to a text file (used as a log). ASPNET has modify on folder, and at times logs to file, then I get a null reference exception, followed on...
8
by: utagger | last post by:
Hi All, We have a gallery component that allows us to upload images. An Edit Image Entry user control allows the user to update an image, by replacing the current one. Oddly, after replacing...
4
by: AN | last post by:
Greetings, We make an ASP.NET web application and we host it for our customers. We have provisioned hardware and hope to be able to service around 200 customers on this hardware. The web...
3
by: James Hunter Ross | last post by:
Friends, We are preparing for Beta release of a new ASP.NET project, but our initial in-house tests are not going well. We have had W3WP.exe (and aspnet_wp.exe) die, and we feel we can monitor...
0
by: Carmen | last post by:
We have an application running in a Windows 2003 Server with IIS 6.0. The application exports Crystal Reports reports to pdf files. It works fine for a while, 1 or 2 days, after that, the...
1
by: msnews.microsoft.com | last post by:
Hi all, I have a problem which I've seen mentioned quite a few time around the net, but nothing seems to work. I've created a web service with one method (see code below). It's running under...
0
by: ibenc | last post by:
Is there a way to prevent w3wp.exe from unloading a particular appDomain. Some parameters, config files? Here is some info about why I need this. I have a long running background thread in...
5
by: hihai | last post by:
My site recently became not responsive. When I check the task manager, I saw the file w3wp.exe use a lot of memory. Then I reset the IIS, it runs ok but only for a while then it stops. At first, I...
1
by: Propertyshowrooms | last post by:
Hi all, I know this is probably an easy problem to fix, or at least I hope so, but for the life of me I can't figure out why the Private Bytes in my w3wp.exe process just keeps climbing until the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.