Solved

How do I solve following error?

Posted on 2011-03-22
9
850 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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
 

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

816 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

9 Experts available now in Live!

Get 1:1 Help Now