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/'.
rgosai6149Asked:
Who is Participating?
 
Jamie McAllister MVPConnect With a Mentor SharePoint ConsultantCommented:
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
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Jamie McAllister MVPSharePoint ConsultantCommented:
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 MVPSharePoint ConsultantCommented:
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 MVPSharePoint ConsultantCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.