Monday, July 29, 2013

SharePoint 2013 tutorials and e-books free download

This is the important collection of e-books I have studied to understand the new concepts of SharePoint 2013. I believe they will be very useful to all my readers as well. Enjoy all the collection of books and leave me comment if you find any e-book which is good for learning easy SharePoint 2013 and all it's new concepts. Good luck.

  1. SharePoint 2013 for Dummies
  2. Beginning SharePoint 2013
  3. Beginning SharePoint 2013 Development
  4. Professional SharePoint 2013 Development
  5. Explore SharePoint 2013 (What's new in SharePoint 2013) 
  6. Deployment guide for SharePoint 2013
  7. SharePoint 2013 Technical Library in Compiled Help
  8. No code solutions using SharePoint 2013 Composites
  9. SharePoint 2010 Vs SharePoint 2013 Feature Comparision for Business Users 
  10. Software boundaries and limits for SharePoint 2013 (For architecture)
I hope you get time to read all these to gain plenty of knowledge on SharePoint 2013 and keep rocking!

Wednesday, July 24, 2013

Download Service Pack 2 for SharePoint 2010

Here is the download link for SP2 for SharePoint 2010. *The Service Pack is a roll-up of all previously released updates.*

Service Pack 2 for Microsoft SharePoint 2010 (KB2687453)

More detailed list of packages / CU's included in this SP2 are mentioned here.

Wednesday, July 17, 2013

Error occurred in deployment step Recycle IIS Application Pool

This is the most annoying error in deploying a solution to SharePoint via Visual Studio. There are many reasons behind this error. It could be permissions, server configuration. So, I am planning to write all solutions here. :)

Complete Error Details:
Error occurred in deployment step 'Recycle IIS Application Pool': 0x80070005Access denied.

Solutions:

  1. Visual Studio should be running as Administrator. (As the solution is deploying to the server and which requires the admin privileges we must run as Administrator)
  2. User must be a local administrator on the server and should be a member of WSS_Admin_WPG. (Should need access to control IIS and App pool recycling operations)
  3. User must have owner (db_owner) access to the SharePoint Content database. (To deploy the package and activate feature at site collection level) 
  4. User must be a part of Farm Administrators group. (Adding solution package to FARM)
  5. Finally, check the current user is a site collection administrator on the site which the solution is deploying to. (This is very important!)
Hope you are good to go after following all the above instructions. Happy deploying!

Saturday, July 13, 2013

Adding inline styles in SharePoint 2013 page layout

This is another tip which will help you in branding the SharePoint 2013 sites. In SharePoint 2013 when we create a page layout from design manager module then in SharePoint Designer we observe one html file and one aspx page got created for page layout. This is the implementation in SharePoint 2013 for master pages and page layouts. The customization we have to do it in HTML page. SharePoint framework will convert from HTML to ASPX automatically.

For example, if we like to hide the left navigation from the current page layout pages then we will add simple below style to PlaceHolderAdditionalPageHead placeholder.
Once you save the html file then you observe that the style is not applied to page. I have applied simple styles to the page and still they are not applied to any element on the page. After checked the ASPX converted file in Designer I found that the Style is converted as
Which means browsers will ignore executing these CDATA styles. So, these styles will not be applied. After long research and reading many articles found the helpful information from MSDN article. I see there are new implementations in SharePoint 2013 branding. Below is the correct implementation we have to use to write style to the page.
Hope you bookmark another new tip into your mind.:)

Thursday, July 11, 2013

SharePoint 2013 Best Practices

Best post ever on SharePoint 2013. :) Go through from top to bottom without missing any line of link, code, tools etc. But, it will take days to complete the article. LOL

SharePoint 2013 Best Practices

MVC support for Apps in SharePoint 2013

Interesting? Yes, it is the most interesting and surprising news in VS2013 preview release. With Visual Studio 2013 preview now you can create Apps in MVC as well. When you are creating a new APP you can select between ASP.NET web forms and ASP.NET MVC.

These options can be available when you choose Auto-Hosted or Provider-Hosted app for SharePoint. We all know the SharePoint-hosted apps won't allow server side programming. :) When you created an app using ASP.NET MVC model then you see the same folders and structure as in mvc web site. Complete model is same as regular MVC implementation. The new things for you might be are the SharePoint filter and context files. The project provides a set of APIs, defined in the Filters\SharePointContextFilterAttribute.cs and Filters\SharePointContextFilterAttribute.vb, and SharePointContext.cs and SharePointContext.vb files for C# and Visual Basic projects respectively...

SharePointContextFilter: Filters can be useful for switching back and forth between SharePoint and remote web application. Mostly when the SharePoint site need authentication etc.

SharePointContext: This is for communicating the App with SharePoint objects.

To test the new implementation you should download the VS 2013 preview now and start doing the innovation things. :) Enjoy the new learning day to day.