A feature-activation is a process which makes a feature active programatically, using power shell or through a web interface. A feature needs to be active in order to be used.

learn more… | top users | synonyms

0
votes
5answers
2k views

Can't deploy custom content type

I have an content type in my feature, and sudenly when I tried to debug my feature, i got the following error: Error occurred in deployment step 'Activate Features': The content type with Id ...
2
votes
2answers
19 views

Error with site collection daily resource usage quota

Recently I've added an event receiver to a sandbox feature, but since I added it, whenever I try to deploy the feature, I always get the message Error occurred in deployment step 'Add Solution': ...
0
votes
1answer
15 views

Feature activation running slowly on one environment

We have 3 farms, Dev, QA, and Production. Feature activations are running very slowly on the QA environment only. I have a custom feature that deploys files out to the style library and changes the ...
2
votes
2answers
90 views

Activate Approval, Collect Feedback, and Collect Signatures workflows for a site collection?

All workflows are active except for Approval, Collect Feedback, and Collect Signatures. Everything I've read says to go to Site Collection Features and activate Workflows. I've done this, but ...
2
votes
1answer
2k views

How can I activate a wsp solution uploaded to solution gallery via code in SharePoint 2013

I'm creating a site definition which provisions a subsite based to a webtemplate(wsp) file. This webtemplate file is packed in a feature containing a module.When the feature is activated the wsp file ...
0
votes
1answer
667 views

Disable auto activate feature

I have a really strange behaviour, I'm working with SharePoint 2007 and I have a feature web application scoped, and i don't want it automatically being activated on deploying the solution, but it ...
0
votes
1answer
616 views

“The system cannot find the file specified” message while deploying new feature

I'm trying to deploy a new feature on sharepoint 2010 with scope web. The deploy seems to run successfully, but the feature is not prensent in feature manager. While visual Studio deploys the ...
2
votes
2answers
48 views

Change GUID in lookup column

I have a sandbox solution in SharePoint . I have created number of site columns, Content Types , list definitions and list instances. Everything has individual feature. For Ex: Site column ...
2
votes
2answers
180 views

Error occurred in deployment step 'Add Solution': Specified argument was out of the range of valid values

I've been working o a Timerjob project. All of a sudden, when I try to deploy the solution from VS, I got this error: Error 1 Error occurred in deployment step 'Add Solution': Specified ...
1
vote
0answers
25 views

Sandbox solution getting error on on prem

Sandbox solution gives me error : Unhandled exception was thrown by the sandboxed code wrapper’s Execute method in the partial trust app domain: An unexpected error has occurred from below ...
0
votes
1answer
18 views

Activate site scoped solution programmatically

I have a requirement to Activate/Deactivate Site Scoped Feature. I need to Activate/Deactivate on sites. I did deploy it and when I try to add it to a site collection an exception appear. This's the ...
4
votes
6answers
7k views

Identify moss features from GUID

We are using a site definition and it has 3 feature dependencies that we are struggling to identify: <ActivationDependency FeatureId="7EDD3C9C-8AC6-4ab5-A209-30B5DC422464" /> ...
1
vote
0answers
43 views

Permission Feature activation/deactvation. How do I reset default permissions again?

Basically what I want to do is give admin the ability to lock an aspx for certain users through a read-only permission feature, so they can't upload/remove documents if the "case" is closed. The ...
0
votes
0answers
11 views

Prevent / Revert Feature Activation on Exception

I have a custom feature. In the FeatureActivated event receiver, I am trying to check if the user is a Term Store Administrator or not and if not, I am throwing an SPException. I actually don't want ...
0
votes
0answers
20 views

How to speed up feature re-activation?

Upgrading my solution in production takes forever and I'm looking for ways to improve the typical feature reactivation upgrade scenario. What actually goes on in the features vary greatly and I'm ...
2
votes
0answers
112 views

Activating a Web-scoped Feature using SharePoint 2010 CSOM fails with ArgumentException on featDefScope

