Hmm... more info is needed.
What model iMac, what model SSD and what version of OSX are you installing?
Also, you say you are getting some errors... what exact errors are you getting?
Besides slow boot time, are you having any other issues? Do programs launch quick, slowly or have errors? Any Internet issues, shut down issues, etc...
As to the Boot Camp problem, what errors for that and when, during the process are you having errors? (During HD partitioning, Windows install or after install -- and what version of Windows?)
Let us know.