How to change Service Account password in SharePoint 2013

If for some reason you had to change the Service account password (in AD) used by SharePoint 2013 internally to execute the services, application pool etc., then you need to run the following to make sure that SharePoint is updated properly on the new password changes, otherwise you may get the below errors :

The password for the account domainName\AccountName, as currently stored in SharePoint, is not the same as the current password for the account within Active Directory

Continue reading

16,488 total views, 1 views today

How to create a basic (“Hello world”) SharePoint app

This blog provides step-by-step instructions to develop a basic “hello world” SharePoint app.  If you are new to the SharePoint app world, then please read my previous blog to get an intro to the “App Architecture” and its benefits before proceeding further.  For those who has an understanding on the SharePoint App model, please read further :

Continue reading

20,965 total views, 2 views today

SharePoint App Model Architecture Overview

What is an App?

An app in SharePoint is a solution that connects to a SharePoint server/installation via client-side API’s (JSOM), CSOM or REST.  It can either be embedded into a SharePoint page or can be deployed as a seperate application that leverages OAUTH 2.0 protocol to authenticate and access SharePoint functionality.  They are managed through the “App Management Service” to manage, secure and license apps.  Since the interaction between the App and SharePoint is controlled through OData-compliant REST interface, remote .Net client API’s and OAuth security protocols, an app can be developed in any language with any development tool.  Apps can be developed either through Visual Studio 2012 or by using web-based development environment called Napa Office 365 Development Tools available free of charge.  Apps can be purchased from SharePoint store (a public app marketplace) where users can find free and premium apps that can be installed onto individual sites (or managed through the App catalog).

Continue reading

6,341 total views, no views today

Into to the (New) IIS Worker Process Feature

What is IIS Worker Process?

IIS Worker processes are spawned by WAS (Windows Process Activation Service) and executed by W3wp.exe.  The concept of Worker Process was introduced in IIS 6.0 which helps to physically isolate applications during execution and achieve true process isolation.  In other words,  every ASP.NET Application when hosted in IIS will be loaded into a Worker Process (when the first request is received), at which point the Application_Start event is fired in Global.asax to handle custom logic relating to application initialization.

How are Worker Processes controlled and managed?

Worker Processes are controlled through the settings defined in the Application Pool, Web.Config, Machine.Config and through "appcmd" command line utility. Even though most of the times we leave majority of the settings unchanged, when facing issues related to performance, security etc., one would need to dive deep to modify the settings appropriately to maintain application health in the long run.

Continue reading

2,105 total views, no views today