SP Foundation sandbox error

May 18, 2011 at 6:26 AM

When I try to install this on SP Foundation (FBA already setup), I get this error 


"This solution contains invalid markup or elements that cannot be deployed as part of a sandboxed solution. Solution manifest for solution '956715d5-f34c-4b00-bfb7-8c35d5fa0f62' failed validation, file manifest.xml, line 12, character 4: The element 'Solution' in namespace 'http://schemas.microsoft.com/sharepoint/' has invalid child element 'TemplateFiles' in namespace 'http://schemas.microsoft.com/sharepoint/'. List of possible elements expected: 'FeatureManifests, ActivationDependencies' in namespace 'http://schemas.microsoft.com/sharepoint/'."

Has any body encountered this before, or am I doing something horribly wrong?





May 18, 2011 at 1:25 PM

Hi Bassam,

How did you go about deploying it? It sounds like it's being deployed as a sandboxed solution - it needs to be deployed as a farm solution.  If you're deploying the wsp, the included deployment script should deploy it as a farm solution.