More News
SharePoint Developement

The remote server returned an error: (502) Bad Gateway – While connecting to Sharepoint server

Recently, I got tangled with this “The remote server returned an error: (502) Bad gateway” problem when my custom webservice, which is using SP Client object model, failed to access sharepoint list. To troubleshoot this issue, I tried to login to the sharepoint site from the remote server using the same credentials under which my […]

SharePoint Developement

Create and host a WCF service in SharePoint 2010

Recently, I came across a scenario where I had to hit sharepoint using client object model to query data from the entire site collection. Most of you must be aware that Client object model doesn’t provide an API that can query data from all the lists in a site collection. Therefore, I had to create a WCF service in Sharepoint which used […]

Sharepoint Administration

Restore-SPSite : The site collection could not be restored. If this problem persists, Please make sure the content databases are available and have sufficient free space.

A very common error in sharepoint when you try to restore sitecollection using powershell. Error message is very clear and simple. All you need to do is ask your database administrator, ensure that content database has enough space and rerun the Restore command. But is it this straightforward? Actually, No!! You would not have been reading […]