Visual Studio 2011 beta and Windows 8 Consumer Preview

Microsoft has announced Visual Studio 2011 beta and Windows 8 Consumer Preview
Visual Studio 11 Beta
http://www.microsoft.com/visualstudio/11/en-us
Windows 8 Consumer Preview
http://www.microsoft.com/Presspass/press/2012/feb12/02-29Windows8CPPR.mspx
Check it out!!

PDF Files in SharePoint Online – Improved Access

Recently Office 365 received an SharePoint Online: Service Update which comprised of the below mentioned feature support

  • Enterprise Readiness
  • Recycle Bin Enhancements
  • External Content Sharing
  • PDF Support Enhancements

However, out of the above the one which I really liked was extending the support for PDF files. Now with this update you can open PDF files directly in Adobe Reader – and the PDF file will remain connected to SharePoint Online. You can also edit and save your changes to SharePoint Online from the desktop. And further, you can now use versioning (check-in and check-out) with PDF files for better management and review. Note: you should have pdf version 10.1.2 client More details:
http://community.office365.com/en-us/b/office_365_technical_blog/archive/2012/02/21/sharepoint-online-service-update.aspx

Farm Solution Deployment Lock and Removal

Farm Solution Deployment Lock may occur when a solution (.wsp) deployment fails unexpectedly.
Solution Deployment in SharePoint happens through the timer jobs. When you deploy a solution along with the deployment job a timer job named “Solution Deployment Job Lock” is created which store the deployment job’s id and the lifetime of the job is till the deployment job is completed. With this SharePoint ensures that no two deployments conflict with each other.

From the above we can conclude that in SharePoint one deployment job happens at a given time courtesy the solution deployment lock. Hence using this feature SharePoint ensures that no more than one deployment or retraction can happen at a given time.

So, why are we discussing this here. Ideally the lock is released once a deployment or retraction has been released, but there might be some cases when this lock doesn’t get released i.e. for some reason the timer job responsible for the lock does not get deleted. For instance as mentioned earlier that the solution deployment/retraction is done by a timer job and for some reason the timer service gets terminated leaving the lock unreleased.

To recover from this lock you need to use the following PowerShell command which releases the solution deployment lock.

Remove-SPSolutionDeploymentLock