Error occurred in deployment step 'activate Features ': Feature with id' {GUID} R

Source: Internet
Author: User

I recently developed a little thing for SharePoint 2010. the error in the title was encountered in VS2010. I checked some information (already listed below) but did not solve my problem.

After some research, I found out the cause and solution of the problem.

 

In the SharePoint 2010 environment with multiple servers, after VS2010 is compiled successfully, right-click the project and select Deploy. This error is reported. I chose Farm Solution instead of Sandbox Solution.

The solution is to compile your project in VS2010 and select Package. find the generated wsp file in the Bin directory and upload it to the solution gallery in the management center. deploy solution in the management center. it will be successful.

 

A powershell command is required when you upload wsp to the management center.

Add-spsolution-literalpath "d: \ temp \ myspsproj. wsp"

 

Generally, developers may not deploy solution directly in a field with multiple servers. anyway, I hope this article will help you.

I wish you a pleasant development of SharePoint.

 

References

================================

SharePoint 2010 projects with field elements cannot be redeployed

Http://support.microsoft.com/kb/2022443

Error occurred in deployment of step 'activate Features ': the field with ID defined in feature was found in the current site collection or in a sub site.

Http://blogs.msdn.com/ B /yardman/archive/2010/07/27/error-occurred-in-deployment-of-step-activate-features-the-field-with-id-defined-in-feature-was-found-in-the-current-site-collection-or-in-a-sub-site.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.