question

Flavio Oliveira_de_brito avatar image
0 Likes"
Flavio Oliveira_de_brito asked Phil BoBo commented

OptQuest Error -1

Hi,

The OptQuest Error is happening when I try to run it. According to debug, the errorCode = -1.

I tried this license in other pc and it worked well.

No exceptions is showed and this same model ran in other pc, even a simple model don't run.

Thanks,

Flavio Brito.

FlexSim 17.1.2
optquest error
capture.png (46.5 KiB)
capture2.png (53.0 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Phil BoBo avatar image
2 Likes"
Phil BoBo answered Phil BoBo commented

That error happens when the Optquest DLL wasn't correctly registered by the installer.

Perhaps you are missing the version of .NET framework version that is being used to register the Optquest DLL?

Trying doing the following to register the OptQuest DLL manually:

Open a Command Prompt (Admin) by running command prompt as an administrator. Then execute the following two commands:

  1. cd "C:\Program Files\FlexSim 2017 Update 1\program"
  1. %WINDIR%\Microsoft.NET\Framework\v4.0.30319\regasm.exe .\comoptquest.dll
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.