Skip to main content

Posts

Showing posts from 2010

Compare SharePoint Editions

All :  http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx Search :   http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx?Capability=Search Communities : http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx?Capability=Communities Sites: http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx?Capability=Sites Insights: http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx?Capability=Insights Composites: http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx?Capability=Composites Content : http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx?Capability=Content

Sharepoint Development Tips

Read the Value of a Field in a List Item http://msdn.microsoft.com/en-us/library/ff521580.aspx Converting Date and Time Values http://msdn.microsoft.com/en-us/library/ms197282.aspx Describing Forms of URL Strings http://msdn.microsoft.com/en-us/library/ms431831.aspx Getting References to Sites, Web Applications, and Other Key Objects http://msdn.microsoft.com/en-us/library/ms468609.aspx Add or Delete List Items http://msdn.microsoft.com/en-us/library/ms467435.aspx How to: Return Items from a List http://msdn.microsoft.com/en-us/library/ms456030.aspx  Run Code on All Web Servers http://msdn.microsoft.com/en-us/library/ff464297.aspx Registering and Importing Namespaces http://msdn.microsoft.com/en-us/library/ms431098.aspx SharePoint Development Tasks http://msdn.microsoft.com/en-us/library/ee536204.aspx

SharePoint Interview Questions

http://www.dotnetfunda.com/interview/exclusive/showcatquestion.aspx?category=8 http://www.pointsharepoint.com/2008/03/sharepoint-interview-questions.html http://programmingsharepoint.blogspot.com/2008/02/sharepoint-interview-questions.html http://it.toolbox.com/wiki/index.php/Sharepoint_Interview_questions SharePoint 2010 Interview Questions  http://mysharepointwork.blogspot.com/2010/01/sharepoint-2010-interview-questions_20.html http://www.interviewhelper.org/categorydetail.php?Cat=33&level=1&title=Sharepoint

Error occured in deployment step 'Recycle IIS Application Pool': Invalid namespace

solution : The solution was to: open the Turn Windows on or off menu in the Control Panel (under Programs), and enable WMI compatibility. The path to the feature is: Internet Information Services -> Web Management Tools -> IIS 6 Management Compatibility -> IIS 6 WMI Compatibility

Site Logo Not Changing on Web Part Pages

I tested and reproduced your issue in my local machine. Since the Web Part Pages would override the content in PlaceHolderPageTitleInTitleArea place holder, the site logo would not change automatically. So would you please try remove or comment the following control TitleBarWebPart: See the similar scenario and solution: http://emanonsolutions.blogspot.com/2010/02/left-navigation-webpart-pages.html Hope this can help.

Site Logo Not Changing on Web Part Pages

I tested and reproduced your issue in my local machine. Since the Web Part Pages would override the content in PlaceHolderPageTitleInTitleArea place holder, the site logo would not change automatically. So would you please try remove or comment the following control TitleBarWebPart: See the similar scenario and solution: http://emanonsolutions.blogspot.com/2010/02/left-navigation-webpart-pages.html Hope this can help.

SharePoint 2010 Troubleshoot

SharePoint 2010 Logging Improvements http://blogs.msdn.com/b/spses/archive/2009/12/18/sharepoint-2010-logging-improvements-part-1.aspx Developer DashBoard : http://blogs.msdn.com/b/spses/archive/2010/03/11/sharepoint-2010-logging-improvements-part-2-introducing-developer-dashboard.aspx User Profile Service : http://blogs.msdn.com/b/spses/archive/2010/04/01/sharepoint-2010-provisioning-user-profile-synchronization.aspx http://blogs.msdn.com/b/spses/archive/2010/11/28/guide-to-user-profile-service-application.aspx http://blogs.msdn.com/b/spses/archive/2010/12/02/guide-to-user-profile-service-application-upa-part-2-setting-up-the-user-profile-service-application.aspx

Microsoft FAST Search Administration – Unexpected error occurred while communicating with Administration Service

Microsoft FAST Search Administration – Unexpected error occurred while communicating with Administration Service go to the Central Administration -> Security -> Configure Service Account. Check the following Appl Pool running in which account. 1. FAST Content App Pool 2. FAST pool Administration Service 3. FASTPoolSearch Query go to to the Fast Search Server "Local users and Groups" Add those accounts in the group "FASTSearchAdministrators".

Did you Mean? - is not working in SharePoint Search

http://www.u2u.info/Blogs/Kevin/Lists/Posts/Post.aspx?List=6f246d9a-e4e7-4846-b776-f9a62112ffb7&ID=9 Check the following settings also this works for me...

Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5050' or later

