> I've written an assembly contains a custom web control among other
utility
> classes.  I've signed the assembly and registered with the gac.
Inside my
> web application i am able to access all the classes with in the
assembly
> in
> my codebehinds however when trying to access the web control in my any
> aspx
> file I get an assembly not found error.
>
> I've tried adding the assembly binding nodes to the web.config file
but
> that doesn't seem to work either.

Add the following entry to your application-wide web.config file, with
the the full assembly name replaced with the one from your utility
assembly deployed in the GAC.

<assemblies>
  <add assembly="MyUtils, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=a77a7c561934e189"/>
</assemblies

        -Fritz

Fritz Onion
DevelopMentor
http://staff.develop.com/onion/

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to