Community discussions

MikroTik App
 
ginggs
just joined
Topic Author
Posts: 17
Joined: Thu Nov 04, 2010 11:53 am

roteros.dll not a valid Windows image since upgrading to 5.1

Sun Apr 10, 2011 11:01 am

Since upgrading my RB411U from ROS 5.0 RC6 to ROS 5.1 I am no longer able to open WinBox on Windows XP SP3.
The first time I attempted to connect, the updated WinBox DLL's were downloaded, and then I received the following error message:
error1.PNG
RouterOS WinBox: winbox.exe - Bad Image

The application or DLL C:\Documents and Settings\graham\Application Data\Mikrotik\Winbox\5.1-3384108182\roteros.dll is not a valid Windows iamge. Please check this against your installation diskette/
This error message is repeated several times, and then the following appears:
error2.PNG
RouterOS WinBox Error

Missing RouterOS WinBox plugins
I am using AVG Anti-Virus 2011 Free Edition and I have tried disabling the 'Resident Shield' but it made no difference.
I have also tried downloading the latest WinBox Loader (v2.2.18) from the router.
The new WinBox works perfectly in WINE on Ubuntu.
You do not have the required permissions to view the files attached to this post.
 
ginggs
just joined
Topic Author
Posts: 17
Joined: Thu Nov 04, 2010 11:53 am

Re: roteros.dll not a valid Windows image since upgrading to

Sun Apr 10, 2011 12:36 pm

Doing a virus scan of the Winbox application data directory shows that AVG is convinced the roteros.dll is a 'corrupted executable file' and that it is a 'potentially dangerous object', although it doesn't quarantine or delete the file.
error3.PNG
Below are MD5 sums of the WinBox plugins from ROS 5.1, can someone confirm their integrity please?
C:\DOCUME~1\graham\APPLIC~1\Mikrotik\Winbox\5E2D3~1.1-3>md5sum *
9c4d78e20d091c6797866a92d740e3bb *advtool.crc
6a397dd1dd27d9ccacd42ddbb98215a9 *advtool.dll
8edadb06fe5333a782c0d9424ff18219 *dhcp.crc
89803bd3f53d2b93fe2446d854042ec4 *dhcp.dll
0204e30c631f2c33b5803f35c3017769 *hotspot.crc
819741950073bca54130a49794e4435d *hotspot.dll
d1bbe73b8a564dd6dd0f3cf67a601076 *mpls.crc
081117ccfb7fec58760188d59905f204 *mpls.dll
c4d6077c55a9e7e0a0ac0144709728a6 *ntp.crc
8ad7603f2d8321df61c5f5694f865336 *ntp.dll
69a066d3ab475e15ed252e4bc8544a15 *ppp.crc
e517af1bd98905e1d05186ba611be272 *ppp.dll
32324ce73594b56a8fa8acd97afb34b4 *rb.crc
8ed80ec0042414e8035181ec924d804c *rb.dll
be956a6cad3ce4cf7280f6a338e26402 *roteros.crc
44224670f48e849ae3f039f8d4dca42f *roteros.dll
1a2021517fc6a785dffc1d97bea0c29e *roting4.crc
6cff6c103209364e624858f44025effb *roting4.dll
0fe771f76efef13e2a4beb1031c0f985 *secure.crc
d8b3f1634b91542e9b2fc513755f6b16 *secure.dll
9dc4dc303091cf655e5e755695730a92 *system.crc
575f1e4923c498ad0cf9c69613a3672c *system.dll
61e1d22de7465fa752e3f97d93ae461f *wlan4.crc
e05c9fef5ae1ca73da8c3243e6e96d6f *wlan4.dll
You do not have the required permissions to view the files attached to this post.
 
ginggs
just joined
Topic Author
Posts: 17
Joined: Thu Nov 04, 2010 11:53 am

Re: roteros.dll not a valid Windows image since upgrading to

Sun Apr 10, 2011 3:42 pm

I copied roteros.dll from my Windows XP SP3 installation as roteros-winxp.dll to my Ubuntu installation and found the md5sums are different.
graham@azureus:~/.wine/drive_c/users/graham/Application Data/Mikrotik/Winbox/5.1-3384108182$ md5sum roteros*.dll
b2b3f11cdad5133c731785bddc77360e  roteros.dll
44224670f48e849ae3f039f8d4dca42f  roteros-winxp.dll
Now I'm wondering what could be causing the file downloaded in Windows to become corrupted, a virus? :shock:

Edit: Copying roteros.dll from my Ubuntu installation to my Windows XP SP3 installation allows WinBox to start and function normally. :-?

