Failed to launch service "servicename" :CDbConnection failed to open the DB connection

I have installed Bitnami Dream Factory WAMP Stack on windows
server 2008 R2. I am unable to connect to a MS SQL DB through a service
in Dream Factory. The error message I get is “Failed to launch service
“servicename”: CDbConnection failed to open the DB connection”

I have tried everything that is mentioned over here: Connecting to MS SQL Server

Eagerly awaiting help.

Native ODBC Driver 11 for SQL Server must be installed for the PHP extensions to connect MS SQL DB.