Solved

How do I solve following error?

Posted on 2011-03-22
9
846 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
ID: 35193966
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
ID: 35193993
Thanks for your help Jamie...can you please tell me how to deploy it as unsandboxed?
0
 

Author Comment

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

Expert Comment

by:Jamie McAllister MVP
ID: 35194170
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:rgosai6149
ID: 35194798
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
ID: 35196865
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
ID: 35197090
Have you tried to remove it using FeatureAdmin?  http://featureadmin.codeplex.com
0
 

Author Comment

by:rgosai6149
ID: 35210554
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
ID: 35211840
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

14 Experts available now in Live!

Get 1:1 Help Now