Hi
The reason you got the error was probably you were trying to Delivery only some of the materials of the Sales Order.
You will have to Deliver all the Materials (Header item & the components) togather, only then system will allow you to process Delivery.
I hope this helps.
Regards,
Enrique