PowerShell to Add Entry in Web.config AppSettings

SharePoint Web applications (or any web site built on ASP.NET) uses Web.config file to store and retrieve web site configurations such as database connection strings, security, etc. web.config file is actually an XML file with .config extension, typically located at the root of your web application. You may have to add/update web.config…

Read more

Another component has already added an HTTPSessionState to the Context. Please make sure only one session state module should be registered

Problem: After changing web application properties from SharePoint central administration site to support “anonymous access”, sites started giving this error message: Another component has already added an HTTPSessionState to the Context. Please make sure only one session state module should be registered Solution: Open Web.config file of the SharePoint web application, search…

Read more

“The server could not complete your request” Error in SharePoint Designer

All of a sudden, SharePoint designer 2013 started giving an error message, “The server could not complete your request. For more specific information, click the Details button” when tried opening SharePoint 2013 sites. I’ve experienced this error with SharePoint 2010 sites as well. First and foremost, check your server’s event log for…

Read more

Enable/Disable Custom Error by editing Web.Config using PowerShell

To reveal actual errors in SharePoint, we used to turn off custom error page by editing web.config file, located in the root of SharePoint virtual directory. Open the web.config in Notepad Search for “CallStack”, Change it from “false” to “true” Search for “CustomErrors mode”, Change its value from “On” to “Off” Save…

Read more

Configuring BLOB Cache in SharePoint

What is BLOB? BLOB means Binary Large Object and refers to any binary format file that is stored as a single entity and not converted to text. Usually, BLOB files are of type images, audio/video files. What is BLOB Cache? When BLOB types of files are uploaded to a SharePoint site (E.g….

Read more

Server error in ‘/’ Application – The Resource cannot be found – Solution

In a SharePoint 2007 environment, called for fixing a issue: All SharePoint sites appeared with an error”SharePoint server error in ‘/’ Application The Resource cannot be found. “ Server Error in ‘/’ Application.The resource cannot be found.Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have…

Read more

25 Things to Document before You Start SharePoint Migration

So you are ready for SharePoint Migration? Before starting with Migration process, You must document things on the current environment, which includes, but not limited to: Document Existing SharePoint Server’s Topology (preferably in Visio format), Roles, Hardware/Software Specifications, Installed Updates, Software installed, Language Packs, etc Prepare a List of SharePoint Web Applications,…

Read more

SharePoint Web Services Exposed to Anonymous Access Users

Accidentally found my SharePoint Test environment’s web services URLs are exposed in Google as anonymous access! and I was able to access the web services anonymously! Even though SharePoint web services exposed by anonymous access, SharePoint will not allow anyone to do beyond their access rights. Say for e.g. In order to…

Read more

Create Custom 404 Page Not Found Error Page in SharePoint

Do you have a custom 404 error page that you would like to use for your SharePoint site? If not, then don’t worry! This blog post will show you how to create one in no time to improve your site’s usability. A custom 404 page can be beneficial when a user mistypes…

Read more

Error: This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application.

When I tried deploying/retracting a solution file (.wsp), got this error: This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application.This is because, This solution has a feature assembly that should be deployed to GAC globally, and not with a particular web application….

Read more