deployment - error activating .wsp file in sharepoint server 2010 -
I have developed a sample app in Visual Studio 2010. I have created an empty SharePoint project and have given the local site URL for debugging. A visual webpart was checked and checked as a trust level of SharePoint solution, "Deployed as a firm" and added a class for solution. I'm able to create and run applications using Visual Studio. SharePoint is using SharePoint Foundation 2010 in my local machine to debug the application. Now I want to deploy this application in SharePoint Server 2010 which is in the virtual machine. 1. I have copied the .wsp file of the application created for the virtual machine. 2. I created a web application and site archive from the central administrator in VM. 3. Then use Site Actions - & gt; Site Settings - & gt; Solution (gallery), to upload. Choose Wsp file. "Warning: If you believe this solution, then you should only activate this solution. An active solution can read, modify, and delete your data." And active buttons are disabled.
Then I tried to do a separate site collection on my local machine only. The Activate Button is enabled here but when clicked, threw an exception
In the server error '/' application.
This solution contains invalid markup or elements which can not be deployed as part of a solution to a sandboxed solution solution. 'Aee60282-765d-4c9f-b67a-5981f18a6d3b' Failed Verification, File manifest.xml, line 10, character 4: element 'solution' in namespace http://schemas.microsoft.com/sharepoint/ 'name space' invalid child element in http://schemas.microsoft.com/sharepoint/ ' 'TemplateFiles' is probably the list of potential elements: 'Feature manifestations, activation depressions' namespace Switch to 'http://schemas.microsoft.com/sharepoint/'.
What could be the error?
The "template file" element refers to objects that will be copied to the web server. It is allowed for agricultural solutions (which are deployed through the central admin), but sandboxed solutions (which are deployed through the solution gallery) are not allowed.
Comments
Post a Comment