Search This Blog

Sunday, June 19, 2016

Issues During Development

A feature with ID has already been installed in this farm. Use the force attribute to explicitly re-install the feature.

Steps through Visual Studio 2010:

1. Go to your Features in your project.
2. Open the feature.template.xml file add AlwaysForceInstall="TRUE" to the below tag Now try to deploy the code.


Steps through PowerShell:

In PowerShell, you can use the -Force parameter of the Install-SPSolution commandlet in order to force the installation of a solution:
"Install-SPSolution -Identity -GACDeployment -Force "

 


Deployed Solution containing visual web part not showing up in Custom category web part for insert on page of Sharepoint 2013.

After you deployed the solution package did you activate the Feature that adds your Web Part to the Web Part gallery (it will be in Site Collection Features).

This is done for you automatically by the deployment tools in Visual Studio but you need to do it manually when you deploy to production.

Path :==> Site Action ==> SIte Settings ==> Go to Site Collection Administration ==> select site Collection feature ==> where to active Your feature.


 


No comments:

Post a Comment