PowerShell

Error occurred in deployment step ‘Recycle IIS Application Pool’: The local SharePoint server is not available.

For security and availability purposes we’ve moved away from using the SharePoint Farm account for development. Adding new devs to your farm can be pretty simple if you know what tools to use. Frist, I always add my devs to the local admin group. Second you need to run the following commands. This adds the domain user to the appropriate roles Get-SPDatabase | Where-Object {$_.WebApplication -like “SPAdministrationWebApplication”} | Add-SPShellAdmin domain\username…

VS2012Logo

Visual Studio SharePoint List Rich HTML Field

I couldn’t figure out how to add Rich HTML field to a List I was deploying in a project. I searched MSDN, it’s literary reference for the Type property was “DataType”. I threw my hands up. I remembered a trick I used somewhere else when I creating site templates though. So I went to SharePoint. Created a quick list and Added the field I wanted. I Saved the field as…

InitializeControl

The name ‘InitializeControl’ does not exist in the current context

I’ve ran into this error several times now. The name ‘InitializeControl’ does not exist in the current context There have been several suggestions on how to fix this, some blogs say to create a new Visual Web Part in the Template folder and copy it back into the Web Part Project and a myriad of other mumbo jumbo. I discovered the cause of the problem by reading a connect.microsoft submission,…