I am currently running a trial simulation where I have Vensim embedded in a Webservices (.Net) application that is operating with a local Internet service (IIS)..
When I debug the Webservice and have an error, the vensim application crashes and I only seem to be able to recover unless I restart my machine. Is there any way of avoiding the restart
Many thanks
"resetting" Vensim DLL after Webservice error
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
Thanks Bob,
That seems to work. In essence the DLL is crashing whenever I have loaded a model and try to run a command that cannot be executed (i.e. the nResult = 0)
For example, if I make an error in setting a variable using the SIMULATE>SETVAL (e.g. passing a zero or Null field from a database into a vensim variable that requires an absolute value greater than 1).
Phil
That seems to work. In essence the DLL is crashing whenever I have loaded a model and try to run a command that cannot be executed (i.e. the nResult = 0)
For example, if I make an error in setting a variable using the SIMULATE>SETVAL (e.g. passing a zero or Null field from a database into a vensim variable that requires an absolute value greater than 1).
Phil