.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Unable to display this Web Part error on Home page

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

Once in a while i get following error on the home page, How to resolve this ?

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.

" usually i do edit page & publish then error goes away"


View Complete Post

More Related Resource Links

Unable to display this Web Part. Error while displaying External list in sharepoint website

I tried to create an external content type for a website and I got an error....here are the details of the steps I followed:

1. I created an team site in sharepoint server 2010.Nothing I added extra to the site.

2. Then I opened that site in sharepoint designer and created a new external data type.

this is an SQL server. I have a small database in my server, I added that as an external data type to this site.

3. I am able to add the database to my site.

4. Then I created an External List of type contact list as my database has article ID, author, data of creation etc.

5. This creation also sucessfull and when I clicked on create button , my external list appeared on the quick launch but it didn't displayed anything on the page it showed up the below error on the page.


Error Message :


Data form web part not displaying - Unable to display this Web Part. ....



I am designing a data form - adding some formatting etc.  I am able to see the webpart correctly in SPD split view, but when I trying to preview it, it gives me the following error

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.
ANy help would be welcome, I have spent a lot of time on this page and don't want to do it again.  THere are a lot of fields and it's a tedious process to move them to the correct location.  I am at my wits end, I am not sure how to debug this!!


Web Part working fine on the top-level page but 'Not Safe' error on lower-level pages.


I have created a Web Part which reads and parses the SharePoint logs in order to display usage information of the page it resides on.  The Web Part works perfectly on the top page, reading and displaying the information desired.  However, once the Web Part is added to any page lower in the site heirarchy (sub-page) the same Web Part throws the following error:

Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.

Show Error Details
Hide Error Details

[UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.]
  at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Guid guid)
  at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)

Of course the current version of the Web Part is in the SafeControls list on the web.config.

The Web Part was originally designed to return site activity only for the top default.aspx page and worked fine but started to fail in the manner described above once I added the following line of code to return a SPCo

Adding a web part to "My Content" page causes error

Under a "My Content" personal page, a user (me) chose to add the "SQL Server Reporting Services Report Viewer" web part to a page. This was repeated with a test account and the same thing happened. Is there a way to fix this? Prior to this, adding a Content Editor Web Part seemed to work just fine.

RSS - Is there a way to display all new content across several subsites on a top level home page ?


I have an Intranet site that contains several departmental intranet sites.

Is it possible to have a web part on the homepage of the top level intranet that displays all recently added content to the various sub sites ?



The Group Work Site template has the "What's New" web part on it's home page and I have the follow


I can't find that web part as something I can use elsewhere? As in, I can't add that web part on other pages made even on the same site. What would be ideal is to have that web part available to add as needed to other sites/pages of course. As it stands, for me it seems the only place I can use that web part is on the home page of a new "Group Work Site", i hope that I'm wrong. I've tried exporting the web part, but the importing does nothing when trying to import it to other sites, of course other 2010 sites. Please let me know how I may add that web part to my available to use web parts please.



unable set value of web part on page load for custom propeity


I am trying to set the property of the custom web part on page load. MOSS 2007

while accessing the custom property i am getting error. But can add the inbuilt property like ID , Border and other.

How can I display only part of a Page using the REST Web service


Please see My code below



        public void YahooSample()
            HttpWebRequest request = WebRequest.Create("http://developer.yahoo.com/yui/") as HttpWebRequest;  
            // Get response  
              using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)  
                 // Get the response stream  
                 StreamReader reader = new StreamReader(response.GetResponseStream());  
                // Console application output  

Server Error Page: Some part of your SQL statement is nested too deeply.


Hello.  I've come across this error page with a Sharepoint Server 2007.  I've seen a few forums that say that Microsoft was going to fix this issue in its next major version, but I couldn't find out what version that was.  Is the 2007 version without a fix for this?  Is there a patch I could get, or is this part of a bigger issue?

I should mention, I've received this error page after simply editing html code in a web part.  There was no editing of sql statements.  Thanks in advance.

Unable to display this Web Part.


Hello together.

Me i Have exactly the same troubles like the two persons in the thread: http://social.technet.microsoft.com/Forums/en/sharepoint2010customization/thread/ad13e5e4-e211-453f-bfef-fe260591154a


