problem with encrypting *.vdf files

Use this forum to post Sable related questions.

Moderator: Administrator

Post Reply
mashayekhi
Member
Posts: 28
Joined: Thu Aug 07, 2003 6:15 pm

problem with encrypting *.vdf files

Post by mashayekhi »

When running a script in Vensim to encrypt model files to be run by Sable, I get an error message for vdf files. The error says it cannot load them. And when I run Sable with other encrypted model files (vgf and vmf), things work except for when I want to run a simulation. These an error saying it cannot load run files (vdf files right?). What could be the problem?

Thanks in advance,
Ali
mashayekhi
Member
Posts: 28
Joined: Thu Aug 07, 2003 6:15 pm

Post by mashayekhi »

I found the solution by getting help from Ventana.
The proble was that when I wanted to encrypt my files I first loaded them and then tried to encrypt. So I used the following sequence of commands:

SPECIAL>LOADRUN|C:Mymodel foldermyfile.vdf

FILE>ENCRYPT|myfile.vdf

But one should not ever use LOADRUN, LOADMODEL or READCUSTOM with a file that he or she wishes to Encrypt. It will not cause failure for models but will cause failure for
runs. Always run ENCRYPT on files that are not currently in use by Vensim or any other application.

I used the above recommendation and the problem was solved.
Post Reply