EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CreateStorage throws exception "Incorrect Function"

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
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 (EldoS Corp.)

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 (EldoS Corp.)

Moved to HelpDesk.
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.



Topic viewed 1600 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!