Solved

Activating Feature in SP 2010

Posted on 2011-03-11
1
981 Views
Last Modified: 2012-05-11
Hi,
I am getting the following exception while activating feature.

Error occurred in deployment step 'Activate Features': Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred.

Any help is appreciated
0
Comment
Question by:me24hour
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
SharePointGirl earned 500 total points
ID: 35115008
Are you trying to load to the gallery. Is it a third party solution? It looks like you are trying to load a non-sandboxed solution. Use either stsadm or powerscript to install.

stsadm -o addsolution -filename ???.wsp

stsadm -o deploysolution -name ???.wsp -allowgacdeployment -immediate

or

Add-SPSolution c:\code\SharePointProject2\bin\debug\???.wsp
Install-SPSolution –Identity ???.wsp –WebApplication http://sp2010 -GACDeployment





0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question