SharePoint Restore Error: Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5050' or later. I had needed to move my dev environment from one Virtual machine to another. So I took backup from source server and tried to restore the backup in new server. However, I have got the error “Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running the current version. The backup file should be restored to a server with version '14.0.0.5050' or later.” I was totally confused as I had the same version of SharePoint in both server. Then I double checked the version and it was 14.0.4762.1000 for both servers. Getting confused I googled and found that solution. This is a bug which is fixed by SharePoint 2010 August cumulative update. The updates are available in the f...

Sharepoint 2010 & Fast Pre-requisites

FAST 2010 - http://technet.microsoft.com/en-us/library/ff381270.aspx SharePoint 2010: Windows Server 2008 R2 FIX: A hotfix that provides a method to support the token authentication without transport security or message encryption in WCF is available for the .NET Framework 3.5 SP1 (http://go.microsoft.com/fwlink/?LinkID=166231) Windows Identity Foundation for Windows Server 2008 R2 (http://go.microsoft.com/fwlink/?LinkID=166363) • Microsoft Sync Framework v1.0 (http://go.microsoft.com/fwlink/?LinkID=141237) • Microsoft Office 2010 Filter Packs (http://go.microsoft.com/fwlink/?LinkId=191851) • Microsoft Chart Controls for Microsoft .NET Framework 3.5 (http://go.microsoft.com/fwlink/?LinkID=141512) • Windows PowerShell 2.0 (http://go.microsoft.com/fwlink/?LinkId=161023) • Microsoft SQL Server 2008 Native Client (http://go.microsoft.com/fwlink/?LinkId=166505) • Microsoft SQL Server 2008 Analysis Services ADOMD.NET (http://go.microsoft.com/fwlink/?linkid=160390) • KB979917 -...

Locations for SharePoint Server Ribbon’s

Locations for SharePoint Server Ribbon’s Document Tab, Control Location Control Type Ribbon.Documents.New GROUP Ribbon.Documents.New.NewDocument SplitButton Ribbon.Documents.New.AddDocument Menu Ribbon.Documents.New.AddDocument.Upload.Upload Button Ribbon.Documents.New.AddDocument.Upload.UploadMultiple Button Ribbon.Documents.New.NewFolder Button Ribbon.Documents.EditCheckout GROUP Ribbon.Documents.EditCheckout.EditDocument Button Ribbon.Documents.EditCheckout.CheckOut Button Ribbon.Documents.EditCheckout.CheckIn Button Ribbon.Documents.EditCheckout.DiscardCheckOut Button Ribbon.Documents.Manage GROUP Ribbon.Documents.Manage.ViewProperties Button Ribbon.Documents.Manage.EditProperties Button Ribbon.Documents.Manage.ViewVersions Button Ribbon.Documents.Manage.ManagePermissions Button Ribbon.Documents.Manage.Delete Button Ribbon.Documents.Share GROUP Ribbon.Documents.Share.EmailItemLink Button Ribbon.Documents.Share.AlertMe FlyoutAnchor Ribbon.Documents...

very good alternate to RunWithElevatedPrivileges

Scenario: You might want to impersonate a specific WSS user identity before creating a new object so that WSS user is recognized as the owner of the new object. In order to impersonate a WSS user identity, you must first create an SPUserToken object. You can do this by accessing the UserToken property of an SPUser object. Once you have the SPUserToken object, you can use it to create a new SPSite object using an overloaded version of the SPSite class constructor. Solution: This is a very good alternate to RunWithElevatedPrivileges. Code: 1. SPWeb siteCollection = SPContext.Current.Site; 2. SPWeb site = SPContext.Current.Web; 3. 4. // get SPUser object and acquire token 5. SPUser targetUser = site.SiteUsers[@"LITWAREINC\BrianC"]; 6. SPUserToken token = targetUser.UserToken; 7. 8. // create new SPSite and SPWeb object to impersonate user 9. using (SPSite impersonatedSiteCollection = 10. new SPSite(siteCollection.ID, token)) { 11. using ...

SharePoint Filtered Views in List and Libraries

For lists and libraries with large numbers of items, users can access the items with a mix of views and search. The following are some suggestions for views that work well with an indexed column: Recently changed: To create a view of only the items that have changed in the past week, you can index the Modified column and then apply the filter Modified (Indexed) is greater than [Today]-7. New items: To create a view of only those items that were added in the past week, you can index the Created column and then apply the filter Created is greater than [Today]-7. My items: To create a view of only those items that you added, you can index the Created By column and then apply the filter Created By is equal to [Me]. Due today: For lists or libraries with a Due Date column, you can index that column and then apply the filter Due Date is equal to [Today]. Discussion board updates: To create a view of only the discussions that were updated in the past month, you can index the Last Up...

SQL Server Version

SQL Server 2008 R2 10.5.1720.0 SQL Server 2008 R2 CU2 25 June 2010 10.5.1702.0 SQL Server 2008 R2 CU1 18 May 2010 10.5.1600.1 SQL Server 2008 R2 RTM 12 Apr 201 Bill Graziano at SQLTeam.com has a listing of all the SQL Server versions that come in very handy: http://www.sqlteam.com/article/sql-server-versions

