EldoS | Feel safer!

Software components for data protection, secure storage and transfer


Posted: 05/03/2011 06:56:09
by Patrick Dorin (Standard support level)
Joined: 02/28/2008
Posts: 26


I do have this error randomly, sometimes even after a fresh restart.

It often happens, after mounting and closing several times in a short time a storage file.
I noticed that if I create a new file with a random name, the same happens.

I tried also with SimpleMounter.
I use Windows 7 64.

By the way, is it better to use the attribute true with the Close(bool Force); method ?

Please have the kindness to help me out.
Best regards.

Posted: 05/03/2011 07:15:14
by Patrick Dorin (Standard support level)
Joined: 02/28/2008
Posts: 26

As odd as it sounds,
if I modify the following SimpleMount method it doesn't crash anymore !

private void btnMount_Click(object sender, EventArgs e)
m_Storage.FileName = "test.st";


I just can't understand why it crashes if you select the same file with the Open File dialog box...

To reproduce the bug in the original SimpleMount, just create a new storage file with the Format button, and Mount and Unmount it several times the fastest possible.

You will answer me that your library wasn't made for such use,
yes, but the problem is that in my own application, this problem arises sometimes even at the first mount !

Please please help me out !
Posted: 05/03/2011 07:30:37
by Eugene Mayevski (Team)

Thank you for the report. A quick guess is that Explorer opened the container to read the thumbnail (when the user navigated to the folder in the open dialog) and cache manager didn't release the file by that moment when the storage is opened in our code. The same applies for scenario when the storage is closed and immediately re-opened.

I am moving the question to the helpdesk so that our engineers could test it properly.

Sincerely yours
Eugene Mayevski
Posted: 05/03/2011 07:32:24
by Patrick Dorin (Standard support level)
Joined: 02/28/2008
Posts: 26

If I add a mounting point, such as X:
then after when I unmount the storage I have an other IOexception, Access denied.

Please find enclosed the screenshot.

Posted: 05/03/2011 07:33:36
by Patrick Dorin (Standard support level)
Joined: 02/28/2008
Posts: 26

Thank for very much for your extremely quick answer !

Well in my own application I don't use any Dialog Box, so this is odd.

Please keep me informed.
Posted: 05/03/2011 07:53:31
by Patrick Dorin (Standard support level)
Joined: 02/28/2008
Posts: 26

I noticed that if the original version of SimpleMounter crashes,
it will modify the storage file in some way that will make my modified SimpleMounter version crash also.

Please find enclosed the storage file.

This is very odd,
as I also had the same IOexception crashes with brand new random named storage files as I told you,
or, in my own application,
sometimes it crashed but after trying a few times the storage file finally mounted successfully !

[ Download ]
Posted: 05/03/2011 08:37:19
by Eugene Mayevski (Team)

Please re-post the file to the helpdesk ticket and let's continue there.

Sincerely yours
Eugene Mayevski



Topic viewed 4327 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!