Page 1 of 1

Error: Simulate button that does not work and MS3321 error

Posted: Mon Jun 28, 2021 12:14 pm
by OlivierV
Hello,

I have an error that I can’t understand:
When I click on «simulate» button, nothing happens.
I could also saw errors:
- When I load (afer opening the model), it indicates errors like «VarX is not used in the model», and then returns «RMS3321» or crash. If i check synthax at the «VarX is not used in the model», then it return me Varformat error 0 and then crash.
- If I try to use Synthesim, it indicates «Can only use this in sketch view» (while I’m in sketch view)
- Even Function Example cannot run
- I have tried to uninstall/re-install Vensim DSS, it is still the same

I think it comes from the moment where I uninstalled Vensim reader (because it became default launcher of .mdl files), maybe that can help.

I am using DSS 8.2.1 on Windows
Thank you for your help

Re: Error: Simulate button that does not work and MS3321 error

Posted: Mon Jun 28, 2021 3:43 pm
by Administrator
Can you email the model to us?

Also are you using the new beta GUI or standard Vensim one?

Re: Error: Simulate button that does not work and MS3321 error

Posted: Mon Jun 28, 2021 4:29 pm
by OlivierV
Do you think it is a model problem ? I have tried with some models and also Vensim Example or models, nothing runs.
I am using standard Vensim version

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 7:01 am
by Administrator
OlivierV wrote: Mon Jun 28, 2021 4:29 pm Do you think it is a model problem ? I have tried with some models and also Vensim Example or models, nothing runs.
I am using standard Vensim version
No models at all work?

We've seen some computers over the years where permissions were not standard. In these cases, a custom link to launch Vensim has worked. I've attached a document showing how to do this. Can you try this and see if it helps?

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 8:30 am
by OlivierV
No model at all can run.
I figured out that there only were Venread.ini and Vensimdp.ini in the folder, even thought I uninstalled Vensim reader and unistalled/re-installed Vensim DSS. Vensim.ini doesn’t exist.
Maybe I should retrieve that specific file ?

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 9:35 am
by Administrator
vensimdp.ini is the correct file to use to create the shortcut. The fact it exists suggests that is not the problem.

Can you take some screenshots and show us exactly what is happening?

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 10:12 am
by OlivierV
I have made screenshot of manipulations on a Function Example in the PNG attached

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 10:14 am
by Administrator
1. Did things changed when you tried creating the custom link to launch Vensim?

2. What is the full path to the model you are opening? Do you have permissions to write to that particular folder?

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 11:42 am
by OlivierV
The shortcut to Vensim.ini only opens it to me a text file, and the Function Example is in the Public User folder of my computer, thus I have no problem to access it (other model at different paths also do not open)

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 11:49 am
by Administrator
Can you give me a screen shot of the new shortcut to launch Vensim and what you see when you use that shortcut?

Can you try putting a model in your "My Documents" folder and opening it from there?

Also, what operating system are you using?

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 12:12 pm
by OlivierV
Here it is.
It has been the same in the document folder. I am under Windows 10 for companies. But the only thing I think changed before the apparition of the errors was installing and then uninstalling Vensim reader.

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 12:19 pm
by Administrator
ok, you haven't created the shortcut properly. This is a shortcut to the vensimdp.ini file, you need a shortcut to Vensim and pass in a different INI file.

Re: Error: Simulate button that does not work and MS3321 error

Posted: Tue Jun 29, 2021 12:39 pm
by OlivierV
Ok, I saw
That still does not work. First it tells me «The model C:\users\ovidal\documents\mdl.tmp does not exist - can’t open»
Then it creates one, I can open it but the problem of simulations remains.

Re: Error: Simulate button that does not work and MS3321 error

Posted: Wed Jun 30, 2021 1:23 pm
by Administrator
I'm not sure what to suggest.

Do you have access to another computer you can try this on?

Re: Error: Simulate button that does not work and MS3321 error

Posted: Thu Jul 01, 2021 6:33 pm
by tomfid
Is there anything in the error log? This should be in %appdata%\Roaming\Vensim\vensimdp.err.

I would be tempted to manually delete or rename %appdata%\Roaming\Vensim and c:\program files\Vensim (or C:\Program Files (x86)\Vensim if 32 bit) and do a clean reinstall.

Re: Error: Simulate button that does not work and MS3321 error

Posted: Fri Jul 02, 2021 3:21 pm
by OlivierV
I finally unistalled Vensim, deleted all folders and reinstalled it. I also changed the installation path.
Now everything seems to work well, I don’t really understand why, but I can normally run simulations.
Thank you for your help.

Re: Error: Simulate button that does not work and MS3321 error

Posted: Fri Jul 02, 2021 7:34 pm
by tomfid
Great. These weird OS interactions can be frustrating. Glad it's working.