Re: Calling DLL in ASP page

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Fie Fie Niles (fniles_at_wincitesystems.com)
Date: 06/10/04


Date: Thu, 10 Jun 2004 10:55:50 -0500

Thanks. Clicking "Unload" on the Application Protection in the website
property works. Thanks again.

"Jeff Smith" <jeff@nospam.vegascomputer.com> wrote in message
news:ug794$pTEHA.2544@TK2MSFTNGP10.phx.gbl...
> You have two options depending on if your running in process (Low
Security)
> or out of process (Medium/High Security the default). You can find out
your
> security setting in the IIS Admin under properties for the website on the
> "Home Directory" tab. If you're running out of process (Medium/High), you
> can simply click "Unload" on that same property page and it will clear the
> DLL from memory and allow you to overwrite it. If your running in process
> (low) then you need to stop and restart the iis administrator service. The
> easiest way to do this is run the "iisreset" command.
>
> -Jeff
>
> "Fie Fie Niles" <fniles@wincitesystems.com> wrote in message
> news:uh4HFnmTEHA.3660@tk2msftngp13.phx.gbl...
> > We wrote a program in VB6 and created a DLL for it. We call this DLL
from
> > our ASP page. When our DLL changes, and I copied the updated DLL to the
> > server machine, in 1 server, it says "cannot copy xyz.DLL. There has
been
> a
> > sharing violation. The source or destination file may be in use." Prior
to
> > this, I did use the DLL by calling the ASP page, but I get out of the
ASP
> > page the IE Browser. Nobody else is using it.
> > On another server, it lets you copy the DLL, but when I call the ASP
page,
> > the old DLL is still being used instead of the updated DLL that I just
> > copied.
> > How can I get rid of this DLL from the memory so that I can copy it
> > correctly or the ASP page can call the new updated DLL ? Thank you.
> >
> >
>
>



Relevant Pages

  • Re: How to share code between two different sites?
    ... application if you have common code for all? ... Three servers are given since all they are for different clients. ... comfortable adding dll to each site manually ) ... You can't add child project to website. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to share code between two different sites?
    ... Each website has customize code as well as re-used common code. ... Three servers are given since all they are for different clients. ... comfortable adding dll to each site manually ) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to share code between two different sites?
    ... servers. ... automatic update of shared code. ... One dll...one dll update when needed...all applications are served. ... You can't add child project to website. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to share code between two different sites?
    ... You can't add child project to website. ... Whenever you add reference to a dll, it gets copied in /bin folder ...
    (microsoft.public.dotnet.framework.aspnet)
  • active componet cant create object
    ... the dll, otherwise they are not. ... >The website works fine for most of all the time. ... >active component cant create object..... ... >and more strange thing happends if the user opens ...
    (microsoft.public.inetserver.iis.security)