Hi there! My first advice is in relation to the crate: whining is a learned behavior. Make sure you're not using the crate as a punishment EVER, because this will teach her that it's a negative place, making normal crate days an unhappy experience. If you're already doing this, make sure you're ignoring her complaints. Many owners hear their dog whining and feel sorry for them, thinking they're "crying". While your dog is perfectly capable of feeling sad and essentially crying, she is also capable of realizing that when she whines, you pay attention. Whether you're letting her out because you feel bad, speaking to her to quiet her, or even just looking in her direction to see what she needs, you're unknowingly rewarding her vocalizations; this teaches her that whining gets her attention that she considers positive, so she's essentially trying to train you to respond to her!
If it's strictly a plea for attention, ignoring her efforts will eventually cause even a stubborn dog to stop. Alternatively, you could be dealing with real anxiety. If you absolutely want to train your dog to sleep in the closed crate, I would try leaving it open during the day, placing her favorite bed and toys inside it to encourage her to enter on her own. If you have a special toy that she only gets when she goes in her crate, you can encourage her to get excited or happy to go inside. A favorite toy or a Kong with a little kibble inside can do a lot to calm her down when she goes inside, and it makes it a positive experience for her to go inside.
Finally, make sure she's feeling satisfied when she goes in for the night. Is she getting enough exercise? Does she get to play with any people or other dogs? If she has too much pent up energy, she will never be able to calm down. If she's well exercised and tired by the time she enters, she'll be in much better spirits and more receptive to being calm and falling asleep. Good luck!