aravindtj
asked on
HrESEBackupPrepare Error - doesn't fills the INSTANCE_BACKUP_INFO structure
Hi all,
I'm writing a small backup application using ESE Backup API. When I call HrESEBackupPrepare it get executed successfully with return value S_OK. But the subsequent HrEseBackupSetup call fails with the following error in system event log.
System Event log message is:
---------------8<--------- -
Source : ESE Backup
Category : Callback
EventID : 904
"Information Store (2568) Callback function call
ErrESECBPrepareInstanceFor Backup ended with error 0xC7FE1F45 Instance
not found."
--------->8-----------
Although HrESEBackupPrepare was success , the INSTANCE_BACKUP_INFO's cDatabase and cIconDescription values was 0 (which i initialized before the HrESEBackupPrepare call). But the instance_count (which was 1 - No of Information store in exchange server) and hInstanceId ( valid integer) seems to be correct.
Any guess where I'm going wrong.
Regards,
Aravind T
I'm writing a small backup application using ESE Backup API. When I call HrESEBackupPrepare it get executed successfully with return value S_OK. But the subsequent HrEseBackupSetup call fails with the following error in system event log.
System Event log message is:
---------------8<---------
Source : ESE Backup
Category : Callback
EventID : 904
"Information Store (2568) Callback function call
ErrESECBPrepareInstanceFor
not found."
--------->8-----------
Although HrESEBackupPrepare was success , the INSTANCE_BACKUP_INFO's cDatabase and cIconDescription values was 0 (which i initialized before the HrESEBackupPrepare call). But the instance_count (which was 1 - No of Information store in exchange server) and hInstanceId ( valid integer) seems to be correct.
Any guess where I'm going wrong.
Regards,
Aravind T
ASKER
Hi sharma,
Thanks for reply.
NT Backup util performs backup/Restore without any problem.
I didn't change anything in my exchange server 2003 (sp2) .
Regards,
Aravind
Thanks for reply.
NT Backup util performs backup/Restore without any problem.
I didn't change anything in my exchange server 2003 (sp2) .
Regards,
Aravind
This issue is with backup software then. Please contact them.
Thnx
Thnx
ASKER
Hi ,
I use esebcli2.dll to write small backup application.
Regards.,
Aravind T.
I use esebcli2.dll to write small backup application.
Regards.,
Aravind T.
ASKER
Hi,
Solved this issue by sending pointer to INSTANCE_BACKUP_INFO pointer to HrESEBackupPrepare call.
Thanks for ur time.
Regards.,
Aravind T.
Solved this issue by sending pointer to INSTANCE_BACKUP_INFO pointer to HrESEBackupPrepare call.
Thanks for ur time.
Regards.,
Aravind T.
ASKER
Actually I declared teh function pointer for getting INSTANCE_BACKUP_INFO as pointer to pointers[INSTANCE_BACKUP_I NFO**]. And then the problem is solved.
Thanks for support.
Moderator, can you refund my points please?
Regards,
Aravind
Thanks for support.
Moderator, can you refund my points please?
Regards,
Aravind
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is this the first time you facing issues?? Did u change anything ?
Check for all the latest patches?
Check the link mentioned below:
http://www.eventid.net/display.asp?eventid=904&eventno=1905&source=ESE%20Backup&phase=1
Thanks
K