• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 889
  • Last Modified:

How do I solve following error?

This solution contains invalid markup or elements that cannot be deployed as part of a sandboxed solution. Solution manifest for solution '60ab14a4-975f-4ddc-9314-a4e95bd68b0d' failed validation, file manifest.xml, line 15, character 3: The element 'Solution' in namespace 'http://schemas.microsoft.com/sharepoint/' has invalid child element 'ApplicationResourceFiles' in namespace 'http://schemas.microsoft.com/sharepoint/'. List of possible elements expected: 'ActivationDependencies' in namespace 'http://schemas.microsoft.com/sharepoint/'.
0
rgosai6149
Asked:
rgosai6149
  • 4
  • 4
1 Solution
 
Jamie McAllister MVPArchitectCommented:
Sandboxed solutions cannot reference the file system. Your solution appears to be referencing resource files (multilingual solution?) which are on the file share.

This won't work unless you remove the reference to the resource files, or deploy "unsandboxed" (not recommended).
0
 
rgosai6149Author Commented:
Thanks for your help Jamie...can you please tell me how to deploy it as unsandboxed?
0
 
rgosai6149Author Commented:
or else how to remove the reference to the resource files? Please help.
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
Jamie McAllister MVPArchitectCommented:
Sandboxing is a project property in Visual Studio.

Do you have access to the solutions source code so that you can change it and re-deploy it?
0
 
rgosai6149Author Commented:
no i don't have any access to the source code..please suggest me what to do..thanks.
0
 
Jamie McAllister MVPArchitectCommented:
If you deploy the solution at Farm Level it will run with Full Trust rather than as Sandboxed.

http://msdn.microsoft.com/en-us/magazine/ee335711.aspx
0
 
bradgcozaCommented:
Have you tried to remove it using FeatureAdmin?  http://featureadmin.codeplex.com
0
 
rgosai6149Author Commented:
Hi Jamie..now I have access to the source code of the web part..can you please tell me how to remove reference to the resource files?
Thanks for your help.
0
 
Jamie McAllister MVPArchitectCommented:
rgosai6149 the resource file references could be everywhere in the solution! Potentially very involved.

Better to deploy without sandboxing perhaps?

http://stackoverflow.com/questions/3330240/how-to-change-sharepoint-2010-project-from-sandboxed-solution-to-farm-solution
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now