MCTS SharePoint 2010 Application Development 70-573 Study Guide

There are several study guides about now for example: http://blog.beckybertram.com/Lists/Exam%2070573%20Study%20Guide/AllItems.aspx and http://techtrainingnotes.blogspot.com/2010/05/sharepoint-2010-part-1-preparing-for-70.html, but I wanted to record the articles and blogs etc I’d used. To help I’ve copied in the Microsoft learning content from http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-573&locale=en-us#tab2 Working with the SharePoint User Interface (19%) Manage SPSite and SPWeb programmatically by using Visual Studio 2010 Read Inside Windows SharePoint Services 3.0 book: http://www.amazon.co.uk/Inside-Windows-SharePoint-Services-Developer/dp/0735623201/ref=sr_1_1?ie=UTF8&s=books&qid=1282250087&sr=8-1 Implement a dialog by using the Dialog Framework Tobias Zimmergren’s article on the status bar: http://www.zimmergren.net/archive/2010/03/17/sp-2010-dynamically-displaying-messages-to-your-users-with-the-notification-and-status-bar-areas-in-sharepo...

SharePoint Email alert is not working

Question: How to Troubleshoot Alerts in WSS 3.0 / MOSS Answer: The most common issue in alert is the user will get the initial email, but will not get when changes are made to the list where he configured the alert. Check the following settings in order and ensure that it is correct. 1. Is it an upgrade from V2 to V3? If yes, check the upgrade section at the bottom of this page. 2. If this is a new install of V3 (WSS or MOSS), then do the following a. Create a new web app and see if the alerts work there. If yes, you can move the content db of the non-working site to this one. If customer is not ready to do that, then try the following. b. Open the command prompt and go to the 12\Bin folder. Run this command and see whether alerts are enabled for the web application. Stsadm.exe-o getproperty -url http://problemsite -pn alerts-enabled The expected output is . If you don’t get this, run the following command to change the value. stsadm.exe -o s...

LINQPAD

For .NET Framework 4.0: & For .NET Framework 3.5: Download LINQPad.exe http://www.linqpad.net/ How to use Effectively in LINQPAD below video will explain you more…

SharePoint 2010 Announcement webpart Background color

To change the Background color of the Announcement webpart. Please find the following script tag. Open the announcement webpart home page in sharepoint designer Add the following script.

Publishing site is not listing all list & Libraries

When you are working on the publishing site by default all list and libraries it will not appear. if you want list like announcement & quick links then you need to active the "Team Collobration Lists" Feature

Taxonomy Export in SharePoint 2010

