An error occurred configuring the DSN. Please check the parameters and try again (Error 40000)

The call to rdoEngine.rdoRegisterDataSource failed. 

To avoid this error, check the validity of the rdoRegisterDataSource arguments passed and try again.