|
Shortlandj
Member
Posts: 38
Joined: 12/2/2005
Location: UK
User Profile |
Hi Support,
I have just installed OT 2015 and PR 2G on a new PC and I get the following error message when clicking on a symbol: "Error 5: Procedure call or argument is not valid. Occured in routine - COptionable .Save".
The error happens when 'On Demand Downloading' is checked under Data Settings and OT is attempting to load more data for the symbol.
After clicking OK on the error message the data for the symbol loads as normal.
I also get this error when trying to enter a trade using Trade Manager.
Any idea what the problem is?
I have attached a couple of logs.
Thanks
James
[Edited by Shortlandj on 5/3/2015 8:09 AM]
Attached file : OT_150502_215029.log (5KB - 470 downloads) Attached file : OT_150503_140332.log (90KB - 1740 downloads)
|
|
Barry Cohen
Sage
Posts: 6335
Joined: 1/19/2004
User Profile |
Looks like it has something to do with options. I would recommend contacting our support team. Otherwise can you try a new profile & see if the error continues? Have you tried an RT profile & does it get the same behavior? Is there an OptionablesV2.OTD file under ...\Program Files\Nirvana\OmniData\US?
|
|
John J
Veteran
Posts: 272
Joined: 8/3/2010
Location: Leduc, AB
User Profile |
Hi,
I encountered a similar problem but it went a way when I checked "Run this program as administrator" under Properties -> Compatability.
It's not sufficient to be logged in as an administrator it seems like. It took me hours to figure it out.
I also believe it's due to some recent security updates from MS...
|
|
Barry Cohen
Sage
Posts: 6335
Joined: 1/19/2004
User Profile |
Thank you, Johnny. I can confirm that the error you had was exactly the same error as the one James is reporting, so maybe running as admin is all that is needed. James, please let us know if that helps.
|
|
Shortlandj
Member
Posts: 38
Joined: 12/2/2005
Location: UK
User Profile |
Barry, Johnny,
Thanks very much, that's solved it!
I can't believe the answer was so straight forward after I've been messing around with this for hours, installing and uninstalling..
So thanks for saving me from wasting any more time on this!
James
|
|
John J
Veteran
Posts: 272
Joined: 8/3/2010
Location: Leduc, AB
User Profile |
You're welcome James...
I think Nirvana needs to inform all current and future customers (running Win7 at least) that it is a prerequisite to have the mentioned checkbox ticked in order for OT to run properly. I have OT installed on two different computers, and I can confirm that the problem appeared on both of them. It's counterproductive having to search the forum for answers...
|
|
SteveL
Veteran
Posts: 262
Joined: 8/19/2005
Location: Boulder, CO
User Profile |
Barry,
This is an FYI comment on this error and John's solution.
For a while, one of my OT2018 installs was producing this same error reported by James and John. Before I went looking for this thread, I had found that this error only occurred on some symbols. In my case, it only occurred, as James reported, when "On-Demand Downloading" was selected. AND for me it only occurred on two symbols SPY and $SPX. It did not occur on $VIX or any of the S&P100 or NASDAQ100 symbols. Weird. I removed all strategies. The problem still occurred. So, it was unrelated to any indicators or strategies, and only triggered by loading one of these two symbols.
I found John's solution in this thread and enabled "Run program as administrator." That made the error go away. I then disabled "Run program as administrator" and the problem did NOT recur. I stopped OT, re-IPLed. And restarted OT withOUT "Run program as administrator." No error when loading SPY or $SPX with "On-Demand Downloading" enabled. The problem appears to be permanently fixed, and does not require running as admin. Go figure.
Thanks John. That error popup was annoying.
|