Sharepoint 2013 installation

Step 1:

Windows server 2010 R2
SQL Server 2012

Step 2: Run: prerequisiteinstaller.exe

Step 3: Login with AD account

Using Sharepoint 2013 Products Configuration Wizard to config the Sharepoint 2013



Error(s) occurred while gathering data for the AppFabric Dashboard. Review details for additional information. Unable to cast object of type ‘System.Management.Automation.PSCustomObject’ to type ‘Microsoft.ApplicationServer.Management.Data.GroupByInfo’.

AppFabric Installation Failed on Windows Server 2012, MSI returned error 1603


While installing the preReqs for SharePoint 2013 i stuck at AppFabric installation when i got error “Appfabric installation failed because installer MSI returned with error code:1603″. After a long search i found the solution which i am listing here as well.

Open RegEdit and search “PSModulePath”, you will be shown the following screen:

Right click PSModulePath and select Modify…

At the end of Value Data you will find an extra ” which needs to be removed. Once removed, re try the installation and it will be successfull.

SharePoint 2010 Problems and Solutions: Common Issue

Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly ‘System.Web.DataVisualization, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.



– Download & install MSChart.exe:

– start Windows Sharepoint Services Search

– Reboot server


Creating Fixed Width websites in SharePoint 2010

Sharepoint 2010 pages are rendered with flexible layout i.e. they stretch as according to the browser resolution. Flexible layout pages are not desired for public websites as it would damage the look and feel of the website. For this reason most  websites are created with fixed width pages.  Creating fixed width sites in Sharepoint 2010 is acheived by making few CSS tweaks to Sharepoint Master page style sheets.

The default Sharepoint 2010 flexible layout sample is shown below

Default Sharepoint 2010 layout


Adding the below CSS code to the core.css file  will change the Sharepoint 2010 site layout to fixed width and the websites will appear consistent in any browser resoution


overflow:auto !important;

margin: auto;

Sharepoint 2010 website after applying the fixed width tweak will appear as below


Sharepoint 2010 fixed width website

To learn more about IOTAP Sharepoint website development and branding visit
Sharepoint WCMS page

SharePoint 2010 – Fixed width, center-aligned layout

SharePoint 2010 – Fixed width, center-aligned layout

As a web designer there are many unique challenges you’ll face when customizing a SharePoint site that you probably won’t experience anywhere else. Tasks that sound simple can sometime take hours to get functioning correctly, and other seemingly complicated feats can be accomplished in a matter of minutes through your browser interface.

Recently I’d been working on a SharePoint site that posed some unique challenges.  One of my biggest challenges turned out to be creating a fixed width, center-aligned layout. More specifically, the site needed to be optimized for an 800×600 screen but would also need to scale to 1024×768 for the occasional user on a higher resolution monitor.

So, a “semi-flexible,” fixed width, center-aligned layout for a website. Simple, right? This actually proved to be somewhat of a challenge. Capping the width of certain SharePoint elements prevented some elements from scaling, put scroll bars in weird areas, and cut off certain areas of text. Frustrating! But after some research plus a lot of trial and error I got it to work. The solution is actually pretty simple after all!

I added this to my CSS:

#s4-bodyContainer {

max-width: 1024px !important;




This code tells the container element to not grow any larger than 1024px wide.  SharePoint does the rest because out of the box the site will scale down to about 800px wide.

Here’s what you see at 800×600:

At 1024×768:

And at 1280×768:

Downside:   If you have a lot of content (for example a bunch of columns in a Document Library) some of those columns might overflow the container.  This isn’t optimal, but you do get a horizontal scroll bar to view this long line of text.

That said; just remember this constraint when building your site.  A fixed width design may or may not be the best solution for your intranet site.  Intranets are meant to be fluid because users are constantly uploading and changing content.   A fixed design might not be adaptable enough to handle these changes.

Bonus: Want the top ribbon to align with your content, too? Add this to your CSS:

