In this post we will discuss how we can resolve the issue which comes when we deploy a timer job into SharePoint 2016 on premise environment. While we were developing a custom timer job we faced the issue. The error comes as:
Error occurred in deployment step ‘add solution’ a timerjobprocess feature with ID FeatureID has already been installed in this farm. Use the force attribute to explicitly re-install the feature. It looks like below:
Error occurred in deployment step add solution a timerjobprocess feature with ID FeatureID
Also you can read: Retrieve all site collections under particular content databases using PowerShell and SharePoint 2016 server object model
Open the solution in visual studio 2015, open the feature and then press F4 which will open the Properties windows. In the Properties windows, by default Always Force Install will be False. Make that to true. So the property should be look like below:
After this when you will deploy from visual studio 2015, the error will not come.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.