Re: Deploying an iHttpModule in the GAC



The IHttpModule is a simple one and has dependency only on System and
System.Web which are already present in the GAC. Any ideas what i could do
next ?

"Klaus H. Probst" wrote:

> A common cause for this is a missing dependency of *your* assembly which is
> missing in the GAC. If that's the case then you need to place any and all
> dependencies in the GAC along with your IHttpModule implementation.
>
> Try using FUSLOGVW to see the binding log for your assembly.
>
> --
> Klaus H. Probst, MVP
> http://www.simulplex.net/
>
>
> "CD" <CD@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:8F231642-3BCD-4ED9-8ED4-56DA6180401B@xxxxxxxxxxxxxxxx
> > Hi,
> > I have created a HttpModule to do some preprocessing for a web
> > application. This preprocessing is to be done before each page of the
> > application is loaded. I have created a separate project compiled it and
> > added a reference to it in the web application. The code is working fine.
> > Now i need to deploy this ihhtpModule in the GAC. I have added the
> > following lines of code in the web.config file of the web application
> > <httpModules>
> > <add name="Authenticate" type="myModules.AuthModule,
> Authenticate" />
> > </httpModules>
> > where Authenticate is my dll name, myModules is the namespace and
> AuthModule
> > is the class name. This works fine when i use a local copy of the
> httpModule
> > but throws an error when i deploy the same in the GAC.
> > I ahve added these lines in the web.config file to refer to the
> GAC.
> > <assemblies>
> > <add assembly="Authenticate, version=1.0.0.0, Culture=neutral,
> > PublicKeyToken=d1a87f2cb11b878f" />
> > </assemblies>
> > Anybody with any idea as to how i can resolve this issue please help.
> >
> > Thanks
> >
> >
> >
>
>
>
.



Relevant Pages

  • Re: File or assembly name , or one of its dependencies, was not found.
    ... GAC needed to be copied to the client machine. ... CompanyNameDataObject, or one of its dependencies, was not found. ... (Dependency: CompanyNameGenericLibrary.DLL) ...
    (microsoft.public.dotnet.framework.component_services)
  • File or assembly name , or one of its dependencies, was not found.
    ... CompanyNameDataObject, or one of its dependencies, was not found. ... (GAC) ... (Dependency: CompanyNameGenericLibrary.DLL) ... asking the client to have CompanyNameDataObject.DLL installed on the ...
    (microsoft.public.dotnet.framework.component_services)
  • Re: The GAC
    ... The best you could do is search all managed assemblies on the ... and see which one has a reference to the type in the GAC. ... > When you view the GAC in windows explorer, it shows it as a special type> of ... It also tells you if you try to delete an assembly that is a> dependency ...
    (microsoft.public.dotnet.languages.csharp)
  • The GAC
    ... When you view the GAC in windows explorer, it shows it as a special type of ... It also tells you if you try to delete an assembly that is a dependency ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Deploying an iHttpModule in the GAC
    ... A common cause for this is a missing dependency of *your* assembly which is ... dependencies in the GAC along with your IHttpModule implementation. ... > I have created a HttpModule to do some preprocessing for a web ... This preprocessing is to be done before each page of the ...
    (microsoft.public.dotnet.framework.aspnet)