Error on SW2015 after installing 2016

I just installed SW2016 on my computer (without wPDM) and run a macro on SW2015 and got this mesg

Any idea what causes this error?

Thank you

SolidworksApi macros