Solved

SharePoint Web Part Error

Posted on 2011-02-22
2
288 Views
Last Modified: 2012-06-27
I get the following error when I try to add a web part into a sharepoint page:

Unable to add selected web part(s).
Solution Web Part: A Web Part or Web Form Control on this Page cannot be displayed or imported.  The type is not registered or safe.


I know that to resolve this I need to add something to my web.config file but 1) it does not show in  my solution that I have a web.config file and 2) What do I need to change in my web.config file.

Thanks for any help you can provide.
0
Comment
Question by:Isaac
2 Comments
 
LVL 6

Assisted Solution

by:sabby447
sabby447 earned 250 total points
Comment Utility
Every sharepoint has a default web.config file, You can lookup the website in IIS admin, usually it is in c:\inetput\wwwroot\wss"  Here you will have a folder for your corresponding site, Inside the folder it will have web.config file having default entries, Here are next steps:

1. Register your dll if not already done, Please check at c:\windows\assembly to ensure you a entry for the above dll, If not then you can drag and drop that file (If need admin rights and would need to disable UAC if you are running as a domain account)

2. open the web.config file in notepad and look up the section for safecontrol and before the end of section add a new line which is in sync with above lines and points to this dll and hold information related to the the above dll from Assembly folder

Please share if you need any further information
0
 
LVL 8

Accepted Solution

by:
sandipkharde earned 250 total points
Comment Utility
You can check this thread for more information where has similar issue.

http://www.experts-exchange.com/Networking/Sharepoint/Q_21419723.html
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

728 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

9 Experts available now in Live!

Get 1:1 Help Now