What is the fully qualified namespace of your "Database" class? Are you trying to use Microsoft.Deployment.WindowsInstaller.Database to open a Firebird database? If so, that class only opens Windows Installer databases. ( I suspect you are. )
Take a look at: