Preparation of components or SharePoint itself for use.

learn more… | top users | synonyms

0
votes
3answers
629 views

Error when using stsadm.exe to deploy webpart

I am trying to deploy a webpart to our live SharePoint instance. STSADM.EXE -o AddSolution -filename webpart.wsp I then get the following error: Object reference not set to an instance of an ...
6
votes
1answer
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 ...
1
vote
2answers
1k views

Is adding aspx pages to onet.xml allowed for team site?

I have about 20 custom aspx pages that I need to deploy whenever a site is provisioned. I tried the following code but the aspx page didnt get added. (I even activated the publishing but the aspx ...
17
votes
2answers
5k 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 ...
1
vote
2answers
2k views

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. ...
2
votes
1answer
393 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 ...
0
votes
1answer
486 views

SharePoint Server 2010 to the Cloud (Azure)

As part of our implementation of SharePoint 2010 (Server), I am tasked with investigating the option to deploy SharePoint 2010 via the cloud. Does anyone have the benefits and/or limitations for ...
1
vote
1answer
780 views

Using a globally reusable workflow

I have created a globally reusable workflow in Sharepiont Designer. I was able to save it as a .wsp. I would like to deploy and use this workflow to a different site collection. After succesfully ...
6
votes
2answers
984 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 ...
2
votes
1answer
184 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 ...
5
votes
4answers
10k views

Custom web part deployment produces 'Cannot import this webpart' error

I have built an empty SharePoint project in Visual Studio 2010 with some custom web parts in it. When I've tested these on my local development machine they can be added to a page without any trouble. ...
4
votes
2answers
159 views

Any good open source tools for doing WSP installations for SharePoint 2010?

I've heard that SharePoint Solution Installer is a good one, but it only works for 2007 and the 2010 version only appears to be in the planning phase. Does anyone know of any existing tools out ...
1
vote
2answers
137 views

Need guidance on SharePoint Environment Building

I just created a Virtual Machine on my laptop with Windows 2008 R2 Standard + SQLServer 2008 Standard + SharePoint 2010 Enterprise (everything on Single Box). I want to start my development of my ...
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
2answers
707 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 ...
0
votes
3answers
257 views

Removing GUID from linked datasource

I'm deploying a DVWP and I'm looking to remove GUIDs references from the datasource. This is fine for standard single satasources, but I'm having troubles with joined datasources. Here's (a portion ...
2
votes
1answer
137 views

Redeploying a list provisioning feature

I created a site definition to use as the base for project workspaces. I then staple features to the definition as needed. In one of the features I instantiate lists and document repositories. I ...
4
votes
3answers
652 views

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 ...
17
votes
5answers
1k 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
6answers
6k 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 ...
2
votes
2answers
3k 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 ...
1
vote
2answers
166 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 ...
3
votes
2answers
522 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 ...
2
votes
1answer
843 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 ...
1
vote
2answers
308 views

Sharepoint - Provisioning xsl Style Files

I'm trying to provision a .xsl file with custom styles to be applied to a Content Query Web Part in SP 2007 MOSS. I want to deploy it in a feature. So far any attempt has failed as I cannot retrieve ...
5
votes
2answers
3k views

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

Deployment scenarios which are not possible by using SharePoint Solution mechanism

I am a big fan of SharePoint Solution deployment mechanism but I was once asked is there any scenario which can not be deployed by just using SharePoint solution deployment mechanism or is only ...
0
votes
1answer
347 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 ...
0
votes
1answer
379 views

How do you deploy Global.asax and Global.cs file to WFE

I need to deploy the above files to the WFE. Since there are more than 1 WFE in our farm, I am looking for a good method of deploying it to all our WFE as compare to copying it manually. By making it ...
1
vote
2answers
2k views

How can I configure load balanceing multiple SharePoint2010 web server using Network Load Balancing?

How can I configure load balanceing multiple SharePoint2010 web server using Network Load Balancing ? I googoled and binged , not much resources could be found on SharePoint2010.Can anyone point me ...
1
vote
1answer
287 views

Error when changing pages with Summary Links web parts (SP2010)

When making any changes on pages with Summary Links web part and after deployment of the site I get the message: Access Denied saving Web Part properties: ether the web Part is embedded directly in ...
0
votes
1answer
210 views

Application architecture question

My application has 3 sharepoint parts: a Administration page to configure the application a timer job and a webpart to view data from the application I built them all into the same feature. When ...
1
vote
1answer
380 views

What's the proper way to unload a common library?

I'm trying to deploy my package (via VS 2010) and getting this error. "Error occurred in deployment step 'Add Solution': Error: Cannot add the specified assembly to the global assembly cache: ...
3
votes
4answers
944 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 ...
0
votes
1answer
124 views

SharePoint solution organization

Our SharePoint solution has recently been upgraded to SharePoint 2010, and we are taking a look at how we package and deploy the site to see if there are better ways to do things. We currently ...
3
votes
1answer
268 views

SharePoint 2010 development practices

We are a group of ASP.NET developers who are new to SharePoint and we are starting fresh from SP 2010 with no prior experience with 2007. I am trying to figure out how to implement the SW development ...
0
votes
4answers
418 views

Custom-Webpart not working on a second site collection

I've got a custom webpart that's working great on different MOSS-servers. Now I tried to use this webpart on a 2nd sitecollection (B) on a server. It's already running on sitecollection A. What I did: ...
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 ...
1
vote
2answers
684 views

CKSDEV tools - problem with debugging

I use CKS devtools version 1.1(latest). Problem is: I installed tools and everything was ok relating to debug (VS2010 - Tools - CKSDEV -Attach to IIS Worker Processes) but after I changed ...
0
votes
1answer
99 views

Update Sharepoint 2007 MySites layout and web parts for already deployed MySites

We are looking to change our users' MySite home pages to make them more useful. I can find information on how to update the MySite template used to deploy new MySites, but I need to make the changes ...
1
vote
5answers
3k views

SharePoint 2010 GAC deployment doesn't update

The following issue just crept up on me. The steps mentioned below had worked just fine until about 2 days ago. When I deploy a update to a solution (of web parts) to a SharePoint 2010 server I don't ...
0
votes
1answer
326 views

Why am I getting an InvalidCastException error while creating the configuration database?

I am getting an error while creating the configuration database in SharePoint 2010. It fails at step 3 with the following message. Also attaching the error from event viewer Failed to create the ...
0
votes
1answer
589 views

Office Web Components 11 in SP2010

Can somebody confirm me is it possible to use owc 11 in SharePoint 2010?! I use owc chart control, and in my other project(asp.net web app) I can use owc without problems. In SP 2010 I can build and ...
1
vote
1answer
347 views

Mysite implementation for the Global audience?

We have three sharepoint farms respectively in Asia, MiddleEast & Europe. We want to create the Mysites based on the conutry that users belongs to. I hope, it is possible through audience & ...
0
votes
1answer
143 views

Where do the files deployed through a feature module live?

A few questions regarding what happens to files deployed through a module element in a solution feature. Let's assume it's a partial trust (sandboxed solution). Let's also assume these are static ...
3
votes
1answer
2k 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 ...
1
vote
1answer
400 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 ...
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'... ...
7
votes
2answers
1k views

When Would Install-SPSolution -Local be used

The use case for Install-SPSolution -Local is not clear to me. This TechNet article Deploy solution packages (SharePoint Server 2010) suggests that I can use -Local to install solutions manually 1 ...
1
vote
1answer
916 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 ...