In your @Register directive, you need to tell it the fully qualified
name of the assembly. This should be something like "comp,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=5f8d62222dd25012". You
can get it easily by copying the appropriate results of running gacutil
-l from the command line.

> -----Original Message-----
> From: Moderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED]] On Behalf Of Khoi Pham
> Sent: Saturday, June 08, 2002 11:52 AM
> To: [EMAIL PROTECTED]
> Subject: [ADVANCED-DOTNET] custom web control and the gac
>
>
> Hello all,
>
> 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.
>
> If i copy the assembly to the web app's bin directory,
> everything works fine.  Therefore I know I'm not doing
> anything wrong inside the aspx files.
>
> Can anyone provide any clues?
>
> Thanks,
> -Khoi
>
> You can read messages from the Advanced DOTNET archive,
> unsubscribe from Advanced DOTNET, or subscribe to other
> DevelopMentor lists at http://discuss.develop.com.
>
>

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