Thursday 8 January 2009

"Command line error." When installing Web Parts into WSS 3.0 with stsadm.exe

This is an odd problem that I came accross when deploying a new Web Part solution to my training server through the command line. After pasting the command that I had copied from the web I received "Command Line Error". The solution is to write the command without pasting it!

A too easy to be true solution...but I assure you it works. The logic behind this is that when copying from one source to another you lose the true encoding in the pasted text and so (The hyphen in particular) doesnt get read by the command line.

The explanation originates from the blog in the related links.

http://blogs.msdn.com/sharepoint/archive/2007/02/24/updated-installation-guide-for-the-20-server-admin-application-templates-for-wss-3-0.aspx

1 comment:

  1. Thanks Kris, saved me hours of head scratching!!

    ReplyDelete

Bulk discount code 2022 - 35% Off First Order Discount Code at bulk.com

Bulk.com / Bulk Ltd - First Order Discount Code!  Get 35% off of your first order at Bulk, home of award-winning Sports Supplements, high ...