Sharepoint 2010 Forum

 
Home » Forum » Sharepoint 2010       Ask a questionRSS Feeds

How to Deploy aspx page in sharepoint 2010 in different server

  Asked By: Sunil Dhiman         Date: Jul 29, 2011      Category: Sharepoint 2010      Views: 1277
 

Hi,

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.


Sunil..


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:                    

 

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

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].