SharePoint 2013 Configuration Database Connection String

You can find the connection string for SharePoint 2013 configuration database in register path, here:

“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\Secure\ConfigDB”


Log Parser Path in Windows Server 2008

After installing Log Parser 2.2, you can find the logparser.exe in the following path

C:\Program Files (x86)\Log Parser 2.2

Then you can make a queries from IIS log like below query

C:\Program Files (x86)\Log Parser 2.2>LogParser “select c-ip, count(c-ip) as IPCount from C:\inetpub\logs\LogFiles\W3SVC1385076070\u_ex131221.log group by c-ip”

SharePoint 2010 Definitions

I would like to share with some of terms used commonly in ShaerPoint 2010.

Offline database is used when there is a need of transporting databases from one location to another location during this status the available disk space can be increased.

Log shipping is a process of automating a backup of database from primary server and then restoring them to another standby server to increase the database availability by maintaining a backup server that can replace the production server quickly.

System Center Data Protection Manager (DPM): it is a software product from Microsoft designed to help the IT administrators to manage windows environments.

The benefits of using this tool in SharePoint 2010 are:

  • Provide the ability to backup and restore at the Farm, Web Application, Site, or content item level.
  • Provide the ability to backup and restore the directories that contain customizations.
  • Can also backup and restore server system state, including IIS configuration settings.
  • Requires a less processing on the server

Application Register Service: enable users to search and collaborate around business data. It provides backward compatibility to Business Data Catalog (BDC). Application registry service support solutions depend on BDC object model.

Business Data Connectivity: is an upgraded version of Business Data Catalog. And it contains a set of services and features to connection SharePoint 2010 to external data sources.

NTLM: it is a protocol to authenticate users and computers based on authentication challenge and response way. The NTLM does not send passwords or hashed passwords across the network.

SharePoint Recycle Bin: the SharePoint 2010 has two stages recycle bin. When a user delete an item, this item automatically sent to first stage recycle bin and when this item deleted from recycle bin to send to second stage recycle bin which only site collection administrators can restore it.

How to Get the Current Executing Method in C# ?

Many times we need to know the current executing method in C# specially in catch of exception, there is simple way to do this.

catch (Exception ex)
 string currMethod=new System.Diagnostics.StackTrace().GetFrame(0).GetMethod().ToString(); }