No back button
If your web app just can’t tolerate a user clicking the back button, you can tell the browser to not cache the page. Most of the time it will listen if you use this code, which covers all the bases:...
View ArticleSharePoint error in Event Log
If you notice the following error in the event, there is a simple fix. The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob (ID...
View ArticleSharePoint generic handle web part error
If you have web part that has code behind to do something (like add data to a list) and it has an exception during processing you need a way to display that error. Here is a generic method I use to...
View ArticleHow to deploy a workflow through PowerShell
Every time I go to deploy a workflow from outside Visual Studio I forget the PowerShell commands. So I decided to finally write up what I do. Here’s what I do. Step 1 add the solution. Add-SPSolution...
View ArticleHow to deploy a feature through PowerShell
Every time I go to deploy a feature from outside Visual Studio I forget the PowerShell commands. I found the Corey Roth has a great blog entry about it and I end up going there. So I decided to finally...
View ArticleHow to remove a feature with PowerShell
Here are the PowerShell commands to remove a feature. Step 1 Uninstall the feature. Uninstall-SPSolution -identity “<WSP FileName>” (For ex, Uninstall-SPSolution -identity...
View Article