Tuesday, December 9, 2014

Registering new apps in SharePoint App Catalog

You will get an Access denied to the appregnew.aspx unless you are an SCA on the App catalog site collection.

Wednesday, June 4, 2014

Entity Extraction and list item with attachments


We also have a number of lists having list items with one or more attachments.  In our case, we enabled the OOTB entity extraction to produce some additional refiners. If you have enabled entity extraction on the "body" managed property, entity extraction will fail on any list item with an attachment and that list item and its attachments will NOT be indexed, and as a result, will not appear in search results.
Microsoft is in the process of developing a hotfix for this. When we successfully apply it, I will post our results

Source: http://social.technet.microsoft.com/Forums/sharepoint/en-US/9a958806-ed69-478e-8290-4ce6a6ea8c2c/the-content-processing-pipeline-failed-to-process-the-item-issue?forum=sharepointsearch

Saturday, May 17, 2014

401.2 in my provider hosted app

I kept getting the 401.2 error when I switched from IIS express to IIS to host my Provider hosted web form app. Thanks to this awesome blog (http://blogs.technet.com/b/speschka/archive/2012/11/01/more-troubleshooting-tips-for-high-trust-apps-on-sharepoint-2013.aspx) , I fixed the authentication. Anonymous disabled, Windows Integrated Mode enabled and problem solved.
 

Provider Hosted Apps and host header names in IIS

http://lixuan0125.wordpress.com/2013/09/26/sharepoint-2013-apps-404-error/

VSCommands for Visual Studio

VSCommands for Visual studio is a Visual Studio extension that provides a lot of short cuts for the most common things you do in VS. As a first step, I was able to group my files without having to use folders. Just highlight the files you want to group, right click and group items. 

Full Trust Provider Hosted App - Cert folder permission

This is something I wouldnt worry about on my dev environment, since my app pool account is also my farm admin  since I use a single account for everything. But this is important when deploying an app to test/production.


On the SharePoint server, be sure that the app pool identity for the following IIS app pools have Read rights to the C:\Certs folder:
  • SecurityTokenServiceApplicationPool
  • The app pool that serves the IIS web site that hosts the parent SharePoint web application for your test SharePoint website. For the SharePoint – 80 IIS website, the pool is called OServerPortalAppPool.
Source: http://msdn.microsoft.com/en-us/library/office/fp179901(v=office.15).aspx

Tuesday, May 13, 2014

Windows Service marked for deletion

I tried to use the sc.exe delete "Servicename" and it said that the "Service has been marked for deletion". Earlier, I had used installutil /u to uninstall it. Since, both of them did not work, I wasnt sure what else I had to do. Then, I realized that I had the services MMC open. Close it and the service gets deleted.