This project is read-only.
1

Closed

Webparts not activating in SharePoint 2013

description

I have created a web part and run the installer ( setup2013.exe ). This successfully runs and deploys and installs the web part but will not activate it.

I have traced through the code and what I see is that in the method SiteCollectionFeatureCommand.Execute()

it iterates through a collection of SiteLoc objects ( 6 in during my debugging )

and for each SiteLoc object it then iterates a collection of GUIDS called featureList and activates them.

However the featureList always has a count of zero and therefore nothing gets activated.

Is this a bug or am I missing something from the configuration file?

Thanks.
Closed Jun 2, 2016 at 3:46 PM by PerrySharePoint
Insufficient information and no responses; going to guess this is abandoned issue.

comments

PerrySharePoint wrote Apr 7, 2016 at 1:56 AM

Did you specify one or more features in your config file?

PerrySharePoint wrote Apr 7, 2016 at 1:57 AM

By the way, it looks like you forgot to include the version of the program. It is always a good idea to be sure you specify what version of the program you are running.

wrote Jun 2, 2016 at 3:46 PM