Unable to delete dir even after unload/remove ...

G

Guru Prasad

Does ASPNET process hold onto the app dir even after the app is "unload"ed
and "removed" ( via IIS manager ) ?
I am unable to delete a dir which was formerly a basedir for a webapp, until
i restart aspnet process. Why is this so ?

This makes things complicated during uninstall of a web application, since
killing aspnet is highly undesirable and may interfere with other apps.

Is this the normal IIS/ASPNET behavior ? What do i need to configure to
prevent IIS/ASPNET from doing so ?

Does the fact that i use strong-named assemblies ( still loaded from the
private bin path and not from the GAC ) make any difference to the
loading/unloading process ?
 
K

Ken Cox [Microsoft MVP]

Sometimes it is hard to release the IIS's grip on a component. This usually
works:

net stop iisadmin /y

Trouble is, it stops your Web site.

Perhaps an email to (e-mail address removed)?subject=ASP.NET

would help for the future?

Ken


Does ASPNET process hold onto the app dir even after the app is "unload"ed
and "removed" ( via IIS manager ) ?
I am unable to delete a dir which was formerly a basedir for a webapp, until
i restart aspnet process. Why is this so ?

This makes things complicated during uninstall of a web application, since
killing aspnet is highly undesirable and may interfere with other apps.

Is this the normal IIS/ASPNET behavior ? What do i need to configure to
prevent IIS/ASPNET from doing so ?

Does the fact that i use strong-named assemblies ( still loaded from the
private bin path and not from the GAC ) make any difference to the
loading/unloading process ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top