Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

How to Deploy aspx page in sharepoint 2010 in different server

  Asked By: Sunil    Date: Jul 29    Category: Sharepoint 2010    Views: 4170


I have Sharepoint 2010 Installed on a server alongwith VS 2010. I have created a VS solution on this server using a local sharepoint website. In this Solution I have created some pages. Now I want to deploy all my aspx pages to Different Sharepoint server which hasn't installed VS 2010.

I tried to deploy using Pwershell commands -

Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp

Install-SPSolution –Identity SharePointProject2.wsp –WebApplication http://spsite -GACDeployment

After running these two commands I can see my pages in -layout folder and dll in GAC. also showing feature in site collection. But when I try to open the page it is not opening , giving message page can not be found.

I did a lot of internet surffing and R&D, but not found any solution.

please help me.




No Answers Found. Be the First, To Post Answer.


Related Topics:



Related Post