Fix for new SPSite object error: “The Web application at [URL] could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.”
This is where I log all things SharePoint. I have worked on various versions of SharePoint. So, each post will usually specify what version I'm talking about (some times, the post will apply to pretty much all versions). Beyond SharePoint, this section may also hold content pertaining to other related Microsoft technologies like Office 365, Azure, C# (C Sharp), PowerShell, etc.
Two PowerShell code snippets for getting a list of SharePoint users in a website. Just supply the absolute URL of the site collection. The second script also checks and prints out the users’ permissions on a specified SharePoint list.
SharePoint developers and IT pros are familiar with the “sign in as different user” menu option in SharePoint 2010. However, in Microsoft SharePoint Server 2013, you will notice that this menu option is missing.
A while ago, I noticed a peculiar behavior with one of my custom SharePoint workflows. Tasks were getting locked out after the first edit. The first edit proceeds fine but when we attempt to edit the task a second time, we get an error like this:
This task is currently locked by a running workflow and cannot be edited.
For quick reference: C# and PowerShell code snippets to grab the SharePoint central admin url for a farm.
This article provides manual and programmatic methods of clearing the SharePoint designer cache for both SharePoint 2010 and 2013. Clearing the cache will remove any past connection history as well provide you a “clean slate” to work from.