Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 600 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Access Denied to MT4 sock file #483025
04/25/21 00:07
04/25/21 00:07
Joined: Apr 2021
Posts: 5
Australia
J
Jezza96 Offline OP
Newbie
Jezza96  Offline OP
Newbie
J

Joined: Apr 2021
Posts: 5
Australia
Hi everyone,

I recently moved over to a Contabo vps from Google and have installed a Darwinex MT4 terminal (in portable mode) and Zorro S 2.35. When I try to trade a strategy using the ZorroMT4.dll I get the following error:

test_connection compiling...........
Login 0 MT4/5..
!ZorroMT4.dll V4.26
!Access denied: C:\Users\ADMINI~1\AppData\Local\Temp\2\mt4sock032xxxxxxxxx.sys
!Check account type/number 2xxxxxxxxx
Can't connect!

I have looked at this file and the appropriate users have access (Administrator in this case). As well as uninstalled and reinstalled both Zorro and MT4. Any help in resolving this is greatly appreciated. I never ran into this issue with the Google vps.

Re: Access Denied to MT4 sock file [Re: Jezza96] #483028
04/25/21 08:00
04/25/21 08:00
Joined: Apr 2021
Posts: 19
S
simonkrebs Offline
Newbie
simonkrebs  Offline
Newbie
S

Joined: Apr 2021
Posts: 19
Have you compared the account numbers (MT4 terminal + Zorro) you're logged in with? Needs to be logged in to the same account.

I had this issue several times in past as I'm using different demo accounts ..

Also what EA version are you using?

Attached Files Bildschirmfoto 2021-04-25 um 09.57.07.png
Last edited by simonkrebs; 04/25/21 08:00.
Re: Access Denied to MT4 sock file [Re: Jezza96] #483036
04/25/21 23:11
04/25/21 23:11
Joined: Apr 2021
Posts: 5
Australia
J
Jezza96 Offline OP
Newbie
Jezza96  Offline OP
Newbie
J

Joined: Apr 2021
Posts: 5
Australia
Hi Simon thanks for getting back to me. I am definitely logged into the correct account in the MT4 terminal and the accounts.csv file for Zorro is using the correct account number. The Zorro EA version is 2.11

Re: Access Denied to MT4 sock file [Re: Jezza96] #483037
04/26/21 08:21
04/26/21 08:21
Joined: Apr 2021
Posts: 19
S
simonkrebs Offline
Newbie
simonkrebs  Offline
Newbie
S

Joined: Apr 2021
Posts: 19
Hi Jezza, I just compared to my file structure and was wondering about the "2" in your folder name. Did you compare the file/folder to your old VPS?

I ran that kind of setup you described (MT4 portable mode with EA 2.11 + Zorro 2.35) on different providers without a problem.

Attached Files
Last edited by simonkrebs; 04/26/21 08:22.
Re: Access Denied to MT4 sock file [Re: Jezza96] #483038
04/26/21 08:50
04/26/21 08:50
Joined: Apr 2021
Posts: 5
Australia
J
Jezza96 Offline OP
Newbie
Jezza96  Offline OP
Newbie
J

Joined: Apr 2021
Posts: 5
Australia
Hi Simon. In both cases, on my old google vps and my new contabo vps, mt4sock.sys file exists in both AppData/Local/Temp and AppData/Local/Temp/2. The google vps was running Zorro EA 2.09.

Re: Access Denied to MT4 sock file [Re: Jezza96] #483042
04/26/21 14:59
04/26/21 14:59
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Maybe the .sys file is locked or otherwise inaccessible on your PC. Close MT4 and Zorro, then delete that file manually and start again.

Re: Access Denied to MT4 sock file [Re: Jezza96] #483048
04/27/21 09:28
04/27/21 09:28
Joined: Apr 2021
Posts: 5
Australia
J
Jezza96 Offline OP
Newbie
Jezza96  Offline OP
Newbie
J

Joined: Apr 2021
Posts: 5
Australia
Hi jcl, unfortunately deleting the file and starting again did not resolve the issue.

Re: Access Denied to MT4 sock file [Re: Jezza96] #483069
04/30/21 09:56
04/30/21 09:56
Joined: Apr 2021
Posts: 5
Australia
J
Jezza96 Offline OP
Newbie
Jezza96  Offline OP
Newbie
J

Joined: Apr 2021
Posts: 5
Australia
Over the last couple of days I have tried a completely fresh OS install of the vps and using an Oanda MT4 terminal instead of a Darwinex terminal but I still get an Access Denied error to the MT4sock file...

Re: Access Denied to MT4 sock file [Re: Jezza96] #483070
04/30/21 10:10
04/30/21 10:10
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Is MT4 still in “portable mode”? Try installing it instead.

Re: Access Denied to MT4 sock file [Re: Jezza96] #483979
08/22/21 13:25
08/22/21 13:25
Joined: Mar 2020
Posts: 1
Chicago
Q
qomposer Offline
Guest
qomposer  Offline
Guest
Q

Joined: Mar 2020
Posts: 1
Chicago
Hi @Jezza96 - I received the same error. I resolved this by making sure that the Zorro EA was attached to the chart of the symbol I wanted to trade first in MT4/5 and then clicked trade in Zorro. Hopefully that helps.

Page 1 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1