Plex Media Server was unable to open its media database

Reboot the computer.

Verify that the drive has indeed still the D: drive letter.

Look into the Windows registry and verify that the registry key described in here still points to a folder on drive D: [HowTo] An extended guide on how to move the Plex data folder on Windows