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 ...

learn more… | top users | synonyms

4
votes
3answers
720 views

How to programmatically modify item level permissions prior to first save?

I've got a situation where there are strict permissions requirements on an a list of which I already have written a custom form. The requirement is that upon creation, based on metadata, only certain ...
4
votes
2answers
150 views

Solution package for a specific webapplication

I have created a solution package using the makecab tool that contains a feature and a DLL which will be installed on the GAC. Its getting deployed globally however I want to deploy it for specific ...
4
votes
1answer
408 views

Farm scope Event Receiver

For some security reasons on one of our farm level solutions, we need to limit some actions using Event Receiver-FileMoving event. However, as known, event receivers can be deployed only by Site or ...
3
votes
4answers
54 views

Make lists hidden that users can still contribute to but not see

I have a scenario in which I want users that belong to a site collection to be able to edit a list through an application but not see the list itself. I have made a farm solution in SP2010 that is ...
3
votes
1answer
392 views

Does Create Content Type need to be a farm solution?

I've found a couple of examples of creating a content type using visual studio. http://stevemannspath.blogspot.com/2010/11/sharepoint-2010-leveraging-visual.html ...
2
votes
1answer
440 views

Modifying ListForm Save & Close button through JsLink

I am currently porting a internly used SP Farm-Solution from 2010 to 2013 and am struggling with the new concept of JsLink. In the 2010 solution we had overwritten the RenderingTemplate ListForm to ...
2
votes
1answer
92 views

Could a bigger sleep time be the solution for a failed update?

I have a problem with a update of a solution on farm. So we have changed some features and added two features. The main changes were done to the main feature of the solution. On our test cloud it ...
2
votes
1answer
307 views

Is SPUtility.MakeBrowserCacheSafeLayoutsUrl Method useful at all?

I've noticed a solution that might help you to control caching of javascript files. There is a method SPUtility.MakeBrowserCacheSafeLayoutsUrl. MSDN says this method: returns a new URL that will not ...
2
votes
1answer
471 views

How to Deploy Custom list definition in Central admin so that it appears in all WebApps I create?

I have created a custom list definition with my custom fields Now I want to deploy my feature in farm level i.e 1 When I deploy my solution in central admin as a farm solution that particular list ...
2
votes
1answer
394 views

Best Practices for re-scheduling and starting the specific timer job using code

I have a situation where some of the code needs to re-schedule the specific timer job and start it according to new schedule. The timer jobs actually writes (need permissions) into the SharePoint ...
2
votes
1answer
2k views

How can I ensure that an Assembly is deployed to the GAC on all Servers in a Farm

I have a SharePoint Solution that contains an Assembly that contains an SPTimerJobDefinition that must be deployed to the GAC on all Servers in my farm. I have configured my farm in the following ...
2
votes
1answer
343 views

Add content type from sandboxed solution to list definition (farm solution) does not work

I'm using a sandboxed solution from a 3rd party vendor which contains some site columns and a site content type. I want to add this content type to my document library definition in CAML. But when I ...
2
votes
0answers
324 views

Why does WSP Deployment Type 'ApplicationServer' require features to be manually installed?

