I made a Webpart and I try to upload it to a Sharepoint Server 2010. I did this:
Insert -> Web Part -> Upload a Web Part -> Find the wsp file -> Upload
and I get this message
"The file you imported is not valid. Verify that the file is a Web Part description file (*.webpart or *.dwp) and that it contains well-formed XML."
What step I miss? When I debug from Visual Studio (F5) it works ok.
update
The commands are:
stsadm.exe -o addsolution -filename C:\ABSOLUTEPATH.wsp
http://technet.microsoft.com/es-es/library/cc263162%28office.12%29.aspx
STSADM.EXE -o deploysolution -name NAMESOLUTION.wsp -immediate
-allowGacDeployment -url http://URLSERVER
http://technet.microsoft.com/es-es/library/cc262459%28office.12%29.aspx