I have created a new sharepoint 2013 project to add custom site columns by following these steps https://msdn.microsoft.com/en-us/library/ee231593.aspx
now i want to deploy the solution to another server. so i did the following steps:-
after successfully building the SP project inside VS 2012.
i copied the generated .wsp file found under the following location
C:\Users\Administrator\Documents\Visual Studio 2012\Projects\customFields\customFields\bin\Debug
then i run the following command to deploy the solution on the new server :-
stsadm.exe -o addsolution -filename C:\customFields.wsp
but i got the following error :-
Operation is not valid due to the current state of the object. C:\customFields.wsp: The Solution installation failed.
can anyone adivce on this please ?