Error: "Object doesn't support this property or method" from simple assignment in JScript

FB 8.0.0.3040

I’m getting an error from a script I haven’t changed in years. A simple assignment in a JScript action block BuildNumber = year+month+day+“-”+hour+minute; throws the error “Object doesn’t support this property or method” - which results in a Microsoft “choose Just-in-Time Debugger” dialog. Attaching VS2022 to Finalbuilder, I see the failing line. I can examine all of the varaibles - alll are strings with sensible values, but even in the Immediate Window of VS, the assignment fails. Indeed, ANY assignment to BuildNumber fails. BuildNumber is a project variable, nothing special, and this has been working for something like 15 years, so what could be the issue?

Windows 11, latest updates. My FB subscription is currently expired - need to get that renewed!

See

In 8.5 (beta available on the downloads page) which should be released next week we deal with this work around automatically.

1 Like

Windows 11 24H2 victim. The solution that Vincent posted earlier worked perfectly.