Solved

How do you deploy a WebPart in Sharepoint Foundation 2010?

Posted on 2010-08-12
4
966 Views
Last Modified: 2013-11-21
We are new to Sharepoint, and were able to deploy in WSS 3.0, but since moving to Sharepoint Foundation 2010, we haven't been able to figure it out.
We have a pre-packaged WebPart from Amrein Engineering that comes with a .webpart file, .wsp, dll etc.  Step 1 is to run this command
SET STSADM="c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\bin\STSADM.EXE"
%STSADM% -o addsolution -filename AEGoogleChartWebpart.wsp

After that i haven't been able to figure out the next steps to have it show up?
0
Comment
Question by:grettirb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 43

Expert Comment

by:zephyr_hex (Megan)
ID: 33424930
it's no different than 2007 version.  but you've left out some steps.

after adding the solution, you need to deploy it.
stsadm –o deploysolution –name  AEGoogleChartWebpart.wsp –url http://yoursite –allowCasPolicies –immediate

you must run this logged into an account that is farm admin.

then execute the timer job
stsadm -o execadmsvcjobs


http://moopoo.net/sharepoint/deploy-a-sharepoint-solution-with-stsadm/
0
 

Author Comment

by:grettirb
ID: 33425474
Thanks for your feedback.
I get a "Command Line Error" every time i run this, followed by the listing of all the possible switches and syntax.

This is the exact command i am running....
stsadm.exe -o deploysolution -name C:\Download\Sharepoint_Resources\Webparts\AEGoogleChartWebPart\AEGoogleChartWebpart.wsp -url http://sharepoint -immediate

Yes... "Sharepoint" is the name of the server.
I have tried it with and without the full file path, with and without the -allowCasPolicies

Any ideas?
0
 
LVL 9

Expert Comment

by:SharePointGirl
ID: 33427591
Are you running with more than one front end server? Could you have installed it on one server but not on another?

If you go to ccentral admin and view your solutions - what does it say?
0
 
LVL 43

Accepted Solution

by:
zephyr_hex (Megan) earned 125 total points
ID: 33431066
it's possible it's a character issue (i've seen this before... not sure if it's your problem):

http://sharepointxperience.blogspot.com/2007/07/stsadm-command-line-error.html
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question