Questions tagged [deployment]

Preparation of components or SharePoint itself for use.

626 questions
6
votes
2 answers

Cannot add the specified assembly "Microsoft.Practices.ServiceLocation.dll"

For a while now, me and my team having been having an issue where when we try and deploy a project we very frequently end up with the error Error occurred in deployment step 'Add Solution': Error: Cannot add the specified assembly to the global…
Caesar
  • 255
  • 1
  • 5
  • 10
5
votes
3 answers

How to change deploy server in visual studio 2010 for web part?

I have a web part that I have been deploying to Server A. I now have a new SharePoint environment I would like to deploy my web part to (Server B). How can I set the web part solution to deploy to Server B rather than Server A? I have done this…
None
5
votes
2 answers

Changing project from GAC to Bin deployment

I have a third party dll that I have reference in my sharepoint webpart project. The provider of the dll didn't sign it and will not recompile it for me. So I have to change my project to from a GAC deployed project to a bin deployed project.…
mikemurf22
  • 267
  • 1
  • 4
  • 10
4
votes
3 answers

Best practices for updating production site

I've a VM (#1) with installed SP 2010 and SQL Server 2008. It suites our needs in terms of load and capacity. In case of breaking down we can revert it to the snapshot. The development process still goes on. The question is what is good approach…
3
votes
4 answers

Common class library deployment woes

I've moved some common code into a class library for my SharePoint Feature. I added it to the feature dependencies, I fooled with the package to make sure that the DLL is deployed correctly. I marked everything as 'WebApplication'…
user2062
3
votes
1 answer

Deploying client-side cloud-ready modules

I am a big advocate of client side code and using the client-side API in SP2013 / SP Online. For me, it's really important that my solutions can be deployed to the cloud as well as on-prem. And thus i try not to create farm-solutions. I'm a bit…
Helge S
  • 441
  • 3
  • 9
3
votes
2 answers

Deploying web parts to sharepoint with out taking sharepoint down?

Is there a way to install sharepoint web parts with out taking sharepoint down at all? Here is what I use for my deployment batch file: @ECHO OFF SET PATH=%PATH%;"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN" ECHO…
billsecond
  • 195
  • 1
  • 5
2
votes
5 answers

Code Change Never gets Deployed

I am having trouble with deploying code. I have developed and deployed a farm soluton [version 1]. It works fine, with my custom button showing up. I Retract the solution, clean solution and rebuild the solution. When i deploy the code with minor…
None
2
votes
1 answer

Update-SPSolution stops application pools on IIS

I have a ps1 script that deploys all of my webparts. I started noticing an error (Error 503 service unavailable) after running Update-SPSolution. What is happening is that when I upgrade all my webparts, the application pools for all SharePoint web…
None
2
votes
3 answers

Deploying Custom DLL

I'm new to the SharePoint platform, although I've been coding in the .NET platform since v1.1. I created a customization that takes a SharePoint Library, iterates through the items and changes permissions as per the spec of the project. This feature…
Marc
  • 21
  • 2
2
votes
1 answer

Deployment Question :: Single Tier vs Multi-Tier

Just asked by interviewer deployment between single vs multi-tier? I wasnt sure what he was talking about... Can anyone shed any light on this? Is he talking about following type scenario? 35) What are some common examples of SharePoint 2010…
Mary Rivers
  • 798
  • 2
  • 9
  • 16
2
votes
3 answers

Sharepoint 2010 Solution Batch Deployment / retraction

I have more than 20 solutions to deploy or retract at the same time, Currently i doing the deployment/retract one by one and each deployment is required an iis reset and this causes around 20 minutes for the complete deployment/retract.Is there a…
sabeesh
  • 21
  • 2
2
votes
1 answer

Where can I find more info on Deployment model?

•Select a deployment model This objective may include but is not limited to: identifying artifacts and execution appropriate for sandbox and farm (i.e. GAC vs. BIN) implementation, designing solutions for single server or multi-server environments,…
2
votes
2 answers

Error occured in deployment step

I get this error message when I try to deploy my project: Error occurred in deployment step 'Add solution': The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT:0x80131040) Earlier I had added…
Elisabeth
  • 71
  • 2
  • 4
2
votes
2 answers

Farm deployments often fail with GAC DLL noted as being in use

Sometimes when doing deployments to our farm there are errors that appear where the GAC DLL is noted as being in use, this happens even though we stop/start the SP services before uninstalling and installing WSP's. Often times during failure the…
MichaelF
  • 1,161
  • 2
  • 15
  • 31
1
2 3