Preparation of components or SharePoint itself for use.
3
votes
5answers
3k views
What is causing a “Cannot find a Feature” error when uninstalling a solution?
I have a weird error when trying to deploy a solution via Visual Studio 2010:
Error 1 Error occurred in deployment step 'Add Solution': The solution
cannot be deployed. The feature ...
3
votes
2answers
3k views
How to delete site columns, deployed via feature (not visible in Sharepoint UI)?
Well it seems like this is a problem some people are having, but I can't seem to find the definite solution.
I deployed some Site Columns to Sharepoint using a feature, let's go with the following ...
3
votes
1answer
258 views
Why Is My Content Type Replaced With a List Instance Detail When I Deploy My Project in Visual Studio, but Not When I Deploy it Manually?
I'm doing something that I think is pretty typical. I've created a content type, descended from Document, to go into a document library, like so:
<?xml version="1.0" encoding="utf-8"?>
...
3
votes
1answer
110 views
Tools for deploying solutions
I'm looking for an easier way of deploying multiple solutions. I know I can write some scripts which handle all my WSP packages (both install and uninstall), but I want something more automated.
...
3
votes
1answer
485 views
Error deploying WSP package
Error: Cannot find this file specified in the manifest file: ChangeContentTypeEventHandler.dll
I'm getting this error when attempting to deploy this solution to the Sharepoint environment.
Here is ...
3
votes
4answers
636 views
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 ...
3
votes
2answers
352 views
What's the downside of using backup and restore site collection as deployment methods in #SharePoint2010?
What's the downside of using backup and restore site collection as deployment methods in SharePoint2010?
The downsides are:
an not restore a previous version of SP site backup to a new version of ...
3
votes
1answer
1k views
Set SPWeb title on a SharePoint site using PowerShell
I'm having problems setting the title of a root web in a site collection when creating it in an other language then English. When i run the script under using 1033, it works fine the site title is set ...
3
votes
1answer
886 views
Creating the secure store service master key fails
I have some powershell to create a farm including the secure store service. The code is pretty straight forward:
Update-SPSecureStoreMasterKey -ServiceApplicationProxy $id -Passphrase $passphrase
...
3
votes
1answer
425 views
How to deploy a workflow as part of a site definition?
We have a customer that will be creating many sites based on a site definition.
The sites include a list. We would like to connect a workflow to that list such that the workflow starts whenever a new ...
3
votes
4answers
1k views
Error while creating a new web application in MOSS 2007 in a stand alone server farm
I am getting following error while creating any new web application on the server:
"An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=SPsupport-17777 ...
3
votes
2answers
445 views
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 ...
3
votes
1answer
146 views
Import&Export Sharepoint Lists / Deploy this with VS2010
I created a webpart which grabs content of two Lists in Sharepoint, is used as source.
Its working very well and i like the way users can change content. Is there an way to export my ...
3
votes
2answers
451 views
How to deploy custom theme + css + masterpage and apply it automatically to every newly created Team site
Greetings...
Well, the title pretty much says it all. Users will be able to create numerous new team sites, and I need to make sure that custom theme and css are automatically applied. Also, I need ...
3
votes
3answers
440 views
wsp deployment sometimes doesn't update gac-ed assembly on all servers
We are finding recently, with our wsp deployments, that on some of the WFE/APP servers in our farm that the assembly contained in the WSP, which should be gaced, is updating some servers but not all. ...
3
votes
2answers
849 views
Workflows stuck 'in progress' when moved to SharePoint farm environment
We have developed a number of custom approval workflows in Visual Studio 2008. They basically create task and work through a 2 stage approval process, once a task is completed, it generates new tasks ...
3
votes
1answer
89 views
SharePoint 2010 Workflow Deployemnet from DEV to UAT
I have Sharepoint 2010 DEV and UAT sites. I have made some changes in DEV workflow and I want to deploy the changed workflow to UAT site.
I have created the workflow template and saved .wsp file to ...
3
votes
1answer
49 views
Deploying a custom health rule fails on Add Solution
I've created a custom health rule for checking which mode solutions were built in (following this guide) but am having trouble deploying it. When deploying from VS2010, I get
Error occurred in ...
3
votes
3answers
1k views
How to efficiently deploy content types to a Content Type Hub
I have set up a Content Type Hub and tested the syndication is working correctly by creating a test content type and watching it be published to the client site.
Then I deployed the content types I ...
3
votes
2answers
2k views
Sharepoint 2013 Distributed Cache cacheHostInfo null
I have setup a development environment for SharePoint 2013 so we can begin testing our 2010 content, however I am running into trouble starting the Distributed Cache service. Note that this is ...
2
votes
5answers
1k views
Adding new webparts to an already deployed solution
I have a webpart project built in visual studio 2010 and it has been deployed successfully to my production environment. I recently had to make some changes to the webpart and also needed to add a ...
2
votes
2answers
376 views
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 ...
2
votes
3answers
2k views
How do you create webpart-specific config files?
How do you create application specific config files for a GAC-deployed webpart in SharePoint 2010?
Which one or more of app.config/web.config/supplemental config are appropriate to use for webparts?
...
2
votes
3answers
1k views
Deploy WSP from Visual Studio 2010 to web application with set host header
I have a demo SharePoint server with multiple web applications created. Each of them has a host header that is entered into company's DNS. All the web applications are on port 80.
I changed SiteURL ...
2
votes
1answer
85 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
3answers
2k views
How to apply new page layout to all existing pages in a site?
I really need your help.
I've created a new page layout in SharePoint Designer 2010 and I want to apply it to all existing pages in a site. Another thing to note, some subsites and pages use ...
2
votes
2answers
272 views
Rebrand a SharePoint portal
I'm a beginner in SharePoint so forgive me if the question is too simple.
I've been given a task to revamp an existing SharePoint portal. I will basically focus on the visual branding and also on ...
2
votes
1answer
183 views
Remove SQL Dependencies from SP Standalone Cloned VM
I have made a copy of a standalone SP 2010 VM -> VM_2. I've renamed it, defined another IP. Now VM_1 and VM_2 run simultaneously. I've added following line to hosts file:
MY_NEW_IP VM_1 VM_2
to ...
2
votes
4answers
692 views
How can I make sure the features in my solution activate in the correct order?
I'm working on a fairly large SharePoint 2010 project. We have broken up the code into a number of solutions, each containing a number of features which we deploy via powershell and activate in the ...
2
votes
1answer
3k views
Completely remove a WSP from SharePoint
What is the best way to completely remove a WSP from SharePoint? SO when you reinstall it again from scatch it thinks it is a clean install?
2
votes
2answers
54 views
How do I set a new WebApplication to deploy at a specific time (i.e. 03:00)?
Is there a way to set this up so that the new application deploys at a specific time of the day? Maybe even on a specific day of the week?
2
votes
3answers
1k views
Files not deleting on solution retraction
When i retract my solution several files are not deleted including my custom master. Probably something simple but i want it deleted so that visual studio doesn't complain every time i deploy about ...
2
votes
4answers
1k views
error CS0234: The type or namespace name 'DirectoryServices' does not exist in the namespace 'System'
I have deployed a feature (wsp) on our new production server but get the following error:
error CS0234: The type or namespace name 'DirectoryServices' does not exist in the namespace 'System'
The ...
2
votes
4answers
2k views
List does not exist error trying to deploy feature to subsite
I have a root site collection and a user control stored in controltemplates. http://root
I have another site collection under here http://root/fs which also uses this user control but uses its own ...
2
votes
1answer
633 views
SharePoint 2010 Deployment: WSPBuilder 2010 or MSBUILD?
I'm new to SharePoint (SP) deployment. I need to deploy a SharePoint Foundation (SPF) 2010 solution.
Currently, while debugging, I've been deploying it locally a la CTRL+F5. This generates the WSP ...
2
votes
1answer
47 views
Feature Deployment with more than 1 server
When you have a SharePoint farm with more than 1 server. If deploying a feature what servers do you need to run it on. Does the power shell commands you use change?
For example in my farm I have a DB ...
2
votes
3answers
945 views
How to access web.config entries when deploying from Visual Studio?
I'm working on a project in SP/VS2010 that contains features with event receivers that require access to appsettings keys in the web application's web.config.
While I've checked that the features can ...
2
votes
1answer
844 views
How to deploy WSPBuilder developed package on specific Sharepoint site?
I am developing the wsp package, which includes 2 list definitions,a webpart, and a picture library definition in WSPBuilder. I tried with sample webpart. I wondered, there is option given in solution ...
2
votes
3answers
473 views
Speed up deleting / retracting solution
We have a largish SharePoint solution with 15 wsp packages, each package contains several webparts etc. We use stsadm to uninstall and install the packages.
We deploy fairly often to the test ...
2
votes
2answers
99 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
301 views
Is it possible to update .Webpart file and reflect the change on all uses of a webpart
I have a webpart that is a modified XSLT list view webpart in SharePoint 2010. I exported the webpart as a file and uploaded it to the webpart gallery manually.
If the user adds this webpart to ...
2
votes
2answers
477 views
Event Reciever on specific list in SharePoint 2010 working in dev environment but not in production
I have created an event receiver (on item adding) using VS2010 in SharePoint 2010 targeted to specific custom list which is a globally deployed in the production environment.
This event receiver ...
2
votes
2answers
75 views
Migrating site collections from developemnt to live
I have several site collections that have been created in development. I now need to move them to live. In the live environment these site collections do not exists. What is the best way to migrate ...
2
votes
1answer
861 views
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 ...
2
votes
1answer
34 views
Adding and Deploying Multiple solutions in SharePoint 2007
I have got around 10's of webpart solutions that I need to add and then deploy to all web applications, I would prefer if someone can share easiest way of doing it.
2
votes
3answers
224 views
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 ...
2
votes
1answer
146 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
2answers
1k views
Problem with WCF Web Service in SP2010
I've followed this tutorial and also this one (tried every possible combination of those) to deploy a custom WCF service in Sharepoint 2010.
But I'm not having any luck. Once the service is deployed, ...
2
votes
1answer
533 views
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 ...
2
votes
2answers
309 views
Is there a way to assign a search server to a content database using PowerShell?
Is there a way to assign a SharePoint Foundation search server to a content database using PowerShell, either while creating an Sp-WebApplication using New-SpWebApplication or by updating an ...

