Solved

Element is not a known element.

Posted on 2006-11-20
4
1,142 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
  • 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 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASCX file or a newer alternative? 1 34
rebind a grid after user clicks on node in treeview 1 34
IIS redirect 1 65
ASP.net File format issue in producing Excel file 3 30
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…
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now