is deployment of a wsp-package to a SharePoint farm or one of its servers.

learn more… | top users | synonyms

10
votes
3answers
17k views

Explain it to me: SharePoint deployment scope, solution and features

There are different levels of scope for deployment, but I have not been able to find a definitive explaination of when each applies and what the restrictions are that require loosening (or tightening) ...
9
votes
4answers
12k views

Feature has already been installed. Use the force attribute to explicitly re-install the feature

We have several SharePoint 2010 solutions which we want to deploy to SharePoint 2013 with Visual Studio 2012 running on Windows Server 2012. Site solutions work. But farm solutions just don't. I get ...
9
votes
2answers
8k views

Error occurred in deployment step 'Install app for SharePoint': Apps are disabled on this site

We have installed SharePoint Server 2013 on a Windows Server 2008 machine. In our development environment we have installed Visual Studio 2012 on a Windows 7 machine and have installed Office ...
6
votes
1answer
4k views

How to stop solution deployment

I started some solutions deployment with batch file and one of them was hanging. So I stopped the script and tried to retract that one solution to deploy it once again stsadm -o retractsolution -name ...
6
votes
1answer
558 views

Site Definition vs Web Template for product site

I'm getting ready to create a product for SharePoint, and I'd like it to be as easy as possible for people to deploy and use. I was planning on using a Site Definition, since this seems like a great ...
5
votes
3answers
132 views

SharePoint Admin and Developer Roles [closed]

Currently in our organization we have a three man SharePoint development team where we do everything other than SharePoint admin. Our organization has development, test, and production servers. We, ...
5
votes
3answers
1k views

Problem with SP2013 solution scope: WebApplication vs GAC

I have a SP2013 solution that contains a custom WCF service, custom Timer Job and a Feature Event Reciever. Because of these the solution Assembly Deploying Target is set to GlobalAssemblyCache. The ...
5
votes
1answer
116 views

Cannot manually install Site Collection scoped List Instance with List Definition

Using SHarePoint 2013, I have done the following in Visual Studio 2013: New "Empty SharePoint Project" In the Project, added a new item "List" with a definition and an instance In the Feature, set ...
4
votes
1answer
124 views

SPFarm.Local Object Being Cached in SharePoint 2013

I am experiencing an odd issue where the SPFarm.Local object is not being updated for SharePoint 2013, but it does for 2010. Basically I have some code that adds/deploys/updates SharePoint solutions ...
3
votes
2answers
5k views

What's wrong with Uninstall-SPSolution and AllWebApplications parameter?

When I try to uninstall WSP with following line, everything is ok: Uninstall-SPSolution project.wsp # no error - OK When I try to add switch parameter -AllWebApplications, I get error (something ...
3
votes
3answers
1k views

Update Feature automatically

I have developed an update for a SharePoint 2010 solution. This update defines some upgrades for some of the included features (the upgrade are managed via the new FeatureUpgraded receiver event). I ...
3
votes
1answer
652 views

SharePoint feature deployment and scope via PowerShell

We use SP2013 and PowerShell to deploy wsps. When installing the wsp via PowerShell: CASE 1: Add-SPSolution -LiteralPath $path install-spsolution -Identity $solution -GACDeployment Above ...
3
votes
2answers
33 views

Custom Form of SharePoint-List: Prevent default DataFormWebpart to be added

I'm working on a SharePoint 2013-Solution which deploys a custom list with custom site columns and a custom form. In the list's Schema.xml I added following lines: <Forms> <Form ...
3
votes
2answers
233 views

How to programmatically detect if a solution is deployed?

Situation: There's a sharepoint farm with ~60 solutions. On some not specified time someone can deploy a new /update an existing solution to this farm. Everytime a deployment is successfull I need to ...
3
votes
1answer
76 views

Iterative deployments using WSP in SharePoint2010

I am looking for best practices for deploying frequent custom code changes to SharePoint 2010 server, my changes include all kind of changes like web parts, content types, workflows, feature ...
3
votes
1answer
226 views