When I create a WSP with Deployment Type set to WebFrontEnd and deploy, all of the features contained within are automatically installed. Features that are set up as ActivateOnDefault="TRUE" (Farm or ...
1
vote
3answers
3k views

Update a existing deployed farm solution

I've deployed a farm solution to a test environment by following the Technet Deploy solution packages page - works well. But development continues, and I need to redeploy. When I follow the process ...
1
vote
3answers
1k views

Deploying the same WSP file with a different name

I have created wsp file using Visual Studio 2010 that servers an application pages in site. My solution file name is "Portal.wsp". I have already deploy this solution file on my server it running ...
1
vote
2answers
342 views

Security Exception attempting to deploy a solution

I must have upset SharePoint somehow as I can't use the Central Administration to deploy an installed solution. Everything I do returns the wonderful '[SecurityException: Access denied.]' error. ...
1
vote
2answers
100 views

Accidently retracted two solutions, but timer is not running

I've accidently retracted two solutions from the farm in WSS3 but luckily the timer is not running so the jobs did not run. Now when I go to Solution Management I see "Error" for their deployment ...
1
vote
2answers
1k views

How to trace the ListAdded event for the entire SharePoint 2010 farm?

In our SharePoint 2010 environment, we want to enforce the users to choose the option "show user names in the survey list" (survey list) however there may be a time when user may choose "No" to this ...
1
vote
2answers
674 views

Where is SPSecurity? Not in Microsoft.SharePoint.dll 15.900.0.0

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.aspx says Microsoft.SharePoint.SPSecurity is in Namespace: Microsoft.SharePoint Assembly: Microsoft.SharePoint (in ...
1
vote
1answer
478 views

How far can I go with SharePoint 2013 Apps?

I am really new to SharePoint 2013 and only worked for a brief period of time in SharePoint 2007 about 5 years ago (so i do not remember much). I have to plan now an extranet and it will probably be ...
1
vote
2answers
90 views

what is best practice for automating site structure creation?

I'm working on creating a website in SharePoint. I need a way to automate what I have done until now. For example I have created a web application and two site collections and bla bla. Now I have two ...
1
vote
2answers
44 views

How shall i approach this scenario

I am a asp.net developer but not done sharepoint development before. Below is my scenario: 'Company A' has asked to me to create a new home page for their intranet. 'Company A' is currently using a ...
1
vote
1answer
627 views

Updating an uncustomized master page deployed as a wsp solution

I deployed an uncustomized master page as a SP 2010 Server farm solution using these instructions http://plekky.com/blog/Lists/Posts/Post.aspx?ID=11 Now I need to update the master page. I edited it ...
1
vote
3answers
223 views

VS2010 Workflow Update Deployments Failing to Update System Account Codebase

I've been suffering through an issue I haven't managed to find much documentation on over the past several weeks as I've begun working on my first custom workflow project. I have a workflow solution ...
1
vote
1answer
128 views

CSOM in FarmSolution

I am having troubles to get it running and wanted to ask you if you know if it is possible to use CSOM in SP 2013 Farm Solutions? I constantly get an 401 unauthorized exception. Here is how I create ...
1
vote
2answers
512 views

How to handle DLLs in GAC

Lets say I have a third party webpart which uses a DLL and pushes it into the GAC. Moreover I have custom webpart which I developed which also uses the same DLL but in a different version which is ...
1
vote
1answer
559 views

Add solution from within event receiver - how to sort out “access denied” errors?

I'm handling the WebProvisioned event in order to add and deploy a solution that's relevant to the site being created. The solution is being created dynamically based on parameters of the site but for ...
1
vote
1answer
1k views

Add multiple farm solutions using power shell (Not Deploy)

I am trying to migrate around 200 wsps from one SharePoint 2010 farm to another. I have already copied the wsp files to a folder in the new farm. I need a powershell script that can take the path of ...
1
vote
2answers
2k views

Reading/Writing Cookies in farm WebParts - SharePoint 2010 Server

I have farm solution Visual web part, with the following write and read cookies methods void writeCookie(Guid thisVoteGuid, string pollID) { HttpCookie pollCookies = new HttpCookie(COOKIE_NAME); ...
1
vote
2answers
11 views

how to deploy .wsp to all servers in the Sharepoint 2007 Farm

What is the stsadm -o command for deploying .wsp solution file into all servers in the SharePoint 2007 Farm? My second question is: How i can check with already deployed .wsp solution if it is ...
1
vote
0answers
17 views

MVC web api in sharepoint 2013 farm solution

How to consume the MVC web api in SharePoint 2013 farm solution? When I try to consume with httpclient I cannot refer to the assembly WebApiRestService.WebApiClient, it's showing error as not strong ...
1
vote
1answer
20 views

How to Add Custom Action To Task List in SharePoint 2013?

In one of my POC, there is a requirement to create custom action Ribbon menu for Task List. After lot of research I have tried below code snippet in empty module to add custom action. ...
1
vote
2answers
95 views

Fixing managed meta data navigation problem

I have the following :- SharePoint server 2013 web application. the web application contains two site collections of type enteprise wiki. i have enabled metadata navigation for the two site ...
1
vote
0answers
49 views

Where i can override the OnInit method

I need to write the following farm solution to override the InInit method as follow:- protected override void OnInit(EventArgs e) { var request = HttpContext.Current.Request; ...
1
vote
1answer
110 views

Visualstudio 2012 sharepoint workflow toolbox not visible

I want to create a designer custom action in SharePoint 2013. I use visualstudio 2012 but i can't view SharePoint toolbox . I want to create an activity with createtaskwithcontenttype . Thanks
1
vote
0answers
239 views

SP2010 Custom action runs sandboxed but not as farm solution

Short version: Which changes need to be made to convert a custom workflow action, developed in VS2010, from a Sandbox to a Farm solution. Assume it is a placeholder with no logic added yet. Long ...
1
vote
1answer
922 views

SharePoint 2010 deployment scenario for Intranet + HR records

We are planning on using SharePoint 2010 to host our Intranet and want to use it as an electronic document management system for personnel records too. What deployment scenario would be best for us? ...
1
vote
1answer
151 views

Can i create a security group with the proper permissions and have farm account run only as a service account?

On my SP 2007 environment I been trying to have my administrators not use the farm adm account for their administration and use their own credentials. So we started by creating a security group with ...
0
votes
1answer
9k views

Deployed solution does not appear in site collection features.

I have a custom SharePoint solution that I am attempting to deploy to a very simple standalone SharePoint server installation. The installation has only two web applications, one for Central Admin ...
0
votes
1answer
41 views

Migrating Full Trust solutions to App Model

IS there a way/tool to convert existing Full trust Farm solutions to App Model or we will have to rewrite and re-architect all solutions?
0
votes
2answers
1k views

Access Denied Add-SPSolution [duplicate]

I'm getting this error while adding solution to prod farm... a few weeks ago i found a website that gave me a line to write before launching any add command, but can't find it anymore Secondly, ...
0
votes
2answers
28 views

Can I deploy a farm solution to my site collection only

I have created a visual web part using visual studio of type "Farm solution", then I add the wsp file using the following command:- PS C:\Users\Administrator> Add-SPSolution ...
0
votes
1answer
223 views

Upgrading SharePoint from 2010 to 2013 with Farm Solution

I am working on SharePoint multiple versions. One of the my customers is asking for the up-gradation from SharePoint 2010 (foundation) to 2013. I would like to know the below: steps to upgrade the ...
0
votes
3answers
2k views

get a list of farm solutions

Today I went to Farm solutions page from CA. There are about 30 of them that are not in use (at least thats what I think). I could off swearned that I seen a powershell script somewhere. Basically, I ...
0
votes
1answer
51 views

Farm solution deployed to my web application , is not available to new site collections

I have a .wsp Farm solution deployed to my web applications, as follow:- I have created this solution using VS .Now inside my current web application I have 2 site collections. Old site ...
0
votes
2answers
42 views

Change list template from 2010 version to 2013

Similar to: How to migrate list template from 2010 to 2013? I've old farm solution with list schema & list instance. After deployment, list has old 2010 look, and is rendered on server side: ...
0
votes
1answer
201 views

Access denied in powerschell script for Add SPSolution

I have a Windows Server 2012 Standard, named DC. This server is a Domain Controller. I have Sharepoint 2013. The domain is DEVRSG.COM. I log on in DC machine using DEVRSG\Administrator, is Domain ...
0
votes
1answer
23 views

Farm installation

I will install a sharepoint farm in the following days and I am not sure about the number of servers to be used. My company is not very big but, not so small for a single server deployment. I was ...
0
votes
1answer
27 views

Sharepoint installation in a farm

I have been looking for a guide or another place where there is explanation about how to install sharepoint. I have gone through a lot ow websites and I haven't found useful any of them. I am trying ...
0
votes
2answers
40 views

How to manage single feature for all site collections in multiple web applications?

We have a custom sharepoint solution which we are deploying in standalone environment. Now we have to deploy on farm environment where we are going to create multiple web application and hosting our ...