Did anybody figured out this issue. I am using CHKSGFILES API, Log files verification works just fine. But database files always generate this error (-1003) on very first ErrCheckDbPages call. I tried it with 32/64 bit libraries for Exchange 2003 and 2007 databases with the same results. Kobus Grobler wrote: > Hi Varun > > I'm running into exactly the same problem. > I've tried the call with rgPageInfo set to NULL and cPageInfo =0. > And then also with the rgPageInfo array and count supplied (using a 1 page > buffer). > with ulPgno set to whatever PgnoFromFileOffset provides. > I am guessing the the page buffer has to be filled with a block of data read > from the database file equal to the size of what ErrCheckDbHeaders returns > (8192 in my case) starting with the first page that is not a header page > (first 2 pages is header with me -as you indicate as well). > But no luck. > > So I have to conclude that there is something missing in the documentation. > > Hope someone from the exchange team sees this post. >