Solved

Activating Feature in SP 2010

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel formula lookup multiple charges 11 68
How to transfer Notes from Outlook 2010 to OneNote 2016 16 128
encryption on machine 7 79
Excel object stays open 19 70
Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
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…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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 …

943 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now