TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Yasine LAKHDARI
NA
71
47.6k
WebPart adding Error !!
Feb 23 2009 5:19 AM
Hello every Body !
Well, i prepared a WebPart whitch inherits from WebPart System.Web reference.
The type is labeled as "TestWebPart", i used smartwebpart template so the deployment was easy and successfully.
I activated the WebPart too successfully from Site Collection Feature.
But when i added the web Part in the Home Page it occured this error :
Unable to add selected web part(s):
WebPart : A Web Part or Web Form Control on this connot to display or imported.
THe type could not be found or it is not registered as safe
Notice that in the configuration file Web.config the following line is inserted for the safety of the WebPart :
<SafeControl Assembly="TestWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" Namespace="TestWebPart" TypeName="TestWebPart" Safe="True" />
I tryed with another without WebPart without Web Controls i mean just using
write
it functioned successfully !
what's up so ?
Thanks !
Reply
Answers (
2
)
Use of blogs in SharePoint hosting sites with WSS 3.0
SharePoint Permissions