Re: iisreset? why does this work?

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


Date: Fri, 15 Oct 2004 13:22:02 -0500

The assembly it references does exist in the GAC.... other applications use
the assembly too. But the same assembly is also in the bin. Because the
asp.net app does not find it unless it too exists in the bin..... anyway..
between the instlls this bin and the parent web folder are removed but the
old one still seems to exist. I have tested on a machine that predates the
latest services packs and it happened to me again.. :P maybe my firs ttime
fix did not solve it to begin with.. but no matter it would be nice to
figure out a solution to this..

"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: iisreset? why does this work?
    ... To give you another thing about the assemblies... ... appliations that use them. ... What matters is that when the web site is completely removed and even ... assemblies do not have problems with the install. ...
    (microsoft.public.dotnet.framework.aspnet)
  • 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: 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)

Quantcast