Edit #2: Just to confirm that the DLLs stored on my RB411U have not become corrupted, I deleted the 5.1-3384108182 directory below the application data directory in my Ubuntu installation and allowed WinBox to download its plugins again. WinBox started without any problems.
 
ginggs
just joined
Topic Author
Posts: 17
Joined: Thu Nov 04, 2010 11:53 am

Re: roteros.dll not a valid Windows image since upgrading to

Wed Apr 13, 2011 9:51 am

I tried on a fresh Windows 7 64-bit installation (no AVG) and received similar errors:
error4.png
error5.png
The roteros.dll file downloaded by Windows 7 is exactly the same as the file downloaded by Windows XP SP3.

I ran vbindiff on the files and found that the segment of data that occurs at offset 0x001715A6 in the good copy of the file is repeated at offset 0x0017261E in the corrupt copies of the file.

The corrupt copies of the file are also slightly shorter than the good copy of the file; 1572750 vs 1572864 bytes.
You do not have the required permissions to view the files attached to this post.
 
hrvoje
just joined
Posts: 24
Joined: Fri Jun 11, 2010 12:39 pm
Location: Croatia

Re: roteros.dll not a valid Windows image since upgrading to

Sat Apr 16, 2011 9:16 am

Image

Uploaded with ImageShack.us
 
CyberT
Member Candidate
Member Candidate
Posts: 172
Joined: Tue Feb 01, 2011 1:39 pm
Location: Johannesburg, South Africa
Contact:

Re: roteros.dll not a valid Windows image since upgrading to

Tue Apr 19, 2011 4:52 pm

have u tried to clear the Cache under the connect button, i have found that sometimes the dll's/packages get corrupted during transfer.

Good Luck, We've just gone ros 5.1 on a 140 client user group and we have not had those problems, i had a similar issue a while ago and clearing the cache and then downloading the packages from another router sorted it out for me.

Reagards
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26379
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: roteros.dll not a valid Windows image since upgrading to

Wed Apr 20, 2011 8:22 am

clear the cache, delete all the mikrotik winbox files from the "appdata" folder and also re-download the winbox.exe file from the router. disable AVG as it can corrupt it
 
ginggs
just joined
Topic Author
Posts: 17
Joined: Thu Nov 04, 2010 11:53 am

Re: roteros.dll not a valid Windows image since upgrading to

Wed Apr 27, 2011 2:42 pm

have u tried to clear the Cache under the connect button, i have found that sometimes the dll's/packages get corrupted during transfer.
I have tried clearing the cache, also deleting the files in the appdata directory manually, and downloading a fresh copy of winbox.exe from the router, I even tried a friend's laptop with Windows 7 that has never had AVG installed and encountered the same problem every time. Doing the same procedure under WINE on Ubuntu results in a working copy of roteros.dll being downloaded every time.
Good Luck, We've just gone ros 5.1 on a 140 client user group and we have not had those problems, i had a similar issue a while ago and clearing the cache and then downloading the packages from another router sorted it out for me.
I think downloading the packages from another router is the key here.

I see 5.2 has just been released, I will upgrade and report back.
 
ginggs
just joined
Topic Author
Posts: 17
Joined: Thu Nov 04, 2010 11:53 am

Re: roteros.dll not a valid Windows image since upgrading to

Thu Apr 28, 2011 10:22 am

I see 5.2 has just been released, I will upgrade and report back.
Upgrading to 5.2 has solved the problem.

I first tried using my existing copy of winbox.exe from 5.1 and the new DLLs were downloaded and WinBox opened correctly.
I then tried downloading a fresh copy of winbox.exe, clearing the cache, and again the new DLLs were downloaded and WinBox opened correctly.
 
itmethod
newbie
Posts: 34
Joined: Tue Feb 18, 2014 8:44 pm

Re: roteros.dll not a valid Windows image since upgrading to

Wed Nov 26, 2014 8:35 am

I currenlty have the same problem with routeros 6.22 and winbox 3.03 beta , and the problem is resolved using winbox from the actual router and clearing cache. but I only have problems with winbox beta, with the 2 following things are true at the same time.

1 the router is behind a satellite connection ( Specifically Exede)
2 I'm accessing this router and others through openvpn tunnels.


if I try and access the router directly (without vpn tunnel) I can get in with no problems. The error that I get is

after clearing cache on other winbox : Error: no routeros.jg found but If i connect to the router with the stable winbox and then beta. I get: router is disconnected.

before clearing cache I get list.gum is corrupt.

and this is on multiple routers. .

Who is online

Users browsing this forum: hklt0110 and 96 guests