I think you have some reason to dispute the first one, but with the second, no dialect but Indian English tends to use the continuous nowadays with having when the reference is to an action that occurs at a point in time or with reference to a present condition or with accumulated experience.
CONTINUOUS OVER A PERIOD OF TIME
I am having a hard time getting used to life in a rural village, after having grown up in New York City.
DISCRETE ACTION AT A POINT IN TIME
The CEO had left for another meeting before I had a chance to explain the numbers on the report. [The CEO was already gone when I explained the numbers to the other attendees at the meeting.]
or with the past-perfect
The CEO left for another meeting before I had had a chance to explain the numbers on the report to him. [I did not get a chance to explain the numbers to the CEO]
or with the simple past
The CEO left for another meeting before I had a chance to explain the numbers on the report to him. [I did not get a chance to explain the numbers to the CEO]
A chance is perceived to be a momentary occurrence, not a prolonged period of opportunity.
OK Here she comes. Now's your chance to ask her to the spring dance.
not OK Here she comes. Now's your chance to be asking her to the spring dance.