.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

How do you deploy a feature for sp2010 containing a whole branding solution?

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :SharePoint
 

Im attempting to create a sharepoint project, with one module containing a master page, stylesheet, theme and images to provide a clean, accessible and reuseable feature with this complete rebranding solution!

But im finding that i get an error when the deployment tries to activate the feature, i will want to move on from this when it finally works and create event recievers to setup the files to automatically install and use the template and themes files with a stylesheet.

Error: Error occurred in deployment step 'Activate Features': Feature with Id '{ID HERE}' is not installed in this farm, and cannot be added to this scope.




View Complete Post


More Related Resource Links

Fresh VS2010/SP2010 install. Cannot Deploy default BCS template.

  
Error ocurred in deployment step 'Add Solution': Failed to load receiver assembly 'Microsoft.Office.SharePoint.ClientExtensions, Version 14.0.0.0.........How is everyone else getting a BCS template to work  ?If you do SharePoint dev and have MSN add me!! punkouter@hotmail.com We can help each other out. My SharePoint Blog ---> http://punkouter.spaces.live.com/

Where feature gets depoloyed by sandbox solution

  
hi i created a sandbox solution and deployed the feature, but i don't find the feature folder in 14\Template\Features, can u pls let me know where it's deployed   thanks

Best Practice to deploy update packages on a production ASP.Net solution

  
Hi guys, I've a production web site.  It was deployed/installed using a standard MSI project.  But now, I'll like to create a kind of MSI package containing only those components affected during a fix.  Everytime I fix something in the solution, I've to manually copy/paste all modified components (ascx,aspx,dll, etc) to the web server.  Of course, I've a staging area from where I can validate that my package is completed and I'm not missing anything.  But I'll like to avoid this manual-risky-prompt-error process.  That way my fixes packages will looks more professional and I could even have our web manager deploying fixes on this production box. What folks do to deploy fixes? Any ideas? Thanks.  

Solution requirement word template SP2010

  

I am trying to create solution requirements for SP2010?, can someone he;p me to provide me a barebones to start with

thank you


SharePoint Feature / Solution - Unassociate/Associate existing document libraries to a DLL

  

 

Previously we have a document library feature that contains a DLL.

Over time we have created document libraries using this feature, so document libraries created were associated to the DLL.

Now we need to change the solution to NOT include the DLL, but we found out that even though we retract / redeployed the solution without the DLL, those document libraries that were created is still calling/associated with the DLL.

Is there a way to unassociate/associate back the document library to the DLL?

Thank you for any help! :)

 

 


mqocastro

can we deploy the reports to SP2010 using sql 2005

  

I am using Sharepoint 2010 for creating a site. Can I use SQL server Bussiness Intelligence 2005 for creating reports. Or else I should use 2008.

If I use SQL server Bussiness Intelligence 2005 will it work ?


cannot register custom edit form through a content type and deploy it as a feature

  

custom edit form through a content type and deploy it as a feature.. the RTM version of sharepoint 2010 does not register the custom forms. the elements.xml is pretty straight forward..

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
 <!-- Parent ContentType: Workflow Task (0x010801) -->
 <ContentType ID="0x010801007fc29cb23c2049c3985ccdb95fc8331f" Name="ReviewTask" Group="Content Types" Description="Review workflows task purpose" Inherits="TRUE" Version="0">
  <FieldRefs>
   <FieldRef ID="{2C2BE3C6-0EB6-4F53-B612-CF49A7EF4013}" Name="Review Status" />
   <FieldRef ID="{CE1D0566-DDC6-4AA3-80C2-6CEA892F105E}" Name="Review Date" />
   <FieldRef ID="{07CB9AA2-0102-4741-9F9A-AC4A7D62D769}" Name="Review Comments" />
  </FieldRefs>
  <XmlDocuments>
   <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
    <FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
     <New>_layouts/My/ReviewTaskEditForm/TaskEditForm.aspx</New>
     <Display>_layouts/My/ReviewTaskEditForm/TaskEditForm.asp

Create Custom Site Template & Deploy as Farm Solution

  

So I've seen a few posts and blogs about this, but nothing with the specific error I'm getting.  All I'm trying to do is create a custom site template from an existing site (now WSP), and make that custom template available in CA so I can create host-named site collections from that template in PowerShell.  Apparenly this was a lot easier in 2007, as you could just save your template as STP, and run some stsadm addsolution to get it in the farm.  With 2010, I've read there are 2 options:

  1. Install-SPWebTemplate
  2. Deploy via Visual Studio 2010

I've tried running Install-SPWebTemplate (which only takes CAB files), and NOTHING I do works.  I've created a cab from the WSP with makecab, I've renamed the WSP to CAB, and all I get is "cannot find or parse web template file".  So on to VS2010.

