I was having this issue at the very beginning with VEGAS Pro 17 or 18 ... it suddenly stopped working. The only way I got this working again was reinstalling windows.. reinstalling VEGAS was not enough.
I was having my code checked by the VEGAS developers last year and they said everything looks good, they didn't see any issues.
So in my opinion it's VEGAS fault. Sometimes changing the region settings also seemed to help. Are you at English (USA)?