Reputation: 7153
I am writing "HEllo World" WebPArt on Visual Studio 2008 installed on Windows Server 2008 Enterpise. My Test SharePoint Webapplication running on MIcrosoft EMEA Server. How can I deploy my WebPart into this WebApplication?
Upvotes: 1
Views: 3413
Reputation: 24422
From piecing together fragments from the 2 other almost idential questions you've asked here and here it appears that the critical bit of info you missed out of your question is that your are using Microsoft's hosted BPOS aka SharePoint Online platform. (No one could work out what you meant by EMEA)
This isn't going to work for you. You have to install a web part actually on your farm by running STSADM actually on your server.
You can't do that as its a hosted server so you have to ask the hosting company (Microsoft in this case) to do this on your behalf.
If its the normal shared BPOS then you have no chance - they will not allow 3rd party or custom web parts.
If its BPOS-D (dedicated, 5000 seats+) then you can get them to deploy custom if you follow the 100 page process/guide here
Upvotes: 1
Reputation: 4907
If you are using Visual Studio 2008, i'll assume that you are using SharePoint 2007 (either MOSS or WSS 3.0).
There are a number of ways you can deploy the web part. The simplest would probably be this one :
Copy the wsp file on the server and open up a command line
Enter the following commands :
stsadm -o addsolution -filename {WSPFILENAME} stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
There are simpler ways to do that (that don't involve the command line). Look at the documentation on the wspbuilder site.
There are also other add-ins for visual studio (including one built by Microsoft) that will help you with SharePoint solutions in Visual Studio 2008 but I have found WSPBuilder to be the most efficient way to build / deploy SharePoint solutions.
If you are using SharePoint 2010, then you really should upgrade to Visual Studio 2010, because all you have to do is F5 and it deploys your web part.
Upvotes: 3