Solved

Activating Feature in SP 2010

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 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…

710 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