Application cannot start erorr while opening Visual Studio 2010

Here is the resolution


Cannot connect to the Configuration database error – SharePoint 2010


Resolution steps:

1. If the WSS is in a server farm, use the “SharePoint Products and Technologies Configuration Wizard” to disconnect the server from the farm.
2. Navigate to Start >Program > Microsoft SQL Server 2005 > Configuration Tools >SQL Server Configuration Manager
3. Navigate to SQL Server 2005 Network Configuration > Protocol for MSSQLSERVER
4. Right click Named Pipes and select Enable (if not enabled)
5. Restart SQL Server
6. Join back the server to server farm using “SharePoint Products and Technologies Configuration Wizard” and follow the wizards

Note: If the installation is a stand-alone installation, then you don’t need to worry about steps 1 & 6

How to find out the template of the site?


Here are the steps:

1) Navigate to the site settings page of the site
2) Click on “Save site as a template” link
3) Specify title, filename and description. The template would be saved into site template gallery.
4) Navigate to the site template gallery, click on the template and save it to your local desktop
5) Change the file extension to the .cab
6) Extract manifest.xml file
7) Look for the TemplateID
6) This ID tells you which template the site was created in.

Here are the IDs of the site templates provided out of the box. If the template ID is above 1000, then it should be a custom template:

ID 0 = Global, Configuration 0 = Global Template
ID 1 = STS or SharePoint Team Site, Config 0 = Team Site
ID 1, Config 1 = Blank Site
ID 1, Config 2 = Document Workspace
ID 2 = MPS, or Meeting Place Sites, Config 0 = Basic Meeting Workspace
ID 2, Config 1 = Blank Meeting Workspace
ID 2, Config 2 = Decision Meeting Workspace
ID 2, Config 3 = Social Meeting Workspace
ID 2, Config 4 = Multipage Meeting Workspace
ID 3 = Centraladmin, config 0 – Central Admin Site
ID 4 = WIKI, Config 0 = Wiki site
ID5, Config 0 = Blog

Pre-requisites for SharePoint Server 2010 installation

Apart from SQL Server 2005 or 2008, here are some of the pre-requisites for your reference:

• Application Server Role, Web Server (IIS) Role configuration
• Microsoft SQL Server 2008 Native Client
• Hotfix for Microsoft Windows (KB976462)
• Windows Identity Foundation (KB974405)
• Microsoft Sync Framework Runtime v1.0 (x64)
• Microsoft Chart Controls for Microsoft .NET Framework 3.5
• Microsoft Filter Pack 2.0
• Microsoft SQL Server 2008 Analysis Services ADOMD.NET
• Microsoft Server Speech Platform Runtime (x64)
• Microsoft Server Speech Recognition Language – TELE(en-US)
• SQL 2008 R2 Reporting Services SharePoint 2010 Add-in

RequireSiteAdministrator property

We will discuss about a property named “RequireSiteAdministrator” which can be used to make a feature/application page accessible only to the Site Administrator.

You would need to override the ‘RequireSiteAdministrator” property and return value ‘true’ if you would like to restrict the accessibility of a feature/application page only to a site administrator.

public class TestApplicationPage : LayoutsPageBase {

  protected override bool RequireSiteAdministrator {
    get { return true; }

SharePoint Server 2010: New SharePoint Features

  • Collaboration Qualities: Improvements
  • Design Goals: Fast & Conceptual, Simple Interface, Reusable components
  • Ribbon: All Office products with implement the Ribbon. Ribbon is a context sensitive area that redraws based on the items you select.
  • UI Improvements: AJX UI, Media Streaming capabilities, Ribbon, Troubleshooting messages, Supports standards
  • Wiki Capabilities: Enabled on all sites and pages by default.