Error while connecting with databaseOperation not permitted