EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Difference in CBFS method AddNetworkMountingPoint method call stack

Posted: 10/16/2014 02:28:58
by Madhu J.N (Priority Standard support level)
Joined: 10/10/2014
Posts: 7

We are using CBFS method AddNetworkMountingPoint and for effective debugging we are logging all method calls.
For Eg:
Action: Opening file and accessing mounted share[\\networkShare\shareName\test.doc] failed.
Result:Failed to open any document

We are using CBFS[V] AddNetworkMountingPoint method for mounting point and observing difference in call stack.

Before myCBFS.AddNetworkMountingPoint
myCBFS.AddNetworkMountingPoint(;networkShare;shareName, true, CbFsNetworkSymLinkFlags.nsmAllowMapAsDrive)
After myCBFS.AddNetworkMountingPoint

AddFileSystemMount -Before myCBFS.AddNetworkMountingPoint
CbFsGetVolumeSize -Entry
CbFsGetVolumeSize -Exit
CbFsGetVolumeLabel -Entry
CbFsGetVolumeLabel -Exit
CbFsGetVolumeId -Entry
CbFsGetVolumeId -Volume ID=286336778
CbFsGetVolumeId -Exit
CbFsOpenVolume -Entry
CbFsOpenVolume -Exit
AddFileSystemMount -After myCBFS.AddNetworkMountingPoint

AddFileSystemMount -Before myCBFS.AddNetworkMountingPoint
CbFsGetVolumeSize -Entry
CbFsGetVolumeSize -Exit
CbFsGetVolumeLabel -Entry
CbFsGetVolumeLabel -Exit
CbFsGetVolumeId -Entry
CbFsGetVolumeId -Volume ID=286509752
CbFsGetVolumeId -Exit
AddFileSystemMount -After myCBFS.AddNetworkMountingPoint

CbFsOpenVolume -Entry
CbFsOpenVolume -Exit

The above calls are not getting called in system2, suspecting due to this we are not opening any file.

1. Sample application works fine.
2. System1 works fine
3. System2 fails.
Posted: 10/16/2014 02:37:15
by Volodymyr Zinin (Team)

There is already CBFS version 5. Why not to use it instead of v2.5 ?
In any case if it occurs that there is a bug in CBFS we can't fix it because we don't make new builds for old versions.
As a variant try to reproduce the problem with the Mapper sample. If it works correctly find the difference in processing of your application's callbacks and the Mapper sample's ones.
Posted: 10/16/2014 02:47:07
by Eugene Mayevski (Team)

If you have a license, please link the license ticket to your user account before we continue. The ticket itself and the procedure of its use are specified in the registration e-mail that was sent to you upon license purchase. If you don't have the license ticket, please contact the person from which you have obtained the license key (the one in your source code) for a license ticket.

NOTE: please don't post license keys and license tickets to the forum. If you need to clarify something about your license, please use HelpDesk ( http://www.eldos.com/helpdesk/ ).

Sincerely yours
Eugene Mayevski



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