The .dll that refuses to die - Revisited


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: The .dll that refuses to die - Revisited

  1. #1
    Dave Delaney Guest

    The .dll that refuses to die - Revisited


    Dan (and Damien)

    Thanks for your responses. I had already stopped the web server and restarted
    it to no avail. I tried Damien's advice re: run in separate memory space
    flag. This also does not work. The error message is: 'Cannot delete. There
    has been a sharing violation. The source or destination file may be in use.'

    Again, I ran a simple .dll which only returned a string when called. It also
    displays similar behavior of being undeletable unless I reboot. This doesn't
    happen when I use the .dll with a VB test app. Is this an IIS issue or is
    there something more elegant to be done than rebooting every time a new dll
    is installed?

    Again, thanks for your patience.
    Dave
    Share on Google+

  2. #2
    Dan Appleman Guest

    Re: The .dll that refuses to die - Revisited

    You have to stop IIS - not just the www service. Also the IIS Admin service, and
    possibly the FTP service.

    Dan


    Dave Delaney wrote:

    > Dan (and Damien)
    >
    > Thanks for your responses. I had already stopped the web server and restarted
    > it to no avail. I tried Damien's advice re: run in separate memory space
    > flag. This also does not work. The error message is: 'Cannot delete. There
    > has been a sharing violation. The source or destination file may be in use.'
    >
    > Again, I ran a simple .dll which only returned a string when called. It also
    > displays similar behavior of being undeletable unless I reboot. This doesn't
    > happen when I use the .dll with a VB test app. Is this an IIS issue or is
    > there something more elegant to be done than rebooting every time a new dll
    > is installed?
    >
    > Again, thanks for your patience.
    > Dave


    Share on Google+

  3. #3
    Dave Delaney Guest

    Re: The .dll that refuses to die - Revisited


    Dan,

    I just shut all services down and still no dice... I just spoke to someone
    else who had the same issues and eventually resorted to rebooting with each
    new dll install. Have you heard of IIS behaving in this manner?

    Thanks much... BTW checked out your website/tools-- very nice. Might well
    pick up your book on components.

    Dave

    Dan Appleman <dan@desaware.com> wrote:
    >You have to stop IIS - not just the www service. Also the IIS Admin service,

    and
    >possibly the FTP service.
    >
    >Dan
    >
    >
    >Dave Delaney wrote:
    >
    >> Dan (and Damien)
    >>
    >> Thanks for your responses. I had already stopped the web server and restarted
    >> it to no avail. I tried Damien's advice re: run in separate memory space
    >> flag. This also does not work. The error message is: 'Cannot delete. There
    >> has been a sharing violation. The source or destination file may be in

    use.'
    >>
    >> Again, I ran a simple .dll which only returned a string when called. It

    also
    >> displays similar behavior of being undeletable unless I reboot. This

    doesn't
    >> happen when I use the .dll with a VB test app. Is this an IIS issue or

    is
    >> there something more elegant to be done than rebooting every time a new

    dll
    >> is installed?
    >>
    >> Again, thanks for your patience.
    >> Dave

    >


    Share on Google+

  4. #4
    Dan Appleman Guest

    Re: The .dll that refuses to die - Revisited

    Wow, you got me. I've never had problems replacing DLL's used by IIS once I stopped
    the services.

    Dan


    Dave Delaney wrote:

    > Dan,
    >
    > I just shut all services down and still no dice... I just spoke to someone
    > else who had the same issues and eventually resorted to rebooting with each
    > new dll install. Have you heard of IIS behaving in this manner?
    >
    > Thanks much... BTW checked out your website/tools-- very nice. Might well
    > pick up your book on components.
    >
    > Dave
    >
    > Dan Appleman <dan@desaware.com> wrote:
    > >You have to stop IIS - not just the www service. Also the IIS Admin service,

    > and
    > >possibly the FTP service.
    > >
    > >Dan
    > >
    > >
    > >Dave Delaney wrote:
    > >
    > >> Dan (and Damien)
    > >>
    > >> Thanks for your responses. I had already stopped the web server and restarted
    > >> it to no avail. I tried Damien's advice re: run in separate memory space
    > >> flag. This also does not work. The error message is: 'Cannot delete. There
    > >> has been a sharing violation. The source or destination file may be in

    > use.'
    > >>
    > >> Again, I ran a simple .dll which only returned a string when called. It

    > also
    > >> displays similar behavior of being undeletable unless I reboot. This

    > doesn't
    > >> happen when I use the .dll with a VB test app. Is this an IIS issue or

    > is
    > >> there something more elegant to be done than rebooting every time a new

    > dll
    > >> is installed?
    > >>
    > >> Again, thanks for your patience.
    > >> Dave

    > >


    Share on Google+

Similar Threads

  1. releasing .dll from memory
    By Yang Du in forum ASP.NET
    Replies: 4
    Last Post: 07-03-2001, 06:26 AM
  2. .dll that refuses to die!
    By Dave in forum authorevents.appleman
    Replies: 2
    Last Post: 04-12-2000, 05:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center