.ms-cui-ribbonTopBars {

max-width: 1024px !important;




.ms-cui-ribbonTopBars > div {

border-bottom:1px solid transparent !important;


Here’s what you get:


Note: This will not center the rest of the content in the ribbon–only the top bar.

Well, how do you center the entire ribbon, then? My advice is don’t. Attempting to center the entire ribbon will only cause you headache. You’ll be left with broken behaviors and wonky button layouts. The ribbon is just too important to mess with. Leave it alone!

Permission String for Security Trimmed Controls in SharePoint

Suppose you want to display certain WebPart (or the entire page) to limited audience. You can do this using Security Trimmed Controls. It looks like:

<Sharepoint:SPSecurityTrimmedControl runat=”server” Permissions=”DeleteListItems”>
Only users with DeleteListItems permissions will be able to see this content.

All you have to do is wrap your control with this security control and set the correct permissions in the Permissions attribute. The Permissions attribute, when used in Visual Studio or Designer, will have intellisense and will be filled with the following properties obtained from Whatever permissions you specify will be required by the user in order to view the control(s) inside of the SPSecurityTrimmedControl:

Member name Description
EmptyMask Has no permissions on the Web site. Not available through the user interface.
ViewListItems View items in lists, documents in document libraries, and view Web discussion comments.
AddListItems Add items to lists, add documents to document libraries, and add Web discussion comments.
EditListItems Edit items in lists, edit documents in document libraries, edit Web discussion comments in documents, and customize Web Part Pages in document libraries.
DeleteListItems Delete items from a list, documents from a document library, and Web discussion comments in documents.
ApproveItems Approve a minor version of a list item or document.
OpenItems View the source of documents with server-side file handlers.
ViewVersions View past versions of a list item or document.
DeleteVersions Delete past versions of a list item or document.
CancelCheckout Discard or check in a document which is checked out to another user.
ManagePersonalViews Create, change, and delete personal views of lists.
ManageLists Create and delete lists, add or remove columns in a list, and add or remove public views of a list.
ViewFormPages View forms, views, and application pages, and enumerate lists.
Open Allow users to open a Web site, list, or folder to access items inside that container.
ViewPages View pages in a Web site.
AddAndCustomizePages Add, change, or delete HTML pages or Web Part Pages, and edit the Web site using a SharePoint Foundation–compatible editor.
ApplyThemeAndBorder Apply a theme or borders to the entire Web site.
ApplyStyleSheets Apply a style sheet (.css file) to the Web site.
ViewUsageData View reports on Web site usage.
CreateSSCSite Create a Web site using Self-Service Site Creation.
ManageSubwebs Create subsites such as team sites, Meeting Workspace sites, and Document Workspace sites.
CreateGroups Create a group of users that can be used anywhere within the site collection.
ManagePermissions Create and change permission levels on the Web site and assign permissions to users and groups.
BrowseDirectories Enumerate files and folders in a Web site using Microsoft Office SharePoint Designer 2007 and WebDAV interfaces.
BrowseUserInfo View information about users of the Web site.
AddDelPrivateWebParts Add or remove personal Web Parts on a Web Part Page.
UpdatePersonalWebParts Update Web Parts to display personalized information.
ManageWeb Grant the ability to perform all administration tasks for the Web site as well as manage content. Activate, deactivate, or edit properties of Web site scoped Features through the object model or through the user interface (UI). When granted on the root Web site of a site collection, activate, deactivate, or edit properties of site collection scoped Features through the object model. To browse to the Site Collection Features page and activate or deactivate site collection scoped Features through the UI, you must be a site collection administrator.
UseClientIntegration Use features that launch client applications; otherwise, users must work on documents locally and upload changes. 
UseRemoteAPIs Use SOAP, WebDAV, or Microsoft Office SharePoint Designer 2007 interfaces to access the Web site.
ManageAlerts Manage alerts for all users of the Web site.
CreateAlerts Create e-mail alerts.
EditMyUserInfo Allows a user to change his or her user information, such as adding a picture.
EnumeratePermissions Enumerate permissions on the Web site, list, folder, document, or list item.
FullMask Has all permissions on the Web site. Not available through the user interface.