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
509 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
143 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
1answer
351 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
81 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
411 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
368 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
1k 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
261 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
245 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
774 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
318 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
94 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
945 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
1answer
32 views
+50

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 ...
1
vote
1answer
253 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
47 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
116 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
2answers
41 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
540 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
178 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
67 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
1answer
435 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
1k 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
0answers
28 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
114 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 ...
1
vote
1answer
32 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
2answers
193 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
0answers
156 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
836 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
134 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
3answers
2k 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 ...
0
votes
2answers
213 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
1answer
7k 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
62 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
594 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
40 views

Deploy Farm Solutions to Online SharePoint 2013

I am migrating SharePoint 2010 project to online SharePoint 2013. I managed to move lists, document libraries..etc. with sandbox solutions. But can any one help me how can I deploy the farm ...
0
votes
1answer
11 views

Web part SecurityException — System.Net.WebPermission failed — Farm Solution

I am getting an error with trying to make a HttpWebRequest inside a web part, I'm getting a SecurityException saying that System.Net.WebPermission failed. While searching for an answer, I came across ...
0
votes
2answers
83 views

SharePoint 2013 Development enviroment

Can one develop SharePoint solutions without having installed SharePoint 2013 on local, development machine? There will be one 'test' machine, however it will be placed on other machine, to save ...
0
votes
2answers
224 views

Creating public properties in sandboxed webpart solutions

I'm trying to port a farm solution to a sandboxed one, and I can't figure out how to port this piece of code: [ToolboxItem(false)] public partial class vClockPartSB : ...
0
votes
1answer
1k views

Can the Top-Level-Site be recovered or does it need to be re-created?

Yesterday I was working on a project and thought I was within that specific site when I wanted to delete it, but accidently deleted the main site of the Farm. Today I went into SPD and found that ...
0
votes
1answer
31 views

Changing Mode from BrowseDisplayMode to Edit Mode

I have a custom webpart, i am trying to get to do a one-click transition from WebPartManager.BrowseDisplayMode to SPControlMode.Edit. Unfortunately, there is no direct means of transitioning between ...
0
votes
0answers
17 views

Create a Workflow in Farm Solution. DefinitionID is zero

I want to create a new Workflow in my Farm Solution. So I right click in VS 2012 and add a new Workflow. It is a List Associated Workflow and has a History and a Task List associated. I'm running ...
0
votes
0answers
30 views

Deploy works from Visual Studio, get security exception from Site Collection Features. SP 2010

I have a solution that creates a new send to connection for a web application. When deploying from visual studio the feature get activated with no errors and creates the connection. When I try to ...
0
votes
0answers
99 views

An object reference is required for the non-static field, method, or property 'System.Web.UI.Control.Controls.get'

I have created a farm solution inside Visual studio 2012, and i added the following code inside my user control :- namespace CustomSuiteLinksDelegate.ControlTemplates.CustomSuiteLinksDelegate { ...
0
votes
2answers
88 views

Assembly load errors after adding web application resources to solution with farm features

We have a solution that was recently changed from being globally deployed to deployed by web application in order to move binding redirects into the solution manifest (instead of using ...
0
votes
0answers
199 views

Error:- The name 'Request' does not exist in the current context

I have added a web part in a farm solution:- using System; using System.ComponentModel; using System.Web.UI.WebControls.WebParts; namespace SharePointProject5.nv { [ToolboxItemAttribute(false)] ...
0
votes
1answer
199 views

Moving my custom farm solutions from sharepoint 2010 to sharepoint 2013 error

So I followed the following guide. http://zimmergren.net/technical/upgrading-your-sharepoint-2010-visual-studio-projects-and-solutions-to-sharepoint-2013 Once I tried to deploy the solution from ...
0
votes
1answer
60 views

Single Farm with ForeFront AUG or 2 Serparate Farm to secure intranet/extranet Farm?

We're planning of setting up a two separate farm (internet farm and intranet/extranet farm) for security purposes. My question is that, if we use the Edge Topology (using the ForeFront AUG) is't okey ...