I would like to ask, if theres a upper limit of columns, so that you can still make a customized EditForm.aspx in Sharepoint Designer, which is working properly. Is there any workaround to get this problem solved? Any tipps would be greatly appreciated, because theres a presentation of a sharepoint 2010 application i am coding on in my company very soon. So for me its urgent to do this customization.

Kind Regards

Mark, from Switzerland, Berne

Unable to display this Web Part


Hello All,

The system is working fine for all users, except of one user who gets the following error whenever he opens up a data-view web-part page of a particular form library: 

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator

Now any page which contains the data-view of this form library shows this error instead of the content of the webpart. This is working for all other users except of one user. What possibly be the issue. 

Its driving me crazy, can anyone help me in this regard?

Unable to access Site page having data from web part after restoring it to another server



I am trying to restore site backup to another server using following powershell cmdlet:

  • import-spweb -identity siteurl -path abc.cmp

Before starting restore I have created the site with template same as present on source server. After executing the command it did not displayed any error in the Management shell window. When I checked the log file it displayed 127 warnings and 1 error as follows:

  • Error: List Images could not be imported because it uses the DocumentLibrary base template and the destination uses the 851 base template.
  • Warning: User or group 18080 cannot be resolved.

When I am trying to access the page of the page library it is navigating to error page. This page contains Data form web part which is referencing the lists in the site. In the ULS logs I found following error:

  • PermissionMask check failed. asking for 0x00000005, have 0x400000300C231061

I tried follwoing resolution steps:

  • Provided the Full permission to the current user through which am accessing the site.

Still I am not able to fix the issues. Can anybody please guide me what would be the cause of these errors and what could be the resolution.


Error while loading home page


I am getting the following error while loading the Home Page.

"The requested page cannot be viewed because it is not configured properly. It has been disconnected from its page layout. Click here to go to Page Settings and reconnect this page to a page layout."

This error is not consistent and not getting error each time.



vinod kumar Bhasyam

WSS 3.0 Timer Error "6398" are getting generated 1 per minute.Unable to access Search Settings Page

Dear All
We are facing a terrible error which keeps getting generated exactly one per minute and i cant access Search Settings page as well.
I have already tried whats defined in the article below.
After that the errors stopped generating.
But after few hours they started generating again. Iam assuming its because the timer job didn't executed during that period.
We have two servers. One is MOSS and the other is Database Server with SSRS in Sharepoint integrated mode therefoew it is also a web front end server.
I have configured MOSS Server for everything i.e. as Index Server, Executing Search Queries etc. "Is this Ok? or can i use SSRS Web Front End Server as Dedicated server for indexing / All WFE Servers for indexing"
I am using SharePoint Farm administrator as search service account. Same user is used for all other services as well.
I have changed the "Indexed files path" but given full access and files are getting generated in it.

Changing the graphics on the home page of a SharePoint site

When you create a site in Microsoft Windows SharePoint Services by using the default Team Site template, the home page includes two default graphics. A Windows SharePoint Services graphic appears in the body of the page, and a picture of a house in a circle appears near the site title. You can change these graphics to customize your site. Changing the smaller graphic requires a Windows SharePoint Services compatible Web page editor

Handling 404 page not found with Error page



      How do i handle 404 page not found?

urlrouting - page not found error


I have a dynamic data site setup and running locally fine from vs 2008.

When i deploy to a remote windows 2003 server (IIS6), all the pages also work ok apart from one page/table.  I can access it's list page,  but the edit and insert pages throw 404 errors.

I'm thinking it's a url routing/hosting issue as i've copied back the database from the remote server and it all works fine on my local machine.

Is there anything i can do to debug this behaviour?

Below is my register routes entry from the global.asax

Any suggestions greatly appreciated as, i've been stuck on this for days :(

public static void RegisterRoutes(RouteCollection routes)
    MetaModel model = new MetaModel();
    model.FieldTemplateFactory = new AdvancedFieldTemplateFactory();

    model.RegisterContext(typeof(Sponsorship.Data.Entities), new ContextConfiguration() { ScaffoldAllTables = false });
    model.DynamicDataFolderVirtualPath = "~/admin/DynamicData";

    routes.Add(new DynamicDataRoute("admin/{table}/{action}.aspx")
        Constraints = new RouteValueDictionary(new { action = "List|Details|Edit|Insert" }),

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend