EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CreateStorage() throws "The system cannot find the file specified"

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
Posted: 06/11/2008 13:55:42
by Vladimir Lichman (Priority Standard support level)
Joined: 05/01/2008
Posts: 19

ECBFSError exception is thrown when calling CreateStorage():
"The system cannot find the file specified"

Here is my code:

CallbackFileSystem fCbfs = new CallbackFileSystem();
fCbfs.OnMount = new CbFsMountEvent(CbFsMount);
fCbfs.OnUnmount = new CbFsUnmountEvent(CbFsUnmount);
fCbfs.OnGetVolumeSize = new CbFsGetVolumeSizeEvent(CbFsGetVolumeSize);
fCbfs.OnGetVolumeLabel = new CbFsGetVolumeLabelEvent(CbFsGetVolumeLabel);
fCbfs.OnSetVolumeLabel = new CbFsSetVolumeLabelEvent(CbFsSetVolumeLabel);
fCbfs.OnGetVolumeId = new CbFsGetVolumeIdEvent(CbFsGetVolumeId);
fCbfs.OnOpenVolume = new CbFsOpenVolumeEvent(CbFsOpenVolume);
fCbfs.OnCloseVolume = new CbFsCloseVolumeEvent(CbFsCloseVolume);
fCbfs.OnCreateFile = new CbFsCreateFileEvent(CbFsCreateFile);
fCbfs.OnOpenFile = new CbFsOpenFileEvent(CbFsOpenFile);
fCbfs.OnCloseFile = new CbFsCloseFileEvent(CbFsCloseFile);
fCbfs.OnGetFileInfo = new CbFsGetFileInfoEvent(CbFsGetFileInfo);
fCbfs.OnEnumerateDirectory = new CbFsEnumerateDirectoryEvent(CbFsEnumerateDirectory);
fCbfs.OnCloseEnumeration = new CbFsCloseEnumerationEvent(CbFsCloseEnumeration);
fCbfs.OnSetAllocationSize = new CbFsSetAllocationSizeEvent(CbFsSetAllocationSize);
fCbfs.OnSetEndOfFile = new CbFsSetEndOfFileEvent(CbFsSetEndOfFile);
fCbfs.OnSetFileAttributes = new CbFsSetFileAttributesEvent(CbFsSetFileAttributes);
fCbfs.OnCanFileBeDeleted = new CbFsCanFileBeDeletedEvent(CbFsCanFileBeDeleted);
fCbfs.OnDeleteFile = new CbFsDeleteFileEvent(CbFsDeleteFile);
fCbfs.OnRenameOrMoveFile = new CbFsRenameOrMoveFileEvent(CbFsRenameOrMoveFile);
fCbfs.OnReadFile = new CbFsReadFileEvent(CbFsReadFile);
fCbfs.OnWriteFile = new CbFsWriteFileEvent(CbFsWriteFile);

I am usind CBFS v2.0.31 on Vista 64-bit SP1, .NET 2.0 and run application with admin privileges.
Posted: 06/11/2008 14:07:48
by Eugene Mayevski (EldoS Corp.)

If memory serves, this error happens in case when the driver is not installed.

Please run one of the sample applications and see if the driver is installed and how the sample application behaves.

Sincerely yours
Eugene Mayevski
Posted: 06/11/2008 14:15:50
by Eugene Mayevski (EldoS Corp.)

BTW the release 64-bit driver doesn't install on Vista64 due to the problems with the signature timestamp - Vista doesn't recognize GlobalSign timestamping. We've changed timestamping in build 32 which I am building now.

Please wait for this build - I will definitely make it available today. However, there's another problem to be addressed in a couple of days - again due to security settings Vista 64-bit can't run regsvr32 for VSMntNtf.dll. Maybe this will work for you but if no, the fix is expected in a couple of days.

Sincerely yours
Eugene Mayevski
Posted: 06/11/2008 14:16:45
by Vladimir Lichman (Priority Standard support level)
Joined: 05/01/2008
Posts: 19

VDisk sample throws the same exception. The driver is installed.

Could it be because helper dlls are not installed? (On Vista 64-bit installation of helper dll failes.)
Posted: 06/11/2008 14:24:22
by Vladimir Lichman (Priority Standard support level)
Joined: 05/01/2008
Posts: 19

ok, will wait

By the way previously I was able to register VSMntNtf.dll with regsvr32 on Vista 64-bit. And VSMntNtf.dll worked well - it was succesefully refreshing the explorer after adding a drive. Just make sure you run regsvr32 with elevated privileges.
Posted: 06/11/2008 14:31:54
by Eugene Mayevski (EldoS Corp.)

Vladimir Zinin just tested this. He gets "The application has failed to start because its side-by-side configuration is incorrect.".
We will experiment with various options tomorrow.

Sincerely yours
Eugene Mayevski
Posted: 06/11/2008 14:41:21
by Eugene Mayevski (EldoS Corp.)

Ok, the build is on the site.

Sincerely yours
Eugene Mayevski
Posted: 11/09/2009 09:20:51
by Kurt Griffiths (Standard support level)
Joined: 12/08/2008
Posts: 34

A customer just reported this problem with the latest version of the driver. I know the driver installed correctly, but I'm not sure about VSMntNtf.dll. If that helper DLL is not installed, could it cause "The system cannot find the file specified"?
Posted: 11/09/2009 10:03:39
by Volodymyr Zinin (EldoS Corp.)

No, it couldn't. The problem is because the driver either doesn't work correctly or doesn't work at all. Let the user reinstall the driver. And reboot the machine if it's required after the installation.
Posted: 11/09/2009 10:33:43
by Kurt Griffiths (Standard support level)
Joined: 12/08/2008
Posts: 34

We've done both of those things(reinstall and reboot), but the problem persists. The installer DLL returns success, and later when we call CallbackFileSystem.GetDriverStatus it succeeds and returns the correct version info.

This is on W2K3 32-bit.

Any chance that some security software would be interfering?
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.



Topic viewed 6039 times

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


Back to top

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

Got it!