I am uploading my wsp file and when I am trying to activate it getting this error:

Exception from HRESULT: 0x8107054A


Troubleshoot issues with Microsoft SharePoint Foundation.

enter image description here

  • Do you have the Flag in the VS Project Solution Properties of "Include Assembly in Package" set?
    – Choggo
    Feb 10 '15 at 11:49
  • Yes, "Include Assembly in Package" = True Feb 10 '15 at 12:47
  • 1
    Office 365 doesn't support sandbox solutions with code in them anymore.
    – Choggo
    Feb 10 '15 at 12:48
  • I have tried with "Include Assembly in Package" = False,.. then it shows error : 'Sandbox Code Execution Request Failed'. Not Working. What I have to do ?? Feb 10 '15 at 12:52

Office 365 does not support sandbox solutions that run .net code as Wictor's blog post orients you. Those were deprecated deprecated a year or two after he wrote it.

If you have anything running .net code on there, you're not going to be able to put it in Office 365. you need to move to the new App Model.

The Office Team have a Github repository with patterns and practices to help you shape your solution using the new model.

Depending on what you are attempting to do with code, someone might have an answer for you here on how to best achieve it on Office 365.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.