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”

Advertisements

Removing SharePoint 2013 Version form HTTP Header

In some organization you may meet requirements to remove the SharePoint version from HTTP response header for security reasons.

This is a snapshot of Fiddler response header from SharePoint 2013

Our goal is remove the MicrosoftSharePointTeamServices: 15.0.0.4420

To do this,

Go to “C:\inetpub\wwwroot\wss\VirtualDirectories\<your app virtual directory>”

In the web.config file go to system.webserver >> httpProtocol >> customHeaders

Add the following line <remove name=MicrosoftSharePointTeamServices/>

Go again to fiddler to see the result

NOTE: this may effect other applications like InfoPath.

Installing SharePoint 2013 on Windows Server 2012 Error

When you try to install SharePoint 2013 on Windows Server 2012 you need to install he prerequisites before SharePoint 2013.

You may get this error.

And when you open the log file, you will see the below error

Error when enabling ASP.NET v4.0.30319

Solution

Go to Server Manager >> add roles


use Role-based


Select Web Server (IIS)


Pass the Features and Web Server Role (IIS)


You may need to restart the server after above changes


Disable Mobile Redirection in SharePoint 2013

To disable mobile redirection in SharePoint 2013 follow the below steps:

C:\inetpub\wwwroot\wss\VirtualDirectories\<your web app folder>\App_Browsers


Search for “isMobileDevice” across all file and change its value to “false” and save the file

Remove Data Connection Warning in Excel Services – SharePoint 2013

In SharePoint 2013, when you trying to open an excel sheet with external data connection, you may see the below warning:

This workbook contains one or more queries that refresh external data. A malicious user can design a query to access confidential information and distribute it to other users or perform other harmful actions. If you trust the source of this workbook, click Yes to enable queries to external data in this workbook. If you are not sure, click No so that changes are not applied to your workbook. Do you want to enable queries to external data in this workbook?”

 

Screen shot of the warning



To remove this waning, follow the below steps:

Go to Central Administration >> Manage service applications >>

Go to your excel service application and click on it to enter the service application administration page.

ExceServApp

Click on “Trusted File Locations”

Open your trusted location and clear the below Check box “Refresh warning enabled”


Click OK and try 🙂

“Open with Explorer” Disabled in Document Library – SharePoint 2013

You may notice that the button “Open with Explorer” is disabled in document library ribbon.

Firefox

Chrome

Solution:

Open the same document library in Internet Explorer as this function does not work with Firefox or Chrome

Internet Explorer


😉