Questions tagged [feature-activation]

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.

68 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
363 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' ...
3
votes
2answers
834 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 ...
2
votes
0answers
255 views

How to prevent anonymous access to _layout pages

I am JR.System Admin in Sharepoint and I am trying to prevent anonymous users to access _layouts pages. I used this shell command with this instructions: get-spfeature -site http:// maximum.dmzisbank ...
2
votes
2answers
349 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': ...
2
votes
0answers
339 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 ...
2
votes
0answers
231 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: _layouts/15/PickerTreeView.aspx?title=...
2
votes
2answers
608 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 ...
2
votes
2answers
1k 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
505 views

Deployment Issue with Custom FIeld Types

SHORT DESCRIPTION Custom Field Types are not being correctly deployed/activated on all but one Virtual Machine. I have several VMs with identical SharePoint environments. I have a Visual Studio ...
2
votes
1answer
565 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 ...
2
votes
0answers
149 views

Site is Provisioned but Content Type List is still empty

I have this feature that I am trying to run in order to configure a site, this feature among other things creates pages based on content types, etc. The problem I am facing is that every time i am ...
1
vote
0answers
21 views

DocID Property is not Present on Some Sites

I've been trying to activate the DocID feature on certain sites in our Site Collections. On each site collection we have the DocID feature activated following these instructions. For a long time we ...
1
vote
0answers
117 views

Enable Hidden Feature for Newsfeed Why?

I have seen Blogs where you can activate the "Hidden" News Feed Web Part though PowerShell and then add it to a Standard SharePoint Team Site. Enable-SPFeature -Identity "6928b0e5-5707-46a1-ae16-...
1
vote
0answers
20 views

SPLibrary: New Field added to Default View: Field still missing after update

I'm attempting to create a Site-Collection Feature in SharePoint 2013 that will create a new Site Column when activated, add this site column to every document library in the collection, and then ...
1
vote
0answers
330 views

Powershell Error on activation feature Enable-SPFeature : Object reference not set to an instance of an object

I an trying to activate a feature on site collection. I can activate/deactivate it manually and deactivate via PowerShell but when I try to activate it via PowerShell I get error of object reference. ...
1
vote
0answers
1k views

SharePoint Online error - One or more field types are not installed properly. Go to the list settings page to delete these fields

Today i ran in to an error "One or more field types are not installed properly. Go to the list settings page to delete these fields". I activated the SharePoint Sever Publishing Infrastructure ...
1
vote
0answers
200 views

Error on activating/upgrading a site template

A site template of site collection-X was used to create a subsite on site collection-Y, both are on SharePoint Online. I was thrown errors that a list of features were Not Activated/Not Licensed. I ...
1
vote
1answer
264 views

SharePoint Online - Create a site out of site template - feature issue

I was trying to archive a site saving it as site template. I wanted to create another site using this site template, here i ran in to the issue, On further investigation i understand that a hidden ...
1
vote
1answer
39 views

How to prevent multiple webpart instances after feature re-activation?

Every time I'm activating the feature that contains my webpart, a new webpart instance is added to the page layout. Do I want to this web part being replaced by its new version? What is the parameter ...
1
vote
1answer
3k views

Is it safe to deactivate Workflow feature

I am unable to publish a SharePoint 2010 workflow due to the following error: “Could not publish the workflow because the workflow configuration file contains errors.” Several posts suggest ...
1
vote
0answers
28 views

Block Feature activation for a site template

Is it possible to block feature activation for a specific site template in SharePoint using C#?
1
vote
0answers
32 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 ...
1
vote
0answers
79 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 ...
1
vote
2answers
253 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
0answers
114 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: application/json;...
1
vote
0answers
57 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. ...
1
vote
1answer
260 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
519 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
0answers
125 views

Call FeatureInstalled method on feature activation and after FeatureActivated

I like to call FeatureInstalled method of feature after the FeatureActivated method. How can I call FeatureActivated method from FeatureInstalled? I have a module in feature and it will adding the ...
1
vote
1answer
513 views

Problem to modify web.config in runtime

I'm trying to modify the web.config file when the feature is activated with the code below: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPWebApplication webApp ...
1
vote
1answer
766 views

Cannot activate SharePoint Publishing Feature

despite placing the following code in my onet.xml, the publishing feature is not activated. <Feature ID="A392DA98-270B-4e85-9769-04C0FDE267AA"> <!-- PublishingPrerequisites --> </...
1
vote
0answers
774 views

Try to activate a web site feature. Error: Failed to create feature receiver object from assembly

I am using sharepoint 2007. I have created some custom solution in visual studio 2008. In this solution there is an event receiver "FeatureActivated". I have deployed this wsp to my sharepoint ...
1
vote
0answers
1k views

Set Record Declaration Settings programmatically

I created a feature receiver whereby on activation will activate and set certain features and its properties. One of that feature is InPlaceRecords. Below is my code in the FeatureActivated method:- ...
1
vote
0answers
213 views

Using templates from a site under 'My Site'?

One of our customers has created a My Site area (with default settings), and then created a new site 'TestSite' in their content area. When they try to create a new site in another My Site area (on ...
0
votes
1answer
22 views

sharepoint publishing feature changed my main navigation bar

I enabled sharepoint publishing feature, because I needed anchor feature. For some reason, this changed my navigation bar. I do not know what to call it, but the first link was moved above the other ...
0
votes
1answer
14 views

Create an owner group firstly include the site current user and assign permissions full control to it

i have used this code but when i deploy nothing changes : public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite site = properties.Feature.Parent ...
0
votes
1answer
89 views

Error when Deactivating Farm Feature - Failed to load receiver assembly

I have a farm feature that was updated by PowerShell with the following: Update-SPSolution -Identity FILE.wsp -LiteralPath "PATH\TO\FILE.wsp" –GACDeployment I'm trying to deactivate and then ...
0
votes
1answer
383 views

Feature activation fails “Unable to locate the xml-definition” for content types not in the feature

SharePoint 2013 on-prem. Farm solution with Web scoped feature that deploys without problems when deploying directly from VisualStudio. However, when trying to activate the feature in the normal way ...
0
votes
1answer
79 views

SharePoint 2010 Error adding a Feature Event Receiver

I want to add a Feature event receiver, that add a webpart to a page, I followed the steps in this link But when I tried to deploy it , I hade the following error : Error occurred in deployment ...
0
votes
1answer
554 views

Failed to instantiate file from module: The specified list does not exist

I'm trying to add new pictures in a pre-existing library name My_lib using solution deployement. Here is my Element.xml <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas....
0
votes
0answers
286 views

Runtime Error on server while activating site collection feature

I have creating content type using visual studio. while activating site collection feature i'm facing this error
0
votes
1answer
128 views

Publishing Pages creation during Site creation through site definition

I have deployed a custom site definition.. Features available in onet.xml are - Site Features- SharePoint Server Publishing Infrastructure Publishing Workflow feature Web Features Office ...
0
votes
1answer
487 views

how to use a reusable workflow in a different site collectoin

I have create a 2010 workflow in SharePoint designer 2013 I have globally published a workflow and it appears now in my site collection at root site and every sub site in it. I want to deploy this ...
0
votes
0answers
45 views

Error deploying in production ONLY

I have a SharePoint solution, consisted of 2 features. The first feature is consisted of 5 SharePoint 2010 workflows, and some web pages. The second one is empty and has a feature event receiver that ...
0
votes
0answers
35 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 ...
0
votes
1answer
267 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 ...
0
votes
0answers
32 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 ...
0
votes
1answer
29 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
24 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 { ...
0
votes
0answers
265 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 ...