SharePoint Project does not deploy

I upgraded SP 2010 Solution created using VS 2010 to SP 2013 solution in VS 2012. The Solution has one SharePoint project which references another SharePoint project in the same solution. There are ...
3
votes
1answer
244 views

SharePoint repair after unknown failure

Few days ago something happened in my machine (for development - Win7 ver 6.1 (7601 SP1) ) and I saw blue screen two times. STOP 0x0000007A Physical dump fails with status 0xC000009c I scan my HDD ...
3
votes
1answer
151 views

Open Source SharePoint Project

Goal: Learn real-based SharePoint project based on customization with Visual Studio. I wanna learn the source code, architecture, N-tier etc of a completed SP project. Problem: Is there one or many ...
3
votes
1answer
821 views

Timeout while deploying VS2010 solution to SP2010

When deploy a solution (no sandbox solution) with many projects, I always get the following error: Error occurred in deployment step 'Recycle IIS Application Pool': The open operation did not ...
2
votes
3answers
1k views

Problem Activating Custom Timer Job

Right now I'm trying to create a SharePoint 2010 Custom Timer Job in Visual Basic 2010, which doesn't want to register itself in the SharePoint Timer (it appears to add ok and everything, but doesn't ...
2
votes
1answer
93 views

How to develop in the following environment

Production has 10 servers, 8 app servers, 2 front end. Its own active directory Testing has almost the same. Its own active directory The problem is that at the moment, in the current company ...
2
votes
1answer
1k views

How to register an ashx handler through sharepoint 2010 farm solution

I have a 3rd party control that i want to add to the web part. That 3rd party control uses a generic ASHX handler. I can always add the registration to the actual WFE web.config but it's a bit ...
2
votes
3answers
207 views

How to check if there is any active solution deployment running on the server?

Is there a way to know if there is any active solution deployment running on SharePoint server? I'm wondering how to do this using a PowerShell script?
2
votes
1answer
420 views

SharePoint deployment - Deployed to: GAC (WebURL/Global) / BIN

I know that when we deploy farm solutions then they are available under Central Admin --> System Settings --> Manage farm solutions. In this list of solutions, there are 3 columns. Name, Status and ...
2
votes
2answers
442 views

Add and deploy SharePoint Farm Solutions from Document Library using C# code

I have one Document Library in central administration Name "Deployment List" it contains SharePoint Solutions(WSP files). now i want to add and deploy that solution using c# code it already get file ...
2
votes
1answer
34 views

Specify custom parameters in WSP deploy / feature activation?

I have a Feature Receiver where I access the Term Store to get / set something. My problem is, the code needs to connect to 'specific' term store.. but what if the Term store name changes when I ...
2
votes
2answers
241 views

File in _layouts not updated on deployment

We have this situation: there was an error in teh solution, which occured in one of JS files deployed into _layouts. Bug was kind of a critical, and decision was made to push chaned JS file by hand ...
2
votes
1answer
205 views

SharePoint Compatability Mode Setting

I've browsed a lot of sites explaining the PowerShell command for Install-SPSolution concerning the Compatability Level setting like the command below. Install-SPSolution -Identity CN.SiteNav.CTs.wsp ...
2
votes
2answers
2k views

SharePoint solution deployment issue

I am trying to deploy a WSP solution in SP2010 using a PowerShell script and it's showing the status in CA as "Deploying" for a long time. I have tried: stsadm -o execadmsvcjobs stsadm -o ...
2
votes
0answers
43 views

Moving multiple WSP solutions in to one WSP solution

We have tree solutions that we are deploying by retract deploy approach. One problem is that two of the solutions deploys as global solutions, on is web application scoped. This recycles all the web ...
2
votes
0answers
66 views

Change logic for event receivers in an already deployed solution

I have a sandbox solution that has list schemas, visual web parts, custom pages and actions, workflows and a couple event receivers. Yes, one big mess of a thing, but I needed to pack everything up in ...
2
votes
2answers
61 views

custom pagelayout not available in pagelayout-list

I want to deploy a new custom pagelayout, like I did always done it before too. It will be deployed without any errors. It appears on the 12-directory in the correct folder. The feature is availible ...
2
votes
0answers
281 views

Error on Custom Sitemap Provider

I've come across an odd scenario and I'm drawing a blank. Perhaps one of my peers here will have an idea. We have a custom navigation solution which consumes and builds on the OOTB navigation ...
2
votes
2answers
2k views

SharePoint 2010 User Code Host service stops

When I try to deploy any SandBox Solution I receive following error: Error occurred in deployment step 'Retract Solution': Timeout occurred while running the SharePoint Sandboxed Code service. ...
2
votes
1answer
516 views

How to add and use external assemblies in solutions?

I need to use DocumentFormat.OpenXml.dll in my code. In the solution package, I included this external dll in the Additional Assemblies. It looks like this: I also need to reference it, so that I ...
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
995 views

Is there a way to create site pages and insert webpart into it via PowerShell?

We are creating a powershell script to create lists, groups and to install wsp packages. There are 5 wsp each containing 1 webpart. Is there any way via powershell to create 1 site page and embed 1 ...
1
vote
3answers
1k views

Powershell to install Farm solutions (wsp) [duplicate]

we are trying to deploy farm solution wsp file on the SharePoint server via PowerShell. The wsp is a webpart. I got this script by browsing forums... Foll. is our code:- $oUrl="http://mysite:9999/" ...
1
vote
1answer
3k views

Deployed web parts don't show up in Web Part Gallery

I have created several custom web parts in a Visual Studio solution which deploys to my development environment site perfectly directly through Visual Studio. However, I also want to be able to ...
1
vote
2answers
87 views

Will this work? - Site template in another server

I create custom site, custom subsites, custom web parts, lists and I add some content. I'll save site as template and I include content. Can I use this template in another SharePoint servers? Will it ...
1
vote
2answers
231 views

Deploy ashx to _layouts with the solution

I have a ashx file that I need to get into the layouts directory during a solution deployment. I have this file in a mapped folder in VS2010 and works fine in my development environment. When I ...
1
vote
2answers
330 views

Solution “Not deployed” yet actions are successful

I have an odd problem with a farm where solutions are marked as "Not deployed" yet looking at the last operation it shows "Deployed Successfully" and lists all the servers as being successfully ...
1
vote
1answer
2k views

SandBox Solutions Deployment of WSP to Solution Gallery : Beginner Questions

I am a beginner to SP Dev, and I have been reading a few things about Sandbox Solutions and the limitations there. Also it seems that to deploy a solution, I can simply upload a wsp to the solution ...
1
vote
1answer
41 views

SharePoint 2013 - MasterPage Installation Problem

When I republish my MasterPage through Visual Studio 2012, I have an issue with the old master page not being able to be deleted. I get a error message saying that a conflict could not be resolved, ...
1
vote
2answers
76 views

How to activate features on deployment

I have a package with several features all scoped at the web level. I would like to have all of these features activated once the solution is deployed. I see feature receivers, but don't see an ...
1
vote
1answer
666 views

Download/Export solution from site solution gallery

I'm trying to automate the process of downloading one solution and then add/install the same solution to other site collections. The first thing to do would be to download the freshly created solution ...
1
vote
1answer
134 views

Restoring backup different server

I have a requirement to move an entire site collection to a different server. The backup can be done through central admin. The issue is that the new server, isn't really new. It has SharePoint 2010 ...
1
vote
1answer
184 views

How to provide highly available, disaster recovery solution for SharePoint 2013 deployment?

We need to provide highly available, disaster recovery solution for SharePoint 2013 deployment. For this purpose, we've to build environments for two data-centres, one would be primary DC1 and another ...
1
vote
1answer
882 views

How to deploy SandBox solution with images on the Server?

How can I deploy SandBox Solution from Visual Studio with images on the Server ? When I trying to deploy it, I am getting the following errors. 1). The Project Item "Images" cannot be deployed ...