Click to See Complete Forum and Search --> : Deploy .wsp file into SharePoint Server


murugesun
05-26-2008, 03:45 AM
Hi,

I have developed one web part control(.wsp file) using VS 2005. And I want add this solution into SharePoint server. In my server stsadm.exe located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN and my .wsp file located in E:\inetpub\ftproot\SharePoint\UserNameWebPart.Solution.WSP. So I run the below command but it is giving an error "Command line error." Please suggest me to fix this issue.

C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN>stsadm -o addsolution -filename E:\inetpub\ftproot\SharePoint\UserNameWebPart.Soluti
on.WSP

jmserdone
12-11-2008, 10:12 PM
Hey murugesun, you may want to try enclosing the attributes of -filename inside quotation tags.

So if you are in the STSADM window, this is what you should type;

stsadm -o addsolution -filename "E:\inetpub\ftproot\SharePoint\UserNameWebPart.Soluti
on.WSP"

ajdennis78
01-29-2009, 02:46 PM
Try typing the command in instead of copying and pasting it from a .doc file. It's probably an encoding issue with the "-" signs.