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

**URL:** <https://www.finalbuilder.com/forums/t/error-object-doesnt-support-this-property-or-method-from-simple-assignment-in-jscript/7635>\
**Category:** Bugs\
**Created:** [April 2, 2025, 10:10pm UTC](https://www.finalbuilder.com/forums/t/error-object-doesnt-support-this-property-or-method-from-simple-assignment-in-jscript/7635 "2025-04-02T22:10:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdaniel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/9de053/32.png) [@cdaniel](https://www.finalbuilder.com/forums/u/cdaniel)\
**Post date:** [April 2, 2025, 10:10pm UTC](https://www.finalbuilder.com/forums/t/error-object-doesnt-support-this-property-or-method-from-simple-assignment-in-jscript/7635/1 "2025-04-02T22:10:51Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [April 2, 2025, 10:31pm UTC](https://www.finalbuilder.com/forums/t/error-object-doesnt-support-this-property-or-method-from-simple-assignment-in-jscript/7635/2 "2025-04-02T22:31:04Z")

</div>

See

> **[FinalBuilder and Automise on Windows 11 24H2](https://www.finalbuilder.com/resources/blogs/finalbuilder-and-automise-on-windows-11-24h2)**
>
> Windows 11 24H2 breaks scripting in FinalBuilder and Automise - this post details how to work around the issue.

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

---

<div class="post-metadata">

**Author:** ![cdaniel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/9de053/32.png) [@cdaniel](https://www.finalbuilder.com/forums/u/cdaniel)\
**Post date:** [April 2, 2025, 11:00pm UTC](https://www.finalbuilder.com/forums/t/error-object-doesnt-support-this-property-or-method-from-simple-assignment-in-jscript/7635/3 "2025-04-02T23:00:39Z")

</div>

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