EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Unable to use CheckAndRepair Function

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 05/24/2007 04:34:42
by Datta Kandalkar (Basic support level)
Joined: 05/16/2007
Posts: 25

I am getting the exception when i call CheckAndRepair() function on the closed Solfs object. The exception is "Object reference not set to an instance of an object." and the HResult value is "-2147467261". The code snippet which i am using is as below.


While executing the second statement, i am getting the above mentioned exception. Please provide me the solution to use the CheckAndRepair() function.
Posted: 05/24/2007 05:33:01
by Joss Burnett (Basic support level)
Joined: 05/09/2007
Posts: 15

Hi Datta,

I'm not sure whether this will help as I am using C#, (I am also using a different version of the File System than you I think.
// Check for Corruption
if ( store.IsCorrupted )
   store.CheckAndRepair(2); //

the filename, and pagesize etc. are already set for our code (so we've not used exactly the same call as you, we just use the one with the flags.

Hope this helps.



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