Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7583739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:45:16+00:00 2026-05-30T18:45:16+00:00

How to deploy an Application page of Sharepoint 2010 to another production server. I’ve

  • 0

How to deploy an Application page of Sharepoint 2010 to another production server.

I’ve created an Application page of Sharepoint 2010 inside the mapped layout folder. Everything works nicely now in Visual Studio 2010.
I can debug it after pressing F5, I can retract it and deploy it with Visual Studio 2010.

But when it comes to deploying it to another production server, I have tons of questions.

  1. Basically I don’t know how to deploy it to another production server. My first thought was just copy the pages to the Layout folder of IIS and register the referenced dlls. But after I studied a little bit of deployment, I feel my thought is ugly.
  2. I tried “right clicking” on the project name and “package”. The Visual Studio generates a “MyProjectName.wsp” in the bin folder. I used the central administration to upload this wsp file. But when I activate it, it raised an error saying “This solution contains invalid markup or elements that cannot be deployed as part of a sandboxed solution. Solution manifest for solution ‘af2f9404-3b39-4f90-87f5-31e14b2f9a9a’ failed validation, file manifest.xml, line 6, character 4: The element ‘Solution’ in namespace ‘http://schemas.microsoft.com/sharepoint/’ has invalid child element ‘TemplateFiles’ in namespace ‘http://schemas.microsoft.com/sharepoint/’. List of possible elements expected: ‘FeatureManifests, ActivationDependencies’ in namespace ‘http://schemas.microsoft.com/sharepoint/’.” It seems that my application is not a sandbox, but I can’t change it to a sandbox. Because when I do change it, the Visual Studio tells me “The deployment type “TemplateFile” of file “ApplicationPage1.aspx” in Project Item “Layouts” is not compatible with a Package in a Sandboxed Solution.
    The Project Item “Layouts” cannot be deployed through a Package in a Sandboxed Solution.
    Package validation failed.”
  3. Besides, even if I can successfully activate the .wsp file, I am not sure if the application page can be added to the Layout folder. Because I don’t know how the .wsp file locate and find my application page? It doesn’t have the page in it. Can anyone explain a bit on it?

Thanks for your answers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T18:45:17+00:00Added an answer on May 30, 2026 at 6:45 pm

    1) It’s strongly recommended that you use powershell to run your test and production deployments: http://dotnet.sys-con.com/node/1208275

    2) Try changing your SharePoint solution to a farm solution and repackaging your wsp.

    3) By right clicking on your project in visual studio and adding the mapped Layouts folder the solution packaging handles placing any application pages/user controls that you have in the appropriate directory inside your wsp.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to deploy an ASP.NET 3.5 Web Application to my production server
So I am using Capistrano to deploy a rails application to my production server
I created my first application GoogleApps and I want to deploy it on server.
If I just deploy Siverlight application (eithre ASP.Net page or Html page uses XAP
We have to deploy our application on a Windows 2008 64 bit server. As
I'm currently trying to deploy some RSS feeds on a WebLogic Application Server. The
I'm trying to deploy an web application on tomcat server fronted with Nginx. The
I have to deploy a Grails application on a Tomcat server. So I packaged
I tried to deploy an application.war file into webapps/ in the tomcat folder and
I keep getting this error when I deploy my application in the server machine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.