What do you do if you are running powershell on your SharePoint farm and get the “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.” error. You have someone who has the rights to run powershell add your user as SP Shell Admin. Add-SPShellAdmin -username DOMAIN\YourUser That’s quite the nobrainer, but what happens if… Read more
There is always a point in sharing.
While migration a legacy application to a new server environment we ran into the issue that the Report Viewer was not rendering its controls correctly. The Report Viewer was running on a webserver that was calling the reporting services on a SQL server within the same domain. Authentication was Kerberos, SPNs were properly defined and… Read more
During our project we ran into the “Cannot generate SSPI context” error message. We were using a WCF service to retreive information from SQL. It took quite a while to figure out where it came from as we were not using Kerberos (which is usually the case when this error pops up, see http://support.microsoft.com/kb/811889 )…. Read more
As a reference to people running code that is talking to Active Directory and are getting this cryptical message. In most cases it is a permissions issue. Make sure that your code is running under the application pool account (meaning SPSecurity.RunWithElevatedPrivileges) and that this account has the necessary rights to do so on AD…. Read more
When you are experiencing the following issue in your SharePoint 2010 environment (in my case the error was happening when certain feature receivers had to be executed): To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging. do not start going… Read more
The SharePoint 15 Technical Preview SDK has just been released. As you know, this is a technical preview and not the final SDK of the product. Enjoy hunting the new stuff 🙂 http://www.microsoft.com/download/en/confirmation.aspx?id=28768 … Read more