Cannot Connect to the Configuration Database Error

I encountered a problem when I try to use Sharepoint. Here is a screenshot of the error message:

Server Error in '/' Application
Cannot connect to the configuration database.
Description: An unhandled exception occured during the execution of the current web request. Please review the stack trace
Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Cannot connect to the configuration data
Source Error:
An unhandled exception was generated during the execution of the current web using the exception stack trace below.
Can this still be fixed? How? Thanks for the help guys.
