Posts

Sharepoint Interview Questions on Sharepoint Object Model

What is a SPSite and SPWeb object, and what is the difference between each of the objects?    The SPSite object represents a collection of sites (site collection [a top level sites and all its subsites]). The SPWeb object represents an instance SharePoint Web, and SPWeb object contains things like the actual content. A SPSite object contains the various subsites and the information regarding them.    How would you go about getting a reference to a site?  Select For Unformatted Code C#:  oSPSite = new SPSite("http:/server"); oSPWeb = oSPSite.OpenWeb();  Internet Explorer 6, Netscape Navigator 6.2 or later. What does a SPWebApplication object represent?    The SPWebApplication objects represents a SharePoint Web Application, which essentially is an IIS virtual server. Using the class you can instigate high level operations, such as getting all the features of an entire Web Application instance, or doing high level creation operations like creating new Web Applications through

Configure Form Based Authentication (FBA) in SharePoint 2010

Image
Steps to Configure FBA in SharePoint 2010  Below are the steps required to configure FBA in SharePoint 2010. I will be using MS SQL database as membership store for users.   A) Setting up ASP.NET Forms Authentication User and Role Data Source  1. Create Database  2. Configure Membership and Role Provider  3. Create User B) Create Web Application and Site Collections C) Configure Web.Config file  1. Configuring FBA web application web.config file 2. Configuring Central Administration web application web.config file 3. Configuring Security Token Service web.config file D) Adding User Policy to the FBA Web Application E) Verification Steps  A) Setting up ASP.NET Forms Authentication User and Role Data Source  This section explains creation of database which is used to store user's information such as credentials and roles which is used for Form Authentication. This section also explains the configuration of Membership and Role providers in the web.

The problem is getting a blank page instead of Central Administration after the configuration of Sharepoint on the machine

Image
Cause of the problem: The following authentication mechanisms are not installed or disabled on the IIS Digest Authentication Basic Authentication Windows Authentication To install them open command prompt and run the following command Command   start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ManagementScriptingTools;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;WAS-Net

SharePoint 2013 Features

Image
http://msdn.microsoft.com/en-us/library/jj163091(v=office.15).aspx This page contains a huge amount of information on various different dev related topics. My personal highlights are Cloud App Model REST endpoints New client and server APIs Remote Event Receivers Workflow 4.0 Managed Navigation Cross-Site Publishing EDiscovery and many more Office 365 also availabe with free version.

How to Configure the ReportViewer in Sharepoint 2010

Follow The below Steps... 1. Navigate the  c:\inetpub\wwwroot\VirtualDirectories\[Your port Number] 2. Make a backup copy of  web.config 3. Open  web.config  in some text editor , may be notepad     Look for following tag , ensure  enableSessionState="true"  4. Look for    tag and add below statement as last child node ( if not there already ) 5. Look for this tag below and update version to  10.0.0.0  6. Look for   and comment the entry with  name=ReportViewerMessages

SharePoint 2010 Windows PowerShell Interview Questions

Q. What is Windows Powershell ? Ans.  Windows PowerShell is a new Windows command-line shell designed especially for system administrators. In the SharePoint administration context, Windows PowerShell is another administration tool that supersedes the existing Stsadm.exe. Q. How is Windows Powershell different from Stsadm ? Ans.  Unlike stsadm, which accept and return text, Windows PowerShell is built on the Microsoft .NET Framework and accepts and returns .NET Framework objects. In addition to that it also gives you access to the file system on the computer so that you can access registry,digital signature certificate etc.. Q. What are cmdlet's? Ans.  Windows PowerShell introduces the concept of a cmdlet which are simple build in commands, written in a .net language like C# or VB. Q. Can you Create PowerShell scripts for deploying components in SharePoint ? Ans . If you are creating a webpart with VS 2010 then you can deploy it using ctrl + f5. However, to activate the

Sharepoint 2010/2007 Interview Questions with Answers

Q. Where are the files deployed in SharePoint 2007 ? Ans.  Developers generally deploy various files in the in the 12 hive folders that make SharePoint Interface. For e.g. if a Custom Css file needs to be deployed it will go under “ C:\Program Files\Common Files\Microsoft Shared\Web Server Extenstions\12\Templates\Layouts\1033\Styles”  path. This path is well mapped with Out-of-box SharePoint components and is suppose to contain Custom and Out-of-Box Css files. Q. How are these files deployed? Ans . Solution packages or wsp are used to deploy or drop these files in various 12 hive folders. The manifest.xml (solution package file ) contains various tags such as or to drop in these files in the 12 hive. Tags in manifest.xml file are well mapped with the 12 hive folders, so all you need is to provide a virtual location for a folder under Templates to drop your file in Files. Q. How can you add an existing user control on a SharePoint Page ? Do you need to make any modifications to