find the below code is helpful for taxonomy export public class SimpleCSVExport { public string ExportTermSet(string GroupName, string TermSetName) { StringBuilder exportData = new StringBuilder(); exportData.AppendLine("\"Term Set Name\",\"Term Set Description\",\"LCID\",\"Available for Tagging\",\"Term Description\",\"Level 1 Term\",\"Level 2 Term\",\"Level 3 Term\",\"Level 4 Term\",\"Level 5 Term\",\"Level 6 Term\",\"Level 7 Term\""); SPSite osite = new SPSite(siteUrl); TaxonomySession session = new TaxonomySession(osite); TermStore termStore = session.DefaultSiteCollectionTermStore; Group group = termStore.Groups[GroupName]; TermSet termSet = group.TermSets[TermSetName]; foreach (var topTerm in termSet.Terms) { e...

Paris 26 Gigapixels

http://www.paris-26- gigapixels.com/index -en.html Paris 26 Gigapixels - Interactive virtual tour of the most beautiful monuments of Paris www.paris-26-gigapix els.com Paris 26 Gigapixels: dive into the 26 billion pixels of the world's largest image. Visit Paris like never before!

SharePoint 2010 Root Site logo is not changing

I have changed the root site and sub sites logo all the sub sites under this root site are working fine all the layouts pages are rendering properly even in the root site itself. One more interesting thing is if you open the sharpoint site in google chrome its not happening , only its happening in IE. After i got the solution for this. i opened the Welcome Webpart page in SharePoint Designer 2010. I found that following tag is overloading the site Image then i removed it... WebPartPages:TitleBarWebPart runat="server" AllowEdit="True" AllowConnect="True" ConnectionID="00000000-0000-0000-0000-000000000000" Title="Web Part Page Title Bar" IsIncluded="True" Dir="Default" IsVisible="True" AllowMinimize="False" ExportControlledProperties="True" ZoneID="TitleBar" ID="g_1b66ac5b_4a61_4a5b_90d3_dcca012fcdfa" HeaderTitle="Welcome" AllowClose="False" FrameS...

Arabic Language on SharePoint 2010

SharePoint 2010 comes with the most wanted "Multi-Lingual" capabilities! Installation and Configuration is not that difficult too. All you need to do is the following: 1. Download Windows Server 2008 R2 Arabic Language Pack and Install (Do not download the one for Windows Server 2008!) - 93 MB ( http://www.microsoft.com/Downloads/details.aspx?displaylang=ar&FamilyID=03831393-eef7-48a5-a69f-0ce72b883df2 ) 2. Download and Install SharePoint 2010 Arabic Language Pack - 160 MB ( http://www.microsoft.com/downloads/details.aspx?displaylang=ar&FamilyID=046f16a9-4bce-4149-8679-223755560d54 ) 3. Run the Products and Technologies Wizard 4. Go to your site settings -> Language Settings and enable Arabic, ensure Overwrite Translations is left as "No" 5. For your User defined text, you can now export translations in Arabic (.resx), open in VS 2010, place the new Arabic text and then import the translation back into SharePoint! - Very cool! But please be ...

Quick Links SP2010

Powershell - web.config Add New Entry http://www.iwkid.com/blog/Lists/Posts/Post.aspx?ID=10 Color Coding Calendar http://planetwilson.blogspot.com/2010/02/sharepoint-2010-colour-color-calendar.html Event Calendar listing webpart http://www.codeproject.com/KB/sharepoint/wsscalendarlist.aspx Print List : Option in Action Menu http://www.sharepoint-tips.com/2007/01/how-to-add-print-list-option-to-list.html Hide Sign-in menu and other details for SharePoint Internet Websites http://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/a68f3a95-8f90-41c6-b63a-c40dfdbf5cef SharePoint DateTime control doesn't render styles: http://blog.richfinn.net/blog/CommentView,guid,098aafdf-9861-410b-b36b-e80d41b33cd4.aspx Sharepoint metadata http://technet.microsoft.com/en-us/library/ee424396.aspx#section2 http://www.layer2.de/en/products/Pages/SharePoint-2010-Taxonomy-Metadata.aspx#1

Search alerts have been turned off for this Search Application. For assistance, contact your server administrator.

SharePoint 2010 Search Alert : Error: Search alerts have been turned off for this Search Application. For assistance, contact your server administrator. when the user has specified search alert, they will get the above error means. Solution : Goto => Central Administration Search Service Application: Search Administration Enable : Search alert Status.

Office Web Apps 2010

I am truly excited with the potential and possibilities of Office Web Apps 2010 (comes along with Office 2010 Volume License). Users with just a browser can edit the document and save it right back on their SharePoint Server. Document formatting everything is preserved just as it is. Very useful for Secure and "reduced" environments.... Deploying Office Web Apps 2010 should be right after your SharePoint 2010 Installation and there are certain steps to be followed, which are explained quite well in technet - http://technet.microsoft.com/en-us/library/ff431687.aspx - Just follow them carefully and you will be pretty fine. After deploying when creating Word Service, PowerPoint Service applications, you will find your Excel Service Application already existing if you have installed SharePoint 2010 Enterprise Edition. Not just this, if you are planning FAST 2010, FAST gives document previews right in the search results pane if you have Office Web Apps 2010 deployed :)

Client Object Model Samples in SP2010

using (ClientContext myContext = new ClientContext(siteurl)) { /// SAMPlE : 01 myContext.Load(myContext.Site); myContext.ExecuteQuery(); Console.WriteLine(myContext.Site.Url); /// SAMPlE : 02 /// Client Object Model Using the Load Method /* myContext.Load(myContext.Web, web => web.Lists.Include(list => list.Title).Where(field => field.Hidden == false)); myContext.ExecuteQuery(); foreach (List list in myContext.Web.Lists) { Console.WriteLine(list.Title); } */ /// SAMPlE : 03 /// Client Object Model Using the LoadQuery Method /*var query1 = from list1 in myContext.Web.Lists select list1;*/ var query = from list in myContext.We...

SharePoint 2010 Training

Triad Training Services... Being the third largest selling product for Microsoft, solutions on SharePoint Server 2007 / 2010 cuts across all verticals and has had a very positive tide even during this downturn. Triad has setup a Centre of Excellence for SharePoint where we constantly research and develop software and training solutions on this technology. Triad can help you in your Microsoft SharePoint needs in 3 different ways: Provide Permanent and Contract Resources – Experienced Provide well trained and well groomed freshers on SharePoint Customized SharePoint Training SharePoint 2010 Microsoft is releasing a slew of new technologies in 2010, and one of the most important of them is SharePoint 2010. Previously known by the code name SharePoint 14, SharePoint 2010 marks a significant upgrade to the SharePoint product. Here are ten of the most important things about the SharePoint 2010 release, which is expected to be available in the first half of 2010. 10. New SharePoint editions W...