Run-Time Error '91': Object Variable or With Block Variable Not Set, Followed by Error 59999 - Application-defined or Object-defined Error


Symptoms


"Runtime error '91': Object variable or With block variable not set" "Error 59999 - Application-defined or object-defined error"These errors occur when generating a report to XML/Enhanced XML.

Cause


Insufficient permissions on the FRxXMLTag.XML file in the FRx directory.

Resolution


Resolution Log into Windows as an administrative user. Browse to the FRx directory in Windows Explorer. Right-click on the FRxXMLTag.XML file, select Properties, and then click the Security tab. Add the group Everyone, select Full Control, then click OK.

References