I dont know why is not working, maybe server is not connected with database, or something else. Somebody can help?
Please, give us more info, we cant help you with this poor information, check if the connection data at server.cfg is the correct and post the function that is throwing the exception.