Preparation of components or SharePoint itself for use.

learn more… | top users | synonyms

2
votes
5answers
11k views

Enable-SPFeature not working

I am using PowerShell script to deploy and activate a feature in the same script. Everything works fine and I can see my feature in the Sharepoint Root folder (14 hive). I run it using Farm Admin. ...
2
votes
3answers
2k 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
2answers
395 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
185 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
1answer
599 views

When do I need to use -CASPolicies updating a 2010 solution?

When I update a solution in 2010, I use the following PowerShell Script with the -CASPolicies attribute: Update-SPSolution -Identity MySolution.wsp -LiteralPath ...
2
votes
4answers
2k 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
2answers
57 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
4answers
3k 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
3answers
1k views

Files deployed in module cannot be found

I'm trying to deploy a selection of pages and master pages in modules but I'm encountering the same problem with all of them. When I try to navigate to a page, I get a File Not Found error (with ...
2
votes
3answers
219 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
4answers
4k 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
914 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
49 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
1k 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
1k 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
525 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
1answer
583 views

SharePoint 2013 Workflow - Error occurred in deployment step 'Activate Features'

When I deploy my workflow.. I get the following error... Any idea what Can be causing this? Error 10 Error occurred in deployment step 'Activate Features': ...
2
votes
1answer
188 views

How does SharePoint 2010 manage versioned dlls in the GAC when referenced by multiple features?

We have multiple SharePoint projects and features that reference common library code. The library is versioned using the 4 part identifier (x.x.x.x). Each feature may reference a particular version ...
2
votes
2answers
2k views

troubleshoot a timeout happening while deploying via VS

Hi I am getting timeout error while trying to deploy my sp solution via visual studio 2010. It happens when my a particular feature is trying to activat. The generic error message I get goes something ...
2
votes
1answer
439 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
960 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
115 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
1k 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
126 views

List out the ways in which we can deploy the files to the SharePoint [closed]

What are the possible ways in which we can deploys files to:- The SharePoint hive (folders in hive) The SharePoint content db (libraries, etc) By files I mean css, js, masterpage, site page, html ...
2
votes
1answer
38 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
1answer
2k views

What are the relationship between administrators groups of domain, dev computer and of Sharepoint services?

I know-know I can search and read but anyway I would need to ask in order to escape possible typos, personal misunderstandings and to better remember. I develop on a machine with installed ...
2
votes
3answers
303 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
1k 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
414 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 ...
2
votes
1answer
913 views

How to update choice field options with a feature upgrade?

I created a feature with a field definition with choices. These choices are bound to language dependent resources using the $Resources:file:key system. Resource files are included. As the feature is ...
2
votes
5answers
125 views

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 ...
2
votes
2answers
691 views

Deploy a visual web part developed with VS2010 to SharePoint 2007

I developed a simple webpart using the Visual Web Part template in Visual Studio 2010 and have been testing it within SharePoint 2010. I want to know if this web part could be deployed to SharePoint ...
2
votes
2answers
675 views

Editing web.config file from a feature using linq

I have custom web.config functionality that uses Linq to merge elements into a web.config based on a template file. I would like to use this in a feature so I can get it to merge all web.configs in a ...
2
votes
1answer
83 views

Install-SPSolution Cannot add the specified assembly to the global assembly cache

I've been getting this error a lot lately and I don't know why. The logs are frustratingly unhelpful with only two lines: Solution Deployment : Error Global Deployment failed for ...
2
votes
1answer
55 views

Timer job and 3rd Party DLL

In SharePoint 2013, is it possible for a timer job to access a third party DLL that has been deployed to the bin folder instead of the GAC? I have modified the package so that when the wsp is ...
2
votes
4answers
520 views

“The activity named 'WorkflowXaml_GUID' from scope was not found” when deploying SP 2013 Workflow

Ok. I have been getting this issue once in a while and I need to know how to fix it. Scenario: I wanted some custom actions performed on my workflow. So created an activity library and a class that ...
2
votes
1answer
84 views

Anonymous Authentication doesn't work in SharePoint 2010 Extended application

Am new to SharePoint, Am not a SP developer, i do only administration. My question is very simple and straight regarding configuring a SP application in SP2010. I created a default application with ...
2
votes
1answer
54 views

Subsite creation issue

I created a site in french. Then I've created a subsite to this site (also in french), I saved this subsite as a template. Later I deployed my site on another web application and I applied an english ...
2
votes
1answer
344 views

Activate only selected features on SharePoint 2013 deployment

Using Visual Studio 2010 and CKSDEV 2010, I was able to select to set of features (right click on project, select features to activate). Then using a custom deployment configuration, I used to ...
2
votes
1answer
3k views

App installation failure due to App Management Shared Service Proxy

I have a SharePoint 2013 Foundation installation for development activity and when trying to deploy a SharePoint hosted App, I get the error: App Management Shared Service Proxy is not installed. ...
2
votes
1answer
343 views

Setting the value of a sandbox web part's custom properties in .webpart file

I've created a new web part in a sandbox solution. This web part has a custom string property called 'PetName'. I'd expect to be able to set the initial value of this property in the .webpart file. ...
2
votes
1answer
1k views

This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded

I created a project on Sharepoint 2010. I need a Third Part dll reference in order to solve a problem. After downloading the dll, putting it in the project, add the reference to this library and ...
2
votes
1answer
363 views

Custom Field Type error when deploying solution

I'm having problems when deploying a solution that creates several custom columns, for the content types I need to use. As it turned out I needed a couple custom field types for my application. The ...
2
votes
3answers
764 views

What is the “best practice” for Dev/Test/Release for SP2010?

I am a .Net coder new to SP. I've set up a new SP2010 in our test environment but wonder what the best practice is for the cycle I am familiar with "dev->test->live" with SP? e.g. How can I make test ...
2
votes
3answers
642 views

How can I update a custom form (Edit/New Item) without deploying the list?

I have a list in Visual Studio 2010 with a custom forms (EditForm/NewForm). I deploy the project to SharePoint Server 2010, to update the New Item form. The problem is that if I deploy the project ...
2
votes
3answers
858 views

Binding lookup fields to document library template

I have features that define site content types and a document library template that uses these content types. Now, when I create a document library from the template, all the content types appear ...
2
votes
2answers
2k views

Can’t add deployed web part to SharePoint (web part missing)

I’m trying to add my first web part to the working environment and have some problems with the deployment. I clicked on my development machine release and copy the *.wsp file from the "bin/release" ...
2
votes
1answer
4k views

Activating a WebApplication Scoped Feature for a particular WebApplication

I developed a SharePoint 2010 WSP that contains a custom HTTP Module for performing short-url redirects. The WSP also contains a WebApplication scoped feature that consists of a feature receiver that ...
2
votes
1answer
43 views

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 ...
2
votes
1answer
403 views

Only Upgrade solution works!

We are having a weird issue. None of our WSPs (MOSS 2007 and 2010) work first time they are deployed. We noticed that upgrading solution (after deploying) works. Our WSPs normally replace user ...