My Oracle Support Banner

Capture Errors when Creating or Commiting a Batch "Failed to Load file cabinets", "Failed to set the batch id", "Error Number: 91", "Object variable or With block variable not set" (Doc ID 779548.1)

Last updated on NOVEMBER 28, 2023

Applies to:

Oracle WebCenter Capture 10g - Version 5.0 to [Release Stellent to 10gR3]
Oracle WebCenter Distributed Capture - Version 5.0 to [Release Stellent to 10gR3]
Information in this document applies to any platform.


The following errors occur in WebCenter Capture (formerly Oracle Document Capture) when

 Create batch error:

There was an error while attempting to create the batch directory. There may be an existing batch directory with the same name, or you may not have sufficient rights to create a directory in the batches location.
Failed to set the batch id.
Operation is not allowed in this context.

Commit batch error:

Failed to Load file cabinets.
Error Number: 91
Error: Object variable or With block variable not set


Changed product name from Oracle Document Capture to WebCenter Capture. Refer to Product Name Changes for WebCenter and Former ECM products (<Document 1364544.1>) for more information.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.