I'm trying to activate a Web-scoped feature using the Client Object Model in SharePoint 2010. The code works when activating a feature in SharePoint 2013, but when run against SharePoint 2010, I get ...
0
votes
1answer
24 views

Enterprise Collection Features (Specifically Infopath Forms) will not activate

I am trying to implement the Enterprise Site Collection feature set on my school's SharePoint 2013 Enterprise implementation, but when I go into Site Settings -> Site Collection Features and ...
-1
votes
1answer
42 views

Can't see feature on my webApplication

I did a solution for a SPJobDefinition. Feature scope is WebApplication as required. I have event featureActivated but when i deploy solution. When i go to CA -> Manage WebApplication -> select one ...
0
votes
1answer
54 views

Transfer custom web template to new site, features not activated-Sharepoint 2013

I have a web template created in site collection A and have been requested to copy that web template to site collection B. To do this, I downloaded the web template solution by going to the solutions ...
1
vote
2answers
49 views

Access denied during TimerJob activation

I have a custom timer job that kicks off a workflow on a items in a Custom list. When trying to activate it I encounter this error: 09/08/2015 11:16:26.93 w3wp.exe (0x1B170) ...
1
vote
2answers
9k views

How to activate infopath services for sharepoint site

I want to work with infopath services available in sharepoint 2010 environment. My machine has inforpath designer and filler 2010. When I went to site collection features --> Sharepoint server ...
2
votes
1answer
432 views

Sandbox solutions - Prevent auto activation of site collection features

Question: Does anyone know a way to activate a sandbox solution in SharePoint Online without having the site collection features automatically activated? Background info: I have done a bit of ...
3
votes
2answers
102 views

Modify SharePoint Quicklaunch on Feature Activation

i want to edit the SharePoint Quicklaunch. I put the following code into the Feature Activated EventReceiver. SPNavigationNodeCollection nodeCollection = spWeb.Navigation.QuickLaunch; ...
1
vote
2answers
14k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
1
vote
0answers
22 views

Site Feature Activation

I have a sharepoint list that creates a subsite once approved. I need to activate a feature via the workflow rest call. I have built the following dictionaries Headers: Accept: ...
0
votes
0answers
21 views

Feature activation powershell commands for SP 2010 to 2013 migration

I heard there is a new Feature activation Powershell command which is used for migration of customization from SP 2010 to 2013. Has any one used these command in real-time? Can we depend on this ...
2
votes
0answers
67 views

Reprecussions of deactivating or force activating SharePoint Server Publishing Infrastructure feature

I am receiving an error when I try to activate the SharePoint Server Publishing feature on a sub-site: Content type '0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39' ...
2
votes
1answer
77 views

Activate Site Feature - SharePoint Server Publishing - is this possible to do this automatically in O365?

Is it possible to Activate Site Feature - SharePoint Server Publishing in the O365 environment using workflow, a web service or a combination of workflow/web service or any other way? We have a ...
10
votes
5answers
8k views

Replace the Default Page in a SharePoint WebSite

I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we ...
2
votes
3answers
6k views

Microsoft SharePoint is not supported with version 4.0.30319.225 of the Microsoft .Net Runtime

So, the story is the following: I just joined a team of an existing sharepoint project, sharepoint is installed RTM on all environments, from DEV to production. But because its 2 companies working ...
1
vote
1answer
83 views

Couldn't activate my feature because my ClientTag had reached 32767

While deploying my solution in visual studio in my development environment I came across a very strange issue. While uploading some master pages defined in my an Elements.xml file, the deployment ...
1
vote
0answers
25 views

How to update spjob

I've a solution sharepoint 2010 for a job that i want to update. So i did in powershell an update-spsolution and restart sharepoint timer job For testing, i changed the start hour in event of my job. ...
0
votes
0answers
57 views

SharePoint PickerTreeView throwing null exception

When clicking the browse button for selection of document library or site null exception error occurs. This is the url of the popup that opens: ...
0
votes
0answers
9 views

V.S. 2013: Problems with Feature

I have a problem with the features. When i double-click the Feature1, I get an error : Sequence contains no matching data. I tried deleting the directory ...
0
votes
1answer
22 views

