FlexScript Error Message (Flexsim 17.0.2)

FlexScript Error Message (Flexsim 17.0.2)

jason_botha
Not applicable
611 Views
15 Replies
Message 1 of 16

FlexScript Error Message (Flexsim 17.0.2)

jason_botha
Not applicable

[ FlexSim 17.0.2 ]

Hi there,

Does anyone know why the following error message shows when starting Flexsim?

Thank you.

5605-error-message.jpg

The text of the error message reads:

exception: FlexScript exception: MAIN:/project/exec/globals/nodefunctions/switchshaders exception: EditorSpatial::drawContent()

0 Likes
Accepted solutions (1)
612 Views
15 Replies
Replies (15)
Message 2 of 16

Ben_WilsonADSK
Community Manager
Community Manager
Accepted solution

Hi @Jason Botha,

I don't know about that particular error message. Perhaps someone else here will be able to jump in with some actual experience.

If no one knows for sure, these are the steps I would take to try to fix the problem:

  1. shaders and drawing are graphics related, so first I would try updating my graphics driver, as well as trying the other tips found in this graphics compatibility post.
  2. we've seen some errors come as a result of your Windows operating system not including all available Microsoft updates, so I would completely update the Windows installation, as well checking on the other items suggested in this post regarding startup/installation problems.
  3. several issues in older versions of FlexSim can be cleared up by manually downloading and installing the latest Visual C++ Redistributable for Visual Studio 2015. However, since you're using 17.0.2, this shouldn't be problem, but it's worth mentioning for others looking to clear up potential issues with their FlexSim installation.
  4. last year FlexSim was updated to use Microsoft's new API enhancements for Windows that correctly and securely load external libraries. In order for these API enhancements to work, you need to install a critical Windows security update (KB2533623). If your Windows is fully patched then this update should already be installed, but you can also download and install it manually from here: https://support.microsoft.com/en-us/kb/2533623. Once you install that update, FlexSim will correctly load and connect to module dlls. If not, perhaps a reboot is required.

Please respond back if any of the above clears up your errors. This will help anyone in the future that gets the same error.

Also, its quite useful to include the actual error text in the body of your question, so that it is easily searched. I will updated your question post with the text from your error messages.

Message 3 of 16

jason_botha
Not applicable

Thank you Ben,

I will try the above and let you know.

0 Likes
Message 4 of 16

philboboADSK
Autodesk
Autodesk

What does it show in your Help > About FlexSim screen?



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 5 of 16

Ben_WilsonADSK
Community Manager
Community Manager

Hey @Jason Botha, for anyone meeting a similar error in the future, was there a resolution to your problem?

0 Likes
Message 6 of 16

jason_botha
Not applicable

Hi Ben, Sorry for the late response.

One of the students we have using Flexsim at university is having this problem and he is yet to resolve it. I will keep you posted if we find a solution.

0 Likes
Message 7 of 16

Ben_WilsonADSK
Community Manager
Community Manager

@Jason Botha,

Be sure to try the latest bugfix release, or even the 17.1 beta to see if the problem still exists.

0 Likes
Message 8 of 16

mohamed_souliman
Not applicable

Hi there,

is any one has this problem when starting FlexSim?

thank you.

6003-flexim-problem.png

0 Likes
Message 9 of 16

mischa_spelt
Advisor
Advisor

@mohamed souliman if your error message is different from the original one, please ask a new question. Looking at the errors, it looks like you may be trying to open a newer (FlexSim 2017) model in an older version which did not support the Token class (FlexSim 2016). Try opening the model in the same version used to create it.

Message 10 of 16

clair_augsburgerZGWRZ
Collaborator
Collaborator

Hi Mohamed, can you please give more precisions:

  • which version of FlexSim are you using ?
  • which version of Windows are you using ?
  • does this error happen when you launch FlexSim or when you load a model ?
Message 11 of 16

mohamed_souliman
Not applicable

well i am on windows 7 ultimate, i have FlexSim 17.0.3 and this error appears when i am just opening FlexSim..!!, it appears that the problem is with some components like conveyors....!!

0 Likes
Message 12 of 16

clair_augsburgerZGWRZ
Collaborator
Collaborator

Thanks for these details. Did you check Windows Update if your version of Windows is up to date ?

As said by Ben in his answer above "last year FlexSim was updated to use Microsoft's new API enhancements for Windows that correctly and securely load external libraries. In order for these API enhancements to work, you need to install a critical Windows security update (KB2533623)."

Message 13 of 16

mohamed_souliman
Not applicable

okay i will try this security update and i hope that will solve the problem !! thanks any way!!

0 Likes
Message 14 of 16

mohamed_souliman
Not applicable

hi Clair, thanks a lot for your help, i solved the problem just by downloading the security update "KB2533623" as you said!! and now everything works fine !!

0 Likes
Message 15 of 16

clair_augsburgerZGWRZ
Collaborator
Collaborator

glad it helps 🙂

Message 16 of 16

majedah_a
Not applicable

Dear,

Thank you sooo much

I tried your steps, but what worked was step # 4. I downloaded Microsoft's new API enhancements for Windows. I am using Parallel (virtual windows 7).

Thanks.

0 Likes