Here are two example sentences :
Je suis heureux d'avoir fait votre connaissance.
Il est triste avoir perdu son emploi.
Both constructions with "avoir" are used under the same circumstance which is after an adjective of feeling. Can someone explain to me the difference between "d'avoir" and "avoir"? Is it the same when "être" is used instead of "avoir"?