Issue in SharePoint Folder name with apostrophe ( ` ) and Launch Dialog property of List / Library

In SharePoint list / library items are created for storing the data. Generally user wants a granular structure for maintaining data and for this they creates folder and place their items. Now, if “Launch Dialog” box property is set to “Yes” for this list / library, then details are shown in dialog box. Now if folder name contains apostrophe ( ‘ ) then JavaScript fails in SharePoint and dialog box will not open for all items which are placed inside that folder.

In SharePoint, certain characters are not accepted while creating folder names : ~ ” # % & * : < > ? / \ { | }.
But apostrophe ( ‘ ) is accepted by SharePoint in folder name, and above mentioned issue will applicable only when launch dialog property of list / library is enabled.

If dialog box of items are not opening properly, then look for all parent folders of that item and check whether those folder contains apostrophe ( ‘ ) or not. If yes, then rename that folder name by removing apostrophe.

SharePoint file download interrupted

In previous article SharePoint file download programmatically, we knows about downloading a file from document library and prompting the user to save it in Internet Explorer. When working on a custom SharePoint application and tries to download file from Internet Explorer, I received a download interrupted error most of the time. My web application was hosted in SharePoint on-premise environment. It is working without any issue in Google Chrome but failed to download in Internet explorer.

Continue reading SharePoint file download interrupted

Error occurred in deployment step ‘Recycle IIS Application Pool’: Object reference not set to an instance of an object

When working in TFS environment, sometimes project failed to deploy with error “Error occurred in deployment step ‘Recycle IIS Application Pool’: Object reference not set to an instance of an object“. The issue is the missing “Package” folder in SharePoint project.

Impact of missing “Package” folder

  1. If you have created the custom list using Visual Studio 2012 (or 2013) then the designer of list will not open and it will show the “Schema.xml” file instead.
  2. When deploying the project “Recycle IIS Application Pool’: Object reference not set to an instance of an object” error occurred.

Continue reading Error occurred in deployment step ‘Recycle IIS Application Pool’: Object reference not set to an instance of an object