Questions tagged [farm-solution]

Farm solutions are packaged as SharePoint solution package (WSP) files that contain assemblies, other non-compiled components, and an XML manifest file. A farm administrator uses Windows PowerShell, the STSADM command-line tool, or the SharePoint Central Administration Web site to install solution packages to the server environment.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

SP19 - Site Collection Features - shows all features across all collections

We have a new Sp19 installation with 4 different web applications with 1 site collection each. We deployed then some farm solutions to the specific sites. When I open the list of Site Collection ...
0
votes
0answers
13 views

Where are feature definitions/field definitions stored in the Farm and how can I delete / un-cache a field definition?

I have a solution with some field definitions and content type definitions as part of a Site scoped feature. One of the field definitions was originally this: <Field ID="{GUID}" Name="...
1
vote
1answer
23 views

Deploying Event Reciever

I Know that event receiver should be deployed as a sandbox solution. But what if I deploy it as a farm solution. Is there any negative impact or not.
0
votes
1answer
46 views

UN-installing a Farm solution is stuck on Retracing for more than 2 hours

We have a sharepoint ennterprise server 2013. and i want to remove a farm solution. so i did these steps:- 1- i went to all the site collections >> Disable the feature. 2- i run this command:- PS C:...
3
votes
1answer
95 views

How making changes to a third-party solution file.wsp

I have a third-party solution "file.wsp" that I don’t have the source code for it, I want to make a change to it, how can I tell it to tell me articles and examples? Thanks to all.
0
votes
1answer
65 views

SPWeb object properties turn to “null reference exception”

I am currently working a Farm Solution that is supposed to work with SharePoint 2016 and I am facing something that I can't understand. Maybe someone could explain this phenomenon or point what I am ...
0
votes
0answers
14 views

Add controller to SharePoint 2013 farm solution

I am trying to create an Odata service for SharePoint 2013 farm solution. I tried installing Simple.OData.Client via script manager but I do not see any option to add the controller. I tried the ...
0
votes
1answer
36 views

SharePoint Version Upgrades - Are these farm solutions still viable?

I'm upgrading our SharePoint environment, and was just going over over the farm solutions. The past administrators simply added solutions from past versions "Just in case" but I can't find what some ...
2
votes
0answers
60 views

Sharepoint 2016 - Subsite creation - There is no memory

I have a problem with SharePoint 2016 that I am struggling with. I cannot find the reason why, but when I try to create a subsite, I always get the following error: There is no memory on the server ...
0
votes
0answers
25 views

How to create Web API controller in SharePoint 2010 Farm solution

I am trying to build the services in SharePoint 2010 farm solution which would connect to SQL database and return the response in JSON. I tried exploring and all I could find was that I can build Web ...
3
votes
1answer
365 views

Anybody tried Farm solution in SharePoint 2019 on-premise?

It is about SharePoint 2019 Preview (on-premise, server edition, not Online) Internet says that code-based sandboxed solutions are deprecated. But I can't see anything about farm(full-trusted) ...
0
votes
2answers
240 views

Powershell script to deploy/move a wsp/solution file from local drive to SharePoint 2016

I am new to an On-Prem environment. I am trying to automate the deploying or moving of Farm based solution and wsp packages from a local drive to SharePoint 2016 site collection. I am a newbie to ...
0
votes
0answers
14 views

Custom solution for Email notification in sharepoint site

I want to develop a solution as when users log in to SharePoint intranet site he can view how many numbers of emails he received today as notification and notification for new emails, so for this ...
1
vote
0answers
34 views

How to find out if a solution is deployad with -FullTrustBinDeployment parameter

I am trying to find a piece of PowerShell script that gives me the list of solutions deployed with FullTrustBinDeployment parameter.
1
vote
0answers
32 views

Can i convert a .XLSX file to a PDF inside my server side event receiver

I am working on developing an Event Receiver inside my SharePoint farm 2013. now inside my event receiver i am trying to do the following:- to copy a .xlsx file from a document library. add the file ...
0
votes
1answer
53 views

Can i get my Event Receiver source code from a WSP file

I was working on a sharepoint 2013 farm solution to implement an event receiver inside visual studio 2012 professional. now when i try to build/run the project i got an error that there is not space ...
0
votes
1answer
24 views

How i can get the Label for a managed metadata single value column inside my event receiver

I am working on building a server-side event receiver for SharePoint on-premises 2013. now I have a single value managed metadata column named "OrderCustomerName", and I want to get the term Label, as ...
2
votes
4answers
2k views

EnsureUser() will return the following error “The specified user could not be found. ”

I am working on developing a server side event receiver inside sharepoint on-premises farm 2013. Inside the code i have the following, which will retrieve a string from a drop down list column ...
1
vote
2answers
146 views

Unable to copy/paste a file between 2 document libraries using c#. Error “The URL is invalid.”

I have the following code inside my Event Receiver, to copy a file from a document library named "Templates" to a sub-folder inside our "Shared documents" library SPDocumentLibrary template = (...
0
votes
1answer
47 views

Why hidden fields will always be null inside my ItemUpdated Event receiver , if i checked them using properties.AfterProperties

I am working on a SharePoint 2013 on-premises farm. and i have added an ItemUpdated event receiver for my custom list, as follow:- public override void ItemUpdated(SPItemEventProperties properties) ...
5
votes
1answer
462 views

How to resolve “Your search cannot be completed because no Search service is available. Contact your administrator for more information.”?

I am working with SP2016 Farm solution. I have configured a Search Service on my farm, customized the result source too. When I use the result source in Content Search WebPart on SharePoint Page, it ...
1
vote
1answer
111 views

SharePoint 2013 solution deployment stuck with Not having access to DB

While installing the solution on production it was stuck there for longer time. When ran the stsadm -o enumdeployments command, it is giving me following error <State>Pending</State>...
1
vote
1answer
91 views

Install new developed features into Sharepoint 2013 production

I've restored a backup from my Intranet production environment into development environment, which I got some errors related to pages layouts. I can ignore this at this time, but my issue is how to ...
0
votes
1answer
80 views

Problems deploying farm-solution

After doing the solution retract and removed, I ran the command --> Add-SPSolution -LiteralPath 'pathSolution.wsp' However, when I access the 'Manage farm solutions' page, there is no solution for me ...
1
vote
1answer
14 views

SharePoint App communcation

Currently in the development of a SharePoint farm solution for my company. I am questioning the decision of a farm solution and I would like some input. A summary of the custom application: Custom ...
2
votes
2answers
176 views

unable to get all the term sets under a term group inside my event receiver

I am developing an ItemUpdated event receiver inside my on-premises farm 2013. and inside my event receiver i want to get all the term sets under a term group. so i define the following :- using (...
1
vote
1answer
29 views

how i can set the “Allow this site to appear in search results?” for a site to be equal to No inside my event receiver

I am working on an item updated event receiver, and i want to set the "Allow this site to appear in search results?" for a site to No. now using the UI i can set it as follow:- but i am note sure how ...
0
votes
1answer
346 views

How to call external REST queries in SharePoint 2013 farm solution

Is there a way to call external REST api in SharePoint wsp? I am having REST api to particular site from where I have to bring the data. I know that we can call in javascript easily by using SP.Proxy (...
2
votes
1answer
77 views

Feature in SharePoint farm solution not showing web part items

I have created a farm solution and added existing SharePoint items like Columns, CT, Event Receivers, Web parts. While adding items to features(created manually) I can get site columns, CT, Event ...
2
votes
1answer
188 views

Transition to Add-in & SharePoint Framework

Taking the case of a company which works on SharePoint since a while and have engineers trained to develop full-trust solutions. So, they develop full-trust solutions to add functionalities to its ...
1
vote
2answers
134 views

Unable to hide a list column inside the list content type inside my event receiver

I have the following ItemUpdated event receiver inside my sharepoint farm 2013. now inside my itemupdated event receiver i am creating a new sub-site, then inside a list titled "Risk & Issue", i ...
1
vote
1answer
358 views

Cannot deploy farm solution retract solution and feature not installed

I'm having some trouble for deploy a farm solution from Visual Studio 2012 Ultimate: The error says: Error occurred in deployment step 'Retract Solution': Object reference not set to an instance ...
3
votes
1answer
93 views

Future of Farm Solutions for Sharepoint

As per the new MS article about phasing out of SandBox solution and moving on to APP only solution, what is the future of Farm solution. As per the below article - https://technet.microsoft.com/en-...
0
votes
1answer
148 views

Visual Studio 2013 cant connect to sharepoint site, on same server

i have a problem, sorry for my english. I have a virtual server where I have installed SharePoint 2013 Enterprise, SQL Server 2012 R2 and Visual Studio 2013. When opening visual studio 2013 and ...
1
vote
1answer
497 views

Returning an error message inside my event receiver using “SPEventReceiverStatus.CancelWithError;” will redirect to “Server Error in '/' Application.”

I am working on a team site inside my SharePoint server 2013 on-premise. Now I have two lists: one list is based on the built-in "Issue Tracking" list template. the other list is based on the built-...
0
votes
0answers
45 views

Event recevier will fire twice when i create a list based on another list template [duplicate]

I am facing is strange behavior inside my sharepoint 2013 on-premise farm. here is my problem:- i have created a custom list , and i added many site columns to it . i name the list "Projects". i ...
1
vote
2answers
140 views

Can i apply JSLINK to my WebPart inside my Event Receiver

I have an event receiver which get fired when and item is create. the event receiver will create a new sub-site based on a site template. here is part of the code which is responsible for creating the ...
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
242 views

Unable to use LocalCustomProperties[“_Sys_Nav_TargetUrl”] inside my event receiver . Exception “The given key was not present in the dictionary. ”

I am working on an Enterprise wiki site collection inside SharePoint Server 2016. and i wrote the following event receiver which get fired when an item is updated, here is part of my event receiver ...
0
votes
2answers
124 views

If i have an Event Receiver inside my SharePoint 2013 ,, is it suppose to work in sharepoint 2016 as-is

I am created many Event Receivers inside SharePoint server on-premise 2013. using the following technologies: visual studio 2012. the event receivers mainly got executed when list items are updated, ...
1
vote
1answer
367 views

SharePoint Solution Deployment Error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information

Team, I am using Visual Studio Enterprise (2015) Version-14.0.25420.1, Office Developer Tools latest preview is installed. When I am trying to Build a SharePoint 2016 Empty Project, it Builds ...
2
votes
1answer
701 views

How to move C# wsp from SharePoint 2010 to SharePoint Online

I want to migrate a SharePoint 2010 .WSP (developed in C#) solution in Farm Basis to SharePoint Online. Please advice how to do this. I know in SP online Site Setting --> Solution we can upload the ...
3
votes
0answers
179 views

Why should we set Scope to 'Web Application' in Timer Job?

Though we are activating feature from web application still web(sub site) or site collection comes under the Web Application scope , what is specific reason to select scope as "Web Application" Thanks....
1
vote
1answer
379 views

Difference between Elements.xml and Schema.xml

Let's say I have following elements in my solution: Site Column: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Field ...
0
votes
1answer
37 views

Activating Site Template programmatically

I'm deploying a custom Site Template (wsp) through Visual Studio with the code shown below: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="IRBaseTemplate" List="...
5
votes
1answer
2k views

Difference between Farm solutions and Provider-hosted Apps

I have been reading quite a lot about SharePoint 2013/2016 lately and I am not sure I am able to see the difference between Farm Solutions and Provider Hosted App. Please correct me if I am wrong: ...
1
vote
0answers
247 views

SharePoint WSP slow deploy time from Visual Studio

I have a fairly large solution divided on 24 SharePoint projects in order to reduce deploy time during development. However, even with this careful architecture (being careful not to put too many ...
0
votes
1answer
91 views

An Event from TaxonomyHiddenList will be fired inside my Item Added Event receiver

I am working on an item added event receiver. the event receiver will fire when an item inside a generic list is added, and it is scoped at the web level. here is the elements.xml file:- <?xml ...
3
votes
0answers
39 views

Changing calender view with month scope sp2013

I want to change the calender view to a week view. I know the default way through the webpart setting. But the week view scope is to big. Is it possible to get just one part of the month view like in ...
0
votes
1answer
66 views

How i can get the current PublishingSite & PublishingWeb from SPItemEventProperties inside my Event Recevier

I have an publishing site collection using the enterprise wiki site collection template inside my sharepoint server 2013. And inside the root site of my site collection i added a custom list named "...