How does server 2008 r2 key got deleted automatically?

I’ve Windows Server 2008 R2 installed and when I was trying to install a third party software I faced a problem stating that my server 2008 r2 key is missing. I was wondering how this happened? What could be done to rectify this problem?
