Can't activate feature VS 2010
-
Tuesday, April 27, 2010 12:06 PM
Hi,
I have a question about error on activating feature during deployment. I work on one virtual machine and everything works fine when I deploy solution (visual web part) but when I try to deploy that solution to another server VS 2010 handle me following error
''Error 24 Error occurred in deployment step 'Activate Features': Feature with Id 'ffabb5f3-ee37-4392-a6b3-1204d6b0a1b5' is not installed in this farm, and cannot be added to this scope""
Also when I try to add simple solution (for example empty visual web part) I got same error. I found workaround how to solve this problem but it took me less 5 minutes to do that using power shall. I first deactivate feature then uninstall and then deploy and copy my feature.xml file to 14 folder under the features. Then I can again install feature and manual activate feature (power shall or site settings).
If anyone have the same problem please every comment is welcome.
Thanks,
Alex
All Replies
-
Wednesday, April 28, 2010 10:36 AMModerator
>>but when I try to deploy that solution to another server VS 2010 handle me following error
VS2010 supports only adding/deploying to local SharePoint installation. There is no support for remote deployment.
If you want to deploy the solution to another SharePoint server, you can copy the WSP and deploy them (using SP2010 PowerShell cmdlets)
Regards,
Chakkaradeep || SharePoint Developer - MCTS SharePoint Dev, WSS Dev
http://www.intergen.co.nz || Twitter: http://twitter.com/chakkaradeep || http://www.chakkaradeep.com -
Wednesday, April 28, 2010 11:02 AMI am sorry on my poor description but I have the situation than I can't deploy simple web part on my server with error that I wrote in my previous post.
-
Wednesday, April 28, 2010 6:09 PM
I think what Chakkaradeep Chandran is saying is that you have to be on the same server that you are deploying to when deploying through VS2010. In your first post you said everything worked fine until you tried to switch to a different server. Is Visual studio installed on that server or is it a remote server?
-Chris -
Thursday, April 29, 2010 3:44 PMVS 2010 is installed on server same as Sharepoint 2010 beta. Version of VS 2010 is Beta2. Any idea about issue?
-
Thursday, April 29, 2010 4:52 PM
Check that you have proper deployment configuration for your solution
ex. For deployong visual webpart feature your solution has to be farm solution not Sandboxed Solution.
P.S. I believe you are using SharePoint 2010 beta2 here with VS2010 beta2.
MCPD (PRO: Designing and Developing Web-based Applications by Using the Microsoft® .NET Framework 2.0) MCTS (MOSS 2007 - Application Development) -
Friday, April 30, 2010 8:31 AMAll things are setup just like you say (deploy as farm solution and beta 2 version for SHP 2010 and VS 2010).

