Element is not a known element.

I have added a third party control to my application.  I cannot figure how to make it compile.  Im sure I am just missing something.  Here are the 2 errors when I try to compile.

Error      1      Element 'PopCalendar' is not a known element. This can occur if there is a compilation error in the Web site.       

Error      2      Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.      

Anyone know how to get those to go away?  Im sure I just need to copy the DLL somewhere.

THanks for the help.
Gawron3Asked:
Who is Participating?
 
strickddCommented:
This is a strongly named DLL you are referencing and needs to be placed in the Global Assembly Cache (GAC). Then it is added as a project reference and used from there.
0
 
Bob LearnedCommented:
Do you have a reference to control type on the page (with prefix and namespace)?

Bob
0
 
Gawron3Author Commented:
<%@ Register Assembly="RJS.Web.WebControl.PopCalendar" Namespace="RJS.Web.WebControl"
    TagPrefix="rjs" %>

I have that at the top of the aspx page.

Thanks for the reply.
0
 
Gawron3Author Commented:
Thanks for the help strickdd...:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.