Questions tagged [solution-package]
SharePoint solution is deployed to a SharePoint server by using a solution package (.wsp) file. You can use Visual Studio to organize your SharePoint Project Items into Features and to create a package to deploy your SharePoint Features.
407 questions
1
vote
2
answers
273
views
List Features that are part of a Solution Package
As part of a migration from SharePoint 2007 to 2010, I am cleaning up old features that are no longer used and/or would have compatibility issues with the upgrade - mainly the old FAB40 templates. To ...
5
votes
1
answer
488
views
Building VS 2010 projects for SharePoint 2010 & 2007
I am curious if anybody else out there is trying to development a single SharePoint product that works with both SP2007 and SP2010, and what approach you have taken to structure your Visual Studio ...
2
votes
3
answers
2k
views
What is the recommended best practice for updating a SharePoint Solution (WSP)?
What is the best way to update a SharePoint solution in a multi-server production environment? We have 2 Web Front Ends which are hardware load balanced and 1 application server. I don't want to ...
6
votes
3
answers
995
views
Use a supplemental .config file just for a web application
I'm trying to add a section into the web.config of a SharePoint 2010 application and I created a webconfig.myname.xml in the \14\CONFIG folder. I then ran the following command to apply the changes:
...
6
votes
2
answers
510
views
Can't deploy packaged page layouts because they are already in the content database
In our SP2010 publishing site we have a lot of content (publishing pages) which are associated with custom page layouts. These page layouts have previously been edited on the server using SharePoint ...
11
votes
2
answers
1k
views
Best way to package publishing content types
I'm currently planning on how to package my Publishing content types in a WSP to make deployment in production easier. I came a cross the following choices
1- create a feature receiver and ...
0
votes
2
answers
5k
views
If I have a wsp that is "Globally Deployed" in Central Admin > Manage farm solutions, where will it show up in my sites?
I figured it would show up under Galleries > Solutions or Site Collection Administration > Site Collection features in the site settings but I'm not seeing it in either of those locations. ...
2
votes
1
answer
128
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.
Also,...
8
votes
2
answers
3k
views
Sharepoint Q&A tool like Stack Exchange
Are there any add-ons to Sharepoint to provide a Q&A type of site like this one or Stack Exchange? This would be for an internal corporate intranet, rather than a public site. I know there are ...
2
votes
0
answers
6k
views
How to create the wsp package in visual studio 2010 with following features? [duplicate]
I want to create a wsp package. When I deploy it, it must add features such as two SharePoint lists, one webpart, one image library sequentially. Can I do this in WSPBuilder? I want to deploy this on ...
10
votes
1
answer
3k
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, ...
3
votes
0
answers
514
views
Why does WSP Deployment Type 'ApplicationServer' require features to be manually installed?
When I create a WSP with Deployment Type set to WebFrontEnd and deploy, all of the features contained within are automatically installed. Features that are set up as ActivateOnDefault="TRUE" (Farm or ...
0
votes
2
answers
248
views
Users denied access after solution redeployment
My old solution has been running in my intranet farm for a long time. The solution contains a feature which deploys a webpart. The webpart shows the users of a group, together with information from ...
4
votes
2
answers
349
views
What can be excluded from source control in SPT 2010 solution (VS 2010)?
Besides the usual bin and obj folders, what else can be excluded from source control in the Visual Studio 2010 SharePoint solution I've built?
I'm particularly interested in whether the pkg and ...
0
votes
1
answer
2k
views
How to run *.FLV file in SharePoint 2010
I'm looking for the free tool or free code in order to run *.FLV file in SharePoint 2010. Does Media Web Part support FLV video?
Thanks and Best regards,
1
vote
1
answer
188
views
After upgrade from 2007 to 2010 - Field Duplicate when trying to add feature
I upgraded a sharepoint from 2007 to 2010 with attaching the content database. After that i developed a new solution with the same content type i used in 2007.
Adding the solution works fine but ...
0
votes
1
answer
1k
views
How to maintain workflow associations when deploying a SharePoint Designer wsp file on my customer's machine?
I know this might be a silly question but here goes... I created an event calendar site and it has some customized webparts (done using visual studio), custom views (XLV webpart views) and workflows (...
2
votes
2
answers
2k
views
Problems with WSP Deployment
We have a server farm that is having issues deploying WSPs. The odd thing is that the server goes through all the motions of deploying the WSPs with no errors. That is, the job is scheduled ...
2
votes
1
answer
3k
views
How can I ensure that an Assembly is deployed to the GAC on all Servers in a Farm
I have a SharePoint Solution that contains an Assembly that contains an SPTimerJobDefinition that must be deployed to the GAC on all Servers in my farm.
I have configured my farm in the following way....
2
votes
2
answers
1k
views
Sharepoint solution failing to retract
When I try to retract solution (via Central Administration or using stsadm), the solution stays in the Retracting state.
I found a very similar question on Stack Overflow, but the services 'Windows ...
2
votes
2
answers
4k
views
Solution Package Deployment stucks at Deploying status in SharePoint 2010
While trying to deploy a solution package in SharePoint 2010, it stucks in the deploying status.
I tried the follow steps but no success.
Tried to the cancel the deployment from CA.
Tried to cancel ...
1
vote
2
answers
204
views
Is it possible to deploy SharePoint solution (WSPs) via feature activation?
This seems to me an uphill task in SharePoint but is it possible to deploy the WSPs via SharePoint features? For instance, if we activate a certain feature then some specific SharePoint solutions (...
1
vote
1
answer
63
views
Looking for a good resource for building a SP 2007 WSP package in Visual Studio 2010
Can anyone point me in the right direction for this?
1
vote
1
answer
833
views
Installing a file to the GAC through a Sharepoint 2007 WSP package
I'm creating a WSP package in Visual Studio 2010 to deploy my feature to the Sharepoint 2007 environment on a Windows 2003 Server box. Currently, the xml file that references the assembly containing ...
2
votes
1
answer
1k
views
.wsp/.cab file creation in SharePoint
So I had to dismantle a .wsp file to correct some pathing issues that wouldn't fix any other way in feature.xml (this is a site template), and now can't seem to find a decent utility to put the .wsp/...
1
vote
3
answers
469
views
Resource Files in SharePoint 2010
I'm using a resource file to store the database connection string. This was successfully deployed in {SharePointRoot}\Resources\. I tried editing the file and change some of the values just to test it ...
2
votes
1
answer
414
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 ...
7
votes
1
answer
2k
views
Problem installing web part using Powershell
We've developed a custom Visual Web Part using Visual Studio 2010 for Sharepoint 2010 Server.
The webpart gets deployed when executed from VS (F5), so we can add it wherever we want using Sharepoint ...
2
votes
1
answer
232
views
Possible to create a document library for my web part on installation?
I have a web part that need to have its own document library. Is there any way for me to check to see if that document library exists and if not create it, when the WSP is installed?
0
votes
2
answers
3k
views
WSP for Site Definition does not show up when creating a new site
WSP for Site Definition does not show up when creating a new site. I uploaded a new wsp under the solution gallery of the site collection. I went to a sub site and click on Create from "all content" ...
6
votes
2
answers
2k
views
How to reproduce Visual Studio "Deploy" action?
It seems like whenever I am developing a web part and I "Deploy" it from Visual Studio, everything gets deployed and works exactly as I would expect.
When I take my WSP and try to install it to a ...
1
vote
2
answers
643
views
Multiple workflows in a sharepoint feature
Really simple - I'm wondering if it's possible to pack multiple custom workflows in a single wsp-solution/feature.
I thought I could just create the workflows, and then add multiple instances of ...
0
votes
1
answer
431
views
Can I create WSP that deploys a file to 80 directory?
I have an existing WSP project with some features in it.
I need to deploy a file to SharePoint 80 folder. Is this possible?
I tried just putting it in project's 80 but WSPBuilder, which I use for ...
1
vote
1
answer
9k
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 ...
8
votes
3
answers
32k
views
Install-SPSolution : This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application
I have a powershell script that deploys about 12 web parts. They have all been created in the manner through visual studio 2010 and are being deployed to sharepoint 2010.
I am getting the following ...
1
vote
5
answers
3k
views
WSP package stuck in retracting state
We are tring to run an update script. As part of this script we use stsadm command retractsolution and then deletesolution to remove the wsp packages.
Our problem is that on the last run several of ...
2
votes
1
answer
1k
views
Deploying WSP from saved as template - editing binary serialized web part in Visual Studio
I have deployed a WSP site template that originally came from "Save Site as Template" (our site was customized from a team site - STS#0). Now, we're making changes to it in in Visual Studio (as it's ...
1
vote
2
answers
107
views
How to deploy a LOT of solutions between SharePoint 2007 and 2010 Farms
Right now we're moving from a SharePoint 2007 and SharePoint 2010 farm, my current list of solutions implemented in the 2007 farm numbers somewhere in the 100's. A few ideas I had for moving them ...
1
vote
1
answer
795
views
Error during solution import in Visual Studio 2010 and when applying a web template
I'm trying to import a solution from a wsp-file into a SharePoint 2010 project in Visual Studio 2010. The solution file results from a site template I exported using the "safe as template" option of a ...
0
votes
2
answers
268
views
Can I import a non-sandboxed .wsp file at farm level via SharePoint GUI?
I'm trying to import the MetadataWebPart, which comes packaged as a solution, to my site.
Can I achieve this via Central Admin?
Is this even possible without using PowerShell or some other script? ...
3
votes
2
answers
713
views
Where are deployed solutions being used?
I'm in a MOSS 2007 environment and am looking to find a way to see where solutions listed in the stsamd -o enumsolutions are activated in site collections. How would I go aout finding out where these ...
2
votes
2
answers
1k
views
SiteCollection Feature Upgrade Access Denied for Farm Admin
My solution contains Site Collection scope features and has been deployed to Site Collections that the farm administrator has not been granted any explicit permissions.
If the farm administrator ...
1
vote
3
answers
231
views
Alternate SharePoint Code Deployment Approach
We have begun to take an alternate approach to solution packaging and deployment, and I wanted to get the community's perspective on it.
We deploy all of our master pages, css, js, and other custom ...
5
votes
1
answer
5k
views
Adding Features during Solution Update
Is there a supported method to add features during a solution update.
We call Update-SPSolution and then upgrade our old features using SPFeature.Upgrade
but any new features in the solution do not ...
1
vote
2
answers
599
views
DWP file is not updated in the web part gallery by the stsadm upgradesolution command
I am trying to update a DWP file in the web part gallery by using stsadm upgradesolution. Here is what I am doing:
Created a web part, put it in feature, packaged it in solution by WSPBuilder, ...
2
votes
3
answers
2k
views
InfoPath form status stuck on "Installing"
I have followed many of the recommended practices to install an InfoPath form that needs Administrative approval (see this link). However, I am still unable to see the form finally complete it's ...
5
votes
2
answers
2k
views
Anyone manage to deploy a WSP without it forcing an IISReset?
I'm working in SharePoint 2010 and have been unable to deploy (or retract) my WSP without causing an IISReset. Here's my situation:
The solution contains:
Fields
One content type
A page layout ...
0
votes
2
answers
2k
views
WSP Deployment success, but can't find where to Activate
In "Central Administration – System Settings – Manage Farm Solutions" I can see that my Solution has been deployed, to http://sp2010/. However when I go to there, and try to activate this feature ...
3
votes
3
answers
777
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. ...
0
votes
1
answer
1k
views
WebPart not registered as safe
I have a webpart that is part of a larger solution, deployed as a WSP using WSPBuilder. I can see the SafeControl entry in the web.config and can see that the assembly has deployed to the GAC. The ...