Preparation of components or SharePoint itself for use.

learn more… | top users | synonyms

2
votes
4answers
2k 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
599 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
247 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
609 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 ...
6
votes
6answers
5k 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
163 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
502 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
790 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
295 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 ...
4
votes
2answers
2k 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
101 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
312 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
369 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
1k 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
280 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
202 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
370 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
856 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
122 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
261 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
400 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
629 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
98 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
306 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
566 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
342 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
142 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
375 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
2k 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'... ...
6
votes
2answers
924 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
878 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 ...
0
votes
1answer
5k 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 ...
0
votes
3answers
2k views

Why won't new files deploy using a SharePoint 2010 WSP?

We have found a problem with our deployment to a production server that runs SharePoint 2010 Publishing Site Collection. We are deploying WSP packaged from Visual Studio to Sharepoint Management ...
1
vote
1answer
425 views

2010: Problem trying to install web part using power shell

I'm trying to deploy my first web part on 2010. I developed a web part using VS2008 and tested it on SP2007. I copied the CAB to the 2010 server and tried to use PowerShell to install it and got the ...
0
votes
2answers
1k views

Error Creating Deployment Package in Visual Studio 2010

I am attempting to create a deployment package through Visual Studio 2010 When right-clicking my project and selecting "Package" from the context menu I receive the following error: Error 1 The ...
1
vote
2answers
1k views

Restore sharepoint 2010 web application on different domain

We made a backup of a web application through the central administration to move it to a different server on a different domain and it's a domain controller actually. So we made a restore operation ...
0
votes
1answer
117 views

Is it possible to deploy a BDC model to BIN instead of the GAC

I have a BDC model which uses a .NET assembly to connect to an Oracle database. In order to make the connection working I need some ORA files in the same directory in the connecting assembly, so I ...
1
vote
1answer
1k views

Aliasing the SQL Server name

I'm creating a new SP 2010 farm that will replace our existing 2007 farm (using the db attach method), and decided I should probably use SQL aliasing with this install. So 2 questions relating to ...
1
vote
1answer
65 views

what are the cons and pros of page creation methods in Sharepoint 2010?

You know that you can create pages in 3 or 4 different ways (Sharepoint desinger, Browser , Visual Studio...) but what's the standard "Best practice" for developers and why? and what are the pros and ...
1
vote
1answer
321 views

What's the best way to auto deploy resources in SP 2010?

I was wondering if there some automatic way to deploy resources (images / resource files) to IIS virutal directory from visual studio/ deployment instead of having to manually copy it to the virtual ...
0
votes
2answers
303 views

SharePoint 2010 Web part Deployment Error

When I deploy my web part locally everything is fine. The web part is registered as safe, and is completely usable. When I deploy the wsp to another server the web part comes back with the following ...
0
votes
1answer
500 views

how to nest a visual webpart inside another?

I just wanna insert a visual webpart inside another, I'm using this tag to register the inserted web part like this: <%@ Register Src="~/PL/VisualWebPart1/VisualWebPart1UserControl.ascx" ...
0
votes
1answer
513 views

what are the basic steps to deploy a sharepoint j2010 project to a production server?

after we finish the development / testing of a sharepoint we need to deploy it on the customer's production server. I was wondering what are the basic steps to do that. correct / add to the ...
1
vote
1answer
653 views

Automatically deploy resource files to Central Administration's App_GlobalResources folder when deploying a solution to a web application

I'm developing a SharePoint 2010 solution which consists of some web parts and other components. Furthermore the solution needs a application pages in the Central Administration for configuration. ...