Solved

Activating Feature in SP 2010

Posted on 2011-03-11
1
979 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
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

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…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

820 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