EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CreateStorage throws exception "Incorrect Function"

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
Posted: 01/16/2013 19:17:40
by Zohrab Broyan (Basic support level)
Joined: 01/16/2013
Posts: 2

I'm trying to run the sample Mounter and VDisk project. The driver is installed properly (I do see cbfs4.sys file under Windows/System32/Drivers folder). When I click on "Create Storage", a popup window comes up and asks for the license key. I have the evaluation license key, which I enter. After I click OK, I get the "Incorrect Function" message.

I'm running on Windows 7 Professional 64 bit machine. Using VS 2010.

I did debug the code, and it fails when it calls CreateStorage() method. Error Code is 1. I also checked Event Viewer, and here's what I see in there:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="cbfs4" />
  <EventID Qualifiers="0">1</EventID>
  <TimeCreated SystemTime="2013-01-17T00:50:09.000000000Z" />
  <Security />
- <EventData>

Your help is greatly appreciated.

Posted: 01/17/2013 00:14:49
by Eugene Mayevski (Team)

Please run Mapper sample and see whether it shows version number - this indicates that the driver was installed to the OS properly.

Sincerely yours
Eugene Mayevski
Posted: 01/17/2013 10:26:24
by Zohrab Broyan (Basic support level)
Joined: 01/16/2013
Posts: 2

Yes, it shows "Driver (ver installed, service is running".

Posted: 07/03/2013 09:20:07
by Adin Schmahmann (Basic support level)
Joined: 07/03/2013
Posts: 1

I've run into the same issue with the Mapper and the other demos as well. What was the resolution to this issue? Actually, I found that the error happens when I try to MountMedia after having called CreateStorage. The driver version is

Posted: 07/03/2013 14:57:32
by Volodymyr Zinin (Team)

Moved to HelpDesk.
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.



Topic viewed 1929 times



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!