?
Solved

Element is not a known element.

Posted on 2006-11-20
4
Medium Priority
?
1,147 Views
Last Modified: 2013-11-19
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.
0
Comment
Question by:Gawron3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17986510
Do you have a reference to control type on the page (with prefix and namespace)?

Bob
0
 

Author Comment

by:Gawron3
ID: 17986760
<%@ 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
 
LVL 28

Accepted Solution

by:
strickdd earned 2000 total points
ID: 17987225
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
 

Author Comment

by:Gawron3
ID: 17987819
Thanks for the help strickdd...:)
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question