Feature not activating, til 2nd attempt, no error

I have a custom feature that, when activated, alters a document library (adds content types, sets up views, attaches a workflow). For some reason, the first time I activate the feature nothing seems ...
0
votes
1answer
12 views

Object Reference Error when trying to check for activated features using windows forms app

var feature = spSite.Features.SingleOrDefault(sf => sf.Definition.DisplayName.ToLower().Equals(strFeatureName));//Error block if (feature != null)//if feature is activated { ...
1
vote
3answers
4k views

'useragent not available file operations may not be optimized' error when activating SP 2013 workflow feature

I have a staging environment where I restored a Production backup file. The site works fine. However when I deploy my custom SP 2013 workflow and activate the workflow feature, I get the below ...
0
votes
1answer
30 views

How to deactivate the delegate control feature after its first load?

I have created a delegate control and it works fine. Inside this delegate control I add a webpart to the welcome page. Thats it! After this action I would like to deactivate the delegate control ...
1
vote
1answer
172 views

Cannot set unknown member 'LookupSPListItem.ItemId'. Error on Workflow Feature Activation

I have a SP 2013 workflow feature that needs activation, when I perform the stsadm command and get the below mentioned error: Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML ...
0
votes
0answers
195 views

Error occurred in deployment step 'Activate Features': Object reference not set to an instance of an object

I have added following code under feature activation method: The scope of feature is: Site public override void FeatureActivated(SPFeatureReceiverProperties properties) { try ...
0
votes
1answer
27 views

Lookup column, using one or two features?

I have 2 lists with a lookup column. I'm thinking about 2 choices. Even putting them in the same feature or separate them in 2 features. My question is : Does putting the lists in the same feature in ...
0
votes
0answers
99 views

Activate features by code when site created -Onet.xml

I created a new sub site from custom site template. I deployed my custom web template to this site collection. I create a new site and select my custom web template. But I dont understand, why I need ...
0
votes
1answer
153 views

Creating sub site in feature receiver does not work always in sandbox solution

I have created a sandbox solution in which there is one feature for creating two sub-sites. In the event receiver of that feature I have created two sites programmatically. The code is as per ...
0
votes
2answers
35 views

Always i have to manually deactivate and activate feature manually?

I have a feature scoped to web. Every time i deploy my wsp using visual studio i have to manually go to the site feature and deactive and active feature to see my latest changes. Is there any setting ...
0
votes
1answer
70 views

WorkflowHistoryList feature not activating

I'm trying to attach a standard Approval Workflow 2010 to a document library however the powershell script I am using is throwing an exception in the follownig spot: # Create Workflow History list if ...
2
votes
3answers
2k views

Error when deploying SharePoint feature: The specified list does not exists

I'm using SharePoint 2010 Foundation and Visual Studio 2010 Ultimate. I'm working on a Web Parts with two features: Feature1 - My Web Parts Feature2 - Contains two Visual Studio module with CSS and ...
0
votes
2answers
237 views

Add Custom Web Part to newly created page programmatically

I created a custom web part for SharePoint 2013 and I would like it to be added to a blank page that is created for it. I looked it up and found out, that the I can add an Event Receiver to the ...
1
vote
0answers
227 views

Error occurred in deployment step 'Activate Feature': Could not load file or assembly

I have an itemAdding event that I am trying to add to a custom content type (inherits from Document). During activation I get the following error: Error occurred in deployment step 'Activate ...
1
vote
1answer
46 views

Problems breaking inheritance and giving permission to manager

By using feature stapling we activate a feature that creates a custom list on a users profile in my site web-application each time a new my site (site collection) is created for a user. We want to ...
0
votes
1answer
396 views

Activate the site collection publishing feature gives error: The content type “Page Layout” at “/teams/T200001/_catalogs/masterpage” is read only

I have a sp 2010 site collection. When I try to activate the site collection "SharePoint Server Publishing Infrastructure" feature I got this error: The content type "Page Layout" at ...