Using this article as a guide (http://msdn.microsoft.com/en-us/library/ff408263.aspx), I created a new 2010 Import existing solution project, left all items selected, and the import was successful.  I made a change or two to the ONET.xml to fix some things, and then I just try to deploy it to the farm.  Whether I set the URL to the root intranet site, or the CA URL, I get deployment conflict errors:

"The URL or

Can't deploy SharePoint solution even after changing Site Url property

  

Hi, 

I've developed a SharePoint 2010 solution in VS2010 and i've also deployed it on my site collection - everything works perfect, fine!

But when I try to deploy the same solution in another site collection (on local server not remote) by changing Site Url property of the solution to my new site collection, VS is not deploying the solution. I'm getting the following error:

 

Error 102 Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://newsiteurl/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.

 

I've packaged the solution and deployed it manually, it's working fine but i don't understand why i'm not able to deploy the solution on a different site collection on the same machine??

Does anyone else has experienced the same issue? 

 

 

Thanks & Regards,

Sanjay



how to deploy feature without visual studio?

  

hi,

if im building a workflow or any other feature in visual studio im receiving a *.wsp file.

is that all what i need to deploy and activate a feature with stsadm?

 

i dont think so?? cause what about the elements.xml file and so on? how can i implement this file and so on?


Deploy Master Page (SP2010)

  

Hello,

i want to deploy a Master Page as a Feature in Sharepoint 2010.
I followed the Steps in this Article, but i get some Errors.
http://www.sharepointchick.com/archive/2010/03/26/deploying-a-custom-master-page-in-sharepoint-2010.aspx

When i deploy the Solution in VS2010 and enter my SP Site, i get an Error: File not found.
I discover, that my sample.master File were not copied into the _catalogs/masterpage Directory.
When i copy the File manuell into this Directory, i can open my Site correctly, but in the Feature Overview my Feature is deactivated.
When i try to activate it, i get an Errormessage:
The specified File in this Modul section is already in place.
I renamed my sample.master File but is still the same Error.

Can anyone help me?


Deploy Master Page as a Feature

  

Hello,

i want to deploy a Master Page as a Feature in Sharepoint 2010.
I followed the Steps in this Article, but i get some Errors.
http://www.sharepointchick.com/archive/2010/03/26/deploying-a-custom-master-page-in-sharepoint-2010.aspx

When i deploy the Solution in VS2010 and enter my SP Site, i get an Error: File not found.
I discover, that my sample.master File were not copied into the _catalogs/masterpage Directory.
When i copy the File manuell into this Directory, i can open my Site correctly, but in the Feature Overview my Feature is deactivated.
When i try to activate it, i get an Errormessage:
The specified File in this Modul section is already in place.
I renamed my sample.master File but is still the same Error.

Can anyone help me?


Deploy and use a WSP solution: how?

  

Hi All,

I'm trying to deploy a 2007 solution into 2010...

the solution is the following: http://www.hezser.de/blog/archive/2009/05/22/navigation-for-wikis.aspx (it is a really cool tree navigation wiki)...

the solution is for 2007, I'm trying to deploy into 2010...

the following summarize the steps followed:

- Download the WSPBuilder for 2010 (http://wspbuilder.codeplex.com/releases/view/30858)

- Installed Visual Studio 2010 and installed the WSPBuilder

- Open the 2007 Solution Source Code (http://www.hezser.de/blog/archive/2009/05/22/navigation-for-wikis.aspx) and converted into 2010 version (NO ERROR DURING CONVERSION)

- Opened a Command line and Added the Solution  (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsadm.exe -o addsolution -name WikiNavigation.wsp)

- Deployed the Solution (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsadm.exe -o deploysolution -name WikiNavigation.wsp -allowgacdeployment -immediate)

- Got the following result: Timer job successfully created.

- Navigat

Unable to deploy solution,getting "The OutputPath property is not set for project " error

  

Hi Guys,

I am having this configuation issue which I can't seem to resolve. When I am deploying my SP2010 solution to my farm Ii ge thi error mesage when I deploy a solution which contains output dll references.

Error 1 The OutputPath property is not set for project 'XXX.SharePoint2010.KnowledgeBase.Helper.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Release'  Platform='AnyCPU'.  This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. KnowledgeBaseSite

Any help would be appreciated.

Cheers

Pieter


SharePoint Developer

Content Editor text format functionality lost after deploying branding solution package

  

I've got two identical SharePoint 2010 servers.  One is a dev box and one is production.  We've got a branding solution package.  After deploying the package on the production server, when I go into edit a page, the text format functionality in the content editor works fine, i.e. I can change font, font size, font color, etc.  However, when I deploy the solution package on the dev server and then attempt to edit a page, the text format functionality is disabled/broken.  I can utilize bold, underline, or italicize but cannot change font, font color, font size, etc. 

I've copied a site collection from my production site (which works perfectly) over to the dev site with the same results, meaning once on the dev box, the copied site collection no longer has editing functionalilty in the content editor. Permissions are set the same on both boxes and as mentioned, editing works fine until deployment of the solution package on the dev box.   Any help would be greatly appreciated. 

Could Visual Studio installed on my Dev box cause this?


TJCNAVL

What is the difference in .feature and Feature.Template in SP2010?What is the significance of each?

  
What is the difference in .feature  and Feature.Template in SP2010?What is the significance of each?

Help - uanble to Debug Feature Receiver with VS2010 on SP2010 Farm

  

HI,

I am unable to debug the feature receiver using VS2010. I Changed the Active Deployment Configuration from Default to No Activation. Set the breakpoint and press F5, I get the below error

 "Unable to start debugging on the web server. The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. "

 We are running VS2010 on x64 bit Windows2008 server and the farm has 1 App server, 1 WFE server and 1 sql server.

I would really appreciate any help regarding this.

Thanks! 

 


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend