For some reason a site is connected to a content database that does not exist anymore. Probably someone experimented on that site in the past, the sysadmins moved all SharePoint db's to a new server and nobody thought about updating the existing database that was not (not really) in use.
Now I'm stuck with a mapping to a database that does not exist. How can I fix this. I've tried the DetachDatabase command but that needs a connection to the database. And that server does not exist anymore.