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.
161
questions
0
votes
0answers
35 views
Failed to find the XML file at location '16\Template\Features\customFeature\feature.xml'
Working on SharePoint 2016 onPremise, migrated from 2010 and 2013. Now I was cleaning up some not anymore used features. I simply went into central administration -> system settings -> manage ...
1
vote
0answers
13 views
Using unmanaged dlls in sharepoint farm solution
I have a SharePoint 2016 project with several application pages (farm solution).
In my code, I use un-managed dlls with DllImport attribute. To use them, I copy these dlls to System32 folder.
Is ...
0
votes
1answer
19 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 ...
1
vote
1answer
25 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.
3
votes
1answer
105 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
152 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
1answer
58 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
157 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 ...
3
votes
1answer
903 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
583 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 ...
1
vote
0answers
78 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
36 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
85 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
37 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 ...
3
votes
4answers
6k 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
169 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
85 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)
...
6
votes
1answer
624 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 ...
2
votes
1answer
193 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
165 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
88 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
312 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
46 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
533 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
96 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
221 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
236 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
844 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
101 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
260 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
692 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
55 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
175 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
106 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
318 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
211 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
454 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
1k 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
189 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
581 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
66 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="...
7
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
305 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
166 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
43 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
83 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 "...
0
votes
1answer
29 views
incorrect documentation about the SPItemEventProperties.OpenWeb() method inside visual studio 2012
I have the following event receiver which will get fired when a custom list item is created, and the event receiver is scoped at the site level.:-
public override void ItemAdded(...
1
vote
1answer
246 views
Differences between using properties.OpenWeb() and using properties.Web inside my event receiver
I am building an event receiver inside my sharepoint 2013 . the event receiver will fire when an item is updated. here is the related code:-
public override void ItemUpdated(SPItemEventProperties ...
0
votes
1answer
592 views
Can i get the current user whose action caused the ItemUpdated event receiver to fire
I have the following event receiver inside my sharepoint server 2013, the event recevier get fired when an item is updated and i am running it with Elevated Privileges :-
public override void ...