Re: iisreset? why does this work?

From: Reader (postOnly_at_news.group)
Date: 10/15/04


Date: Fri, 15 Oct 2004 15:18:41 -0500

To give you another thing about the assemblies... the assemblies are used in
many applications.. it just happens this web site is one of those
appliations that use them. It should not matter if they are in the GAC or
bin. What matters is that when the web site is completely removed and even
the asp.net cache folder is removed IIS still has them somewhere.. memory...
on disk? If i could know where and how to solve this and not have to debate
why i have my assemblies in the GAC.......

Why do i have to restart IIS to have it work?!? IIS is the only application
that needs a restart. All Windows applications that reference the
assemblies do not have problems with the install. This can't be a complete
fluke when i can reproduce this error 100% on many different server
installations...

"Kevin Spencer" <kspencer@takempis.com> wrote in message
news:%236VwsOssEHA.2768@TK2MSFTNGP14.phx.gbl...
> The GAC works a heck of a lot like the COM registry. If you install a new
> version having the same version number, you will have to do what you're
> doing to use it. Why not use the \bin folder instead? Lot less trouble.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> I get paid good money to
> solve puzzles for a living
>
> "Reader" <postOnly@news.group> wrote in message
> news:#JgZI8rsEHA.2320@TK2MSFTNGP12.phx.gbl...
> > Here is the story. I have my ASP.Net web appliacation that when I
> uninstall
> > an old version and install a new version the old version's assemblies
are
> > still in the system somewhere and cause the new install to crash or have
> old
> > application operations.
> >
> > Here are some notes on the assemblies. They are put in the GAC. The
old
> > and the new have the same version information. During the new version
> > install the ASP.Net web folder is deleted from inetpub. My install also
> > deletes the app's folder from the "Temporary ASP.NET Files" to prevent
the
> > known cached file to exist in the new install. This all worked
perfectly
> > before what I think the new service pack. I will have to verify.
> >
> > So, when i install the new version and run the web application it will
> > either crash because it cannot find the properties, methods, or classes
in
> > the cached assembly or it will execute the old logic. Now, if I do
> nothing
> > but run iisreset and rerun my new install it all works perfectly. EVERY
> > time I test an install I get the same results. I am about to test this
> with
> > a Windows 2003 machine and it too has the latest service packs. If it
> > continues to happen I will be forced to either put a forced iisreset in
my
> > install or determine if the problem is with the service packs. Has
anyone
> > else seen this issue if so how might i avoid this issue?
> >
> > Thank you for your time.
> >
> >
> >
>
>



Relevant Pages

  • Re: Windows Service Install Project
    ... that starts Services that have references to assemblies in the GAC. ... Visual Studio Setup project? ... break my system when I go to install. ...
    (microsoft.public.dotnet.framework.setup)
  • Re: I have seen some fat client Dot Net apps
    ... How do you install the CF SDK if you don't have VS? ... install CF on a device was to write a trivial CF app in VS and install ... "Borland does not have license to ship the CF assemblies. ... assemblies and run the app unchanged on the CF platform. ...
    (borland.public.delphi.non-technical)
  • Re: Biztalk 2004 deployment problem
    ... installed in the GAC before they can be a part of a running BizTalk ... Each computer contains a GAC which must contain the assemblies that are ... BizTalk Server to process messages during run time, you must install all ... you can use the BizTalk Deployment Wizard to deploy ...
    (microsoft.public.biztalk.general)
  • Re: iisreset? why does this work?
    ... But the same assembly is also in the bin. ... >> an old version and install a new version the old version's assemblies ... >> Here are some notes on the assemblies. ... >> install the ASP.Net web folder is deleted from inetpub. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: stsadm.exe -globalinstall problem
    ... the webpart needs to do the minimal security setting might not work. ... > I need to use the stsadm because is a requirement of the client. ... > I mean, the web part is installed correctly, but when I want to drop it in the web part page, I got the web part error message, unless I have the assemblies installed in both places. ... > interface and use either the install assemblies utility or the web part ...
    (microsoft.public.sharepoint.portalserver.development)