How to get baby to sleep through the night?

My daughter is almost 9 months old & refuses to sleep in her cot. I’ve tried getting her to sleep before putting her down in her cot. She instantly wakes up screaming. I’ve even tried sleeping in the room next to her cot but still no go. As soon as I give in & put her into her bassinet, she is fine & sleeps all night. I’m just so scared she’s going to fall out of her bassinet & end up seriously injured as she is now pulling herself up to stand in her bassinet.