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

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

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

    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 ?


    Guru Prasad Guest

  2. Similar Questions and Discussions

    1. Unable to delete pages
      Hello, When I am in Edit (I've got the draft on my screen and I try to delete a page (format, page preferences, delete a page) the delete a page...
    2. Remove data from multiple fields in one delete
      I posted this question a couple of weeks ago without a response so thought I'd try again. :-) I have an Acrobat 7 for Mac form setup with 40ish...
    3. Remove data from multiple fields with one delete
      I posted this question a couple of weeks ago to another site without a response so thought I'd try here. I have an Acrobat 7 for Mac form setup...
    4. UNABLE TO DELETE PDF
      I have tried to delete a pdf from my G4 without any luck. Message says: Cannot complete operation because the 1234.pdf is locked. I have tried to...
    5. Unable to Remove Splash Screen
      I have created a projector in Director MX 2004 Mac OS X. I had it us a splash screen now I cannot get rid of it. I have unselected the option in the...
  3. #2

    Default Re: Unable to delete dir even after unload/remove ...

    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 [email]mswish@microsoft.com?subject=ASP.NET[/email]

    would help for the future?

    Ken


    "Guru Prasad" <gprasad@amberpoint.com> wrote in message
    news:eNRMAEjUDHA.2184@TK2MSFTNGP10.phx.gbl...
    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 ?



    Ken Cox [Microsoft MVP] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139