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

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

Summary Links Web Part not working properly on MySite

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

I had an requirement to add summary links webpart on MySite. When I tried to add it, I did not find it in the available webparts. So, I imported it from an publishing site and uploaded into MySite. When, I added it, I got an error as  

Unable to add selected web part(s) SummaryLinkWebPart:  Could not load XSL file.  The system can not find the file specified (Exception from HRESULT:  0X8007002).

After going through MSDN, I found that the style sheets for the web part are missing (http://msdn.microsoft.com/en-us/library/ms551040.aspx). I added the requried style sheets to the style library and finally I was able to add the webpart but, it displays a bullet before the link.

To avoid this issue, I had deleted the webpart and style sheet , and activated all the publishing features in the Site using STSADM. Even after acitvating the features and adding the webpart, it still displays a bullet before the link.

Any help or workaround to solve this issue is highly appreciated...



View Complete Post

More Related Resource Links

SharePoint 2007-2010 content upgrade, Summary Links web part closed after upgrade.


Has anyone seen this before?

Did a DB content upgrade from SharePoint 2007 to 2010.  After the content upgrade (with only a warning saying that an unknown 3rd party web part was missing), we reviewed the new site, and found MANY pages which contained Summary Links web parts suddenly had many (but not ALL) of the Summary Links web parts now marked as closed.  At first we thought the parts were missing from the page, but when we edit the page we see the parts are in the Closed gallery.  We can add the part back in from the Closed gallery and all it's originally set properties are there.  Why are they coming up as Closed after the upgrade when they weren't Closed BEFORE the upgrade?

More details:

We have quite a few pages that contain one or more Summary Links web parts.  On SOME of the pages, one or more of these web parts are now Closed.  However, not ALL of the pages that contain these parts have the parts closed, and on the pages that now have these closed parts, not ALL of the Summary Links parts on that page are Closed, so it is not a problem with an unregistered Summary Links web part as the part is working on the same and other pages (I found other people on the web mentioning issues where NONE of their Summary Links parts are working after an upgrade.)  So, it seems to be somewhat random as to which instance

The Working Programmer: Going NoSQL with MongoDB, Part 3


Wrapping up his examination of MongoDB, Ted Neward discusses predicate queries, aggregate functions and LINQ support, and provides some tips on hosting the NoSQL database in a production environment.

Ted Neward

MSDN Magazine July 2010

The Working Programmer: Going NoSQL with MongoDB, Part 2


Ted Neward continues his dissection of the alternative MongoDB database system, using exploration testing to investigate the underlying technology.

Ted Neward

MSDN Magazine June 2010

Discussion board template of SharePoint 2007 not working properly


Use case 1 – Discussion board to suggest change to documents

 User adds a suggestion. The discussion board needs fields like module name, document name, section name and reason for a change etc.


 Problem 1 – When I try to add fields to the discussion board – When a user wants to post a reply to a suggestion, user screen shows the new item form and all fields instead of just a reply or comment field. Need help how can I ensue user only sees reply or comment field?


 Problem 2 – If I make these changes in the discussion board template through SharePoint designer 2007 and later if we plan to upgrade to SP 2010. Do I have to redo the changes I did on old discussion board or will upgrade take care of migration of the changes to new discussion board template available with SP 2010? 




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

can anyone tell me why setInterval is not working properly i want to display the time every seconds,

setInterval is suppose to execute the script every second there getting the most uptodate time of day , but it does not update it stays the same
      <script type="text/JavaScript">

          function interval() {
              setInterval("time()", 1000);
          function time() 
              var d = new Date();
              var time = d.getHours();
              var time2 = d.getMinutes();
              var time3 = d.getSeconds();

              document.write(" : ");
              document.write(" : ");
  // -->
      <input type="button" OnClick="interval()" value="Click Me!"/>


Check In / Check Out not working properly

At various points during the day, I check back in the master and CSS files I've been working on.  However, it doesn't show them as checked in ... they are still flagged with green check in SP Designer.   And what is more confusing, sometimes I can't save anything because it says that it is checked out.  But I'm the one who checked it out.  And it thinks it is checked in.  So I try to check it out again, and it won't let me check it out. The only way I got around this yesterday was to rename the master file.  Then rename it back to it's original name. Suggestions?

The Working Programmer: Multiparadigmatic .NET, Part 1

Software development isn't all about object-oriented design; it's about finding what works best, and incorporating it into your solution.Ted NewardMSDN Magazine September 2010

Unable to Show Edit item Links in Data Form Web Part

I have a DFWP connected to custom list and the boxes to Show Edit Item Links, Show Delete item links and Show Insert Item links are grayed out so that they can not be checked. This works fine when I use a DFWP connected to a standard list (i.e., Contacts). Is there something special that needs to be done to activate this functionality?ThanksDean

Why is the Content by Query Web Part CommonViewFields attribute not working as expected?

I am using the Content by Query Web Part to show data from a Custom List.  I have already added to the XSL "ItemStyle" sheet so that I can pick the correct Item Style.  That has worked fine - I have been able to show whatever fields I would like and apply any CSS Styles I would like to them.  The issue I am having is in formatting the field correctly.  I have two different fields in my current example that need to be formatted: [1] I want to show an Image, but right now it shows the URL  [2] I want to show Rich Text, but right now it shows all the HTML Code as Plain Text.  I have looked at many articles online, and they all tell me to change the following in the WEBPART file from: <property name="CommonViewFields" type="string" /> to: <property name="CommonViewFields" type="string">Thumbnail, Image;Teaser, RichHTML;</property> What I am doing wrong?  The Web Part still runs, but it does not format the fields any differently.  Thanks for the help!

AsyncPattern is not working properly.

Hi all I have a WCF service which has two methods. [ ServiceContract]   public interface IAsyncInterface { [ OperationContract(IsOneWay = true)]   void Submit(CurrentJob currentJob); [ OperationContract(IsOneWay = true)]   void Execute(AsyncExecInstance exec, AsyncRequest request);       ///Async Call [ OperationContract(IsOneWay = true,AsyncPattern=true)]   IAsyncResult BeginSubmit(CurrentJob currentJob, AsyncCallback callback, object state);   void EndSubmit(IAsyncResult ar); [ OperationContract(IsOneWay = true,AsyncPattern=true)]   IAsyncResult BeginExecute(AsyncExecInstance exec, AsyncRequest request, AsyncCallback callback, object state);   void EndExecute(IAsyncResult ar); } My client is a windows service. i have 2 seperate threads for calling these 2 methods. So these 2 methods will be called parallelly. if i call this methods 15 times at a time all the 15 requests are giving to my WCF service. The first 8 requests are processing very fastly and i am getting result. after that the service is not at all responding. But the WCF service is still active. Some time though i submitted 15 request to service some of the requests are not processing. I set concurrency mode as multiple and MaxConcurrentCalls=50. That means it should handle 50 requests at the same time right? Can

Help with part of my footer not working right in IE7

I have two div's that make up my footer... One has a list of hyperlinks the other has a copywrite.  The hyperlinks css works fine and falls right after the content of the page. However the copywrite div does not work in IE 7 it seems that the float left does not seem to be working... Can someone give me some suggestions on how I can get this div to stay at the bottom of my page too..  #Copywrite { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 50%; margin-left: 12px; text-align: left; float: left; width: 180px; clear: left; position: relative; } #hyperlinksList { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 70%; text-align: right; float: right; margin-right: 12px; margin-bottom: 12px; width: 575px; clear: both; color: #0076CC; }  

Report links not working

Hi   I've biult a couple of very basic reports which link to each other. They show staff permissions and name. One report lets you select a permission and will then display all users with that permission and the other lets you select a person and it will display all their permissions The reports use the same stored procedure and both link fine in the preview environment but the one linking from the list of people to the list of permissions doesn't work when deployed. Both parameters are the same type and in both cases I pass the word all for the field I want a list of. Any ideas why this would work in the preview but not when deployed?

mantenace plan is not properly working

hi, maintenance plan is not working it skip 20% database backup , not showin error id

Target audiences not working in excel services web part

My appologies i posted this originally in the pre-2010 forum So i'm reposting here: We have recently upgraded to Sharepoint 2010 and we're experiencing problems with the "target audience" field being available to the users. I am not the CA admin though so it'll make this a bit tough to get solved if the problem is there. What i'm looking for are the suggestions of things for me to forward to the CA admin to change or check if anything. We have a seperate Virtual Machine that is running 2010 that has this option available to users on that farm for some reason. however on our corporate farm we don't have that option available. Plus on top of this the quick launch items are not working with audiences as well to turn off the headers to links that have nothing in them due to security trimming on document libraries. I'm hoping that this being a more of an overview of things to check would help others who may have this problem as well. I've seen resolutions such as rebooting the server and such, however that's a bit lower level and we need some higher level things to check that may resolve the issue. Think the simple stuff first to check and lets work down the list. Doesn't matter how stupid it is but can we get a more compiled list of things to check to make sure that target audience visibility to users is enabled? Thanks!

default value for MySite's 'As Seen By' web part in SharePoint 2010

Does anyone know how to change the default value for the 'As seen by' web part on the SharePoint 2010 MySite's person.aspx page? Currently it defaults to "Everyone' and our client would like it to default to 'Only Me'. Is this even possible? Regards, Kyle
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