AmiBroker: AmiQuote works only under Administrator account?

Discussion in 'Trading Software' started by botpro, Mar 1, 2016.

  1. botpro

    botpro

    Hello,
    has anybody else encountered this problem:
    since upgrading AmiBroker over the last weekend from v5.70 to v6.10, suddenly AmiQuote no longer works.
    The support suggests me to use it as Administrator, and yes then it works.
    This is of course a security risk.
    The installation I did as Administrator, but I can't be logged in the whole day as Administrator.

    How do you handle this? Is AB+AQ working well under normal user account in your installation?
     
  2. jharmon

    jharmon

    Try doing a full install of AmiBroker (not upgrade) - I'd say your COM/OLE linkages are broken.
     
  3. botpro

    botpro

    Well, that I alread did (was also suggested by the AB support), but it had unfortunately no effect .
    As said as Administrator it runs ok, but after logging in as normal user in Windows then AQ still can't get quotes;
    for each existing ticker it says "The system cannot find the file specified" (plus 2 binary garbage characters after it)...
    Due to this I'm currently forced to work as Administrator... :-(

    Yeah, that makes indeed sense.
    But this was working well in v5.70, and there was no change to the system
    except what the AB v6.10 upgrade installation might have done.
    I also tried to go back to v5.70 but nada, it (that's AQ) doesn't work anymore under normal user acct... ;-(
    Both AB and AQ have valid licenses, it's not the eval version.
    Really funny...
    I just wonder how to fix this COM/OLE stuff...
    I guess maybe I should remove everything related to AmiBroker/AmiQuote from the registry and go back to v5.70... but that's too much work... :-(
     
    Last edited: Mar 2, 2016
  4. jharmon

    jharmon

    I'd say there's some inherited folder permissions that are also screwed up too. At install time, AmiBroker sets the folder to User modifiable but maybe your database folder has some other weird rights set on it. Check that.

    If it's not that, an uninstall and reinstall is probably your best option. Do a system image backup first.
     
  5. botpro

    botpro

    Thx, that's indeed a good idea, I'll check the directory and file permissions...

    Hmm. reinstalling the system is out of question; this would really be too much work...
    I even don't know where I've got the old Windows CD, as it is the old XP Pro forever, running in VirtualBox under Linux ;-)
     
  6. jharmon

    jharmon

    I mean just uninstall AB, remove the AmiBroker folder from Program Files, and install it again - not a full system reinstall!

    With VirtualBox just create a snapshot and try it.
     
  7. botpro

    botpro

    But that I already tried. Even have installed in a different directory (without any spaces in path) after uninstalling and removing the old default directory.

    I know, but my XP image file is relatively big: 128 GB!... ;-) Don't have that much free on my 500 GB SSD anymore for making a snapshot image... ;-(
    vbox.png

    Ok, thx, I'll first check the file permissions...
     
    Last edited: Mar 2, 2016
  8. botpro

    botpro

    Even adding the user to the Administrators group doesn't help :-(
    It seems that indeed something is broken with COM/DCOM stuff...
    Never mind, maybe a bug in AB, and since AB support knows the problem maybe the next version will fix it.
     
  9. jharmon

    jharmon

    A snapshot doesn't take up much space - only sectors that are changed since you did a snapshot are written out.

    Anyway, time to get more disk space. It's so cheap these days and if it's causing you issues in trying to diagnose problems, it's contributing to your issues.
     
  10. botpro

    botpro

    For a full reinstallation of just AB there is plenty of free space available on the SSD and also inside the image
    (actually 95G in Linux and 75G inside the XP image), so making a snapshot of the image is not necessary at this time,
    and a fresh reinstall of AB I just did even several times (under Administrator, and even
    under the user). It doesn't help to solve the said problem.

    But just answer me this:
    does it work in your installation (ie. downloading using AQ inside a normal user session)?
    Which version of AB do you use? Is it also the latest v6.10 like in my case?
     
    #10     Mar 4, 2016