Solved

How do I solve following error?

Posted on 2011-03-22
9
843 Views
Last Modified: 2012-05-11
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
Comment
Question by:rgosai6149
  • 4
  • 4
9 Comments
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
Comment Utility
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
 

Author Comment

by:rgosai6149
Comment Utility
Thanks for your help Jamie...can you please tell me how to deploy it as unsandboxed?
0
 

Author Comment

by:rgosai6149
Comment Utility
or else how to remove the reference to the resource files? Please help.
0
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:rgosai6149
Comment Utility
no i don't have any access to the source code..please suggest me what to do..thanks.
0
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
Comment Utility
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
 
LVL 7

Expert Comment

by:bradgcoza
Comment Utility
Have you tried to remove it using FeatureAdmin?  http://featureadmin.codeplex.com
0
 

Author Comment

by:rgosai6149
Comment Utility
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
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now