Preparation of components or SharePoint itself for use.

learn more… | top users | synonyms

30
votes
3answers
30k 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) ...
7
votes
10answers
6k views

What technical skills do you use most when developing/deploying SharePoint?

(I think my question is sufficiently different from this question to justify asking it. My question is not about useful SharePoint resources, but what technical skills you actually need...) I'm a ...
8
votes
1answer
2k views

Best practices for creating a shared code library for SharePoint projects

I have several projects for SharePoint 2010 (mostly they are separate solutions built each to separate wsp's) in active development. And I have a similar tasks in these projects (logging, ...
6
votes
3answers
18k views

Error : Object reference not set to an instance of an object on feature deployment

I am writing code for feature activated code. But when I try to deploy my solution through VS 2010 it says deploy failed Error on feature activation : object reference not set to an instance of an ...
2
votes
1answer
3k 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 ...
1
vote
1answer
132 views

Update long running workflow in SP 2013

I have a question concerning how to manage installation of new versions of workflow features, in case when there are already running instances. It seems on my development machine that after installing ...
19
votes
2answers
7k views

Multiple Sharepoint projects in one solution - how to package correctly?

I have multiple Sharepoint projects in a solution: MySolution.WF MySolution.Webparts MySolution.UI I also have some common code in a MySolution.Common project. All of the aboe projects ...
11
votes
4answers
2k views

Multiple solutions using shared DLLs can cause havoc when individual solutions are retracted

Problem: Multiple solutions using shared dll's can cause havoc when individual solutions are retracted. Example: You have a web part helper dll used by all your web part code. If you retract a ...
8
votes
6answers
10k 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 'XXXX-XXXX-...
6
votes
6answers
2k views

Please suggest a practice to deploy a sharepoint site collection from test to production server

This is the current scenario: Sharepoint 2010 on MachineA with SQL Server. Site collection SCa on web app WAa. Now I need to "deploy" my site collection on MachineB. What are the suggested ways ...
21
votes
5answers
2k views

Organizing WebParts in Visual Studio - Best Practices

My team is responsible for maintaining a SharePoint 2010 site that was developed by another group. This maintenance includes updates to existing web parts (approximately 20). Currently, all of these ...
7
votes
1answer
9k views

Error when deploying module with GhostableInLibrary files

Here is the module which I want to deploy on the server and the files which should be shown in the Style Library, when deploying them without type ghostale in library, all go good and well, no errors, ...
3
votes
3answers
12k views

How to deploy webpart on production (not debugging) server?

I've created a web part, debugging it on a test Sharepoint 2010 install on my local workstation. I'd like to test it on our production server. It seems that I won't be able to use Build --> Deploy to ...
3
votes
1answer
869 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 "E:\Install\MySolution\1.3.25\...
2
votes
3answers
3k 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 ...
1
vote
2answers
2k views

programmatically deploy to site collection level using c#

I would like to use c# to remotely deploy my sharepoint site collections and sites, I can easily write the code to perform most operations. However I can't seem to find a way of deploying the code to ...
7
votes
3answers
6k 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 ...
3
votes
4answers
2k views

Web Application scoped features not visible in Central Admin after installing solution with WebApplication scoped resources

In an effort to use WebConfigModifications less, I am trying to move some binding redirects and safe control entries into the solution manifest. The DeploymentTarget of the assembies is ...
3
votes
2answers
3k views

Error occurred in deployment step 'Add Solution': Sandboxed code execution request failed

Whenever I try to debug (i.e. F5) a SharePoint 2010 Project I get this error. All the SharePoint services are running. Messages in Output window: Add solution Adding solution 'my solution.wsp'... ...
3
votes
3answers
2k 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 ...
2
votes
3answers
6k 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
1answer
764 views

Trying to view custom application page in browser results in “404 FILE NOT FOUND” error

In VS2010 I created a new .NET 3.5 solution and inside a new project for SharePoint 2010 (empty project called "SPAppPageTest"); I deployed it as a farm solution. I added a new application page, ...
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 ...
1
vote
1answer
517 views

Changing directory name of features in SharePoint 14 Hive - Impact on already deployed features?

I'm moving from a WSPBuilder based SharePoint 2010 solution to a Visual Studio 2010 based solution. After porting the WSPBuilder based solution to a plain Visual Studio based solution I tried to ...
1
vote
1answer
8k views

Unable to activate solution in SharePoint 2010 site

I have created a simple solution (just a new content type for now) that works both on my development machine and test server. However, when I upload it the solution gallery on the live site, it just ...
1
vote
1answer
1k views

How to replace the server name in the web application URL

I have a server named sv002, and I have created an intranet web application at the root of this server. So currently I am able to access the web application using the following URL: - http://sv002. ...
1
vote
2answers
12k views

Error when trying to deploy SharePoint 2010 solution package - SharePoint 2010 - Visual Studio 2010

when i try to deploy the project from VS 2010 i get this below error.... Error occurred in deployment step 'Recycle IIS Application Pool': The local SharePoint server is not available. Check that the ...
0
votes
1answer
295 views

deploy customized infopath form

I have a SharePoint custom list with some fields. I modified the form using InfoPath. This modified form has many views, rules and logic inside. Now I would like to deploy this form to Production ...
0
votes
2answers
47 views

Forms being re-appended to themselves on every deployment (Sharepoint 2010)

I have a (sandbox) solution with some custom forms. If I deploy it to a site that never had this solution installed before, everything works fine. However, every time I deploy it again, custom forms ...
0
votes
0answers
110 views

Interface Error in Deployment Step

I've got an error with installing my Apps for SharePoint 2013 using Visual Studio Professional 2013. Maybe someone else has encounterd this issue before, when installing an application for SharePoint ...
0
votes
0answers
31 views

Cannot connect to the SharePoint site, deploying an add-in

I am having this error when I am trying to deploy a SharePoint Hosted Add-in to a local SharePoint Server, using visual studio 2013: Cannot connect to the SharePoint site: servername/sites/apps. ...