Solved

Activating Feature in SP 2010

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Build VS2015 project in bat command 3 87
Where to obtain Oracle Data Provider for .NET 3.5 7 53
Please explain "Multi-Tenant Services" 5 85
iPhone excel activation issues 11 91
I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
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
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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 …

773 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