Skip to content
logo Knowledgebase

ERROR: 'Runtime error 91' when generating reports

Created on  | Last modified on 

Summary

What to do if this error appears when you run reports in Sage 50 P11D.

Description

When you run a report, you sometimes see the following message:

'Runtime error 91 - Object or variable not set to an instance of an object.'

Resolution

Check software paths

To begin, note the software paths using the steps below.

Company data folder path

  1. Click File then click Change Database Location.
  2. Note the directory path then click Cancel.

Installation folder path

  1. Click Help then About.
  2. Click the System Information tab.
  3. Click Application then note the directory path.
  4. Click OK.

Check user access to the paths

Next, check that your user has the required access to the paths you noted above.

NOTE:

For help with checking or amending these settings, contact your IT support.

  1. Close Sage 50 P11D then browse to the data folder path that you noted earlier.
  2. Right-click the P11D.MDB file then click Properties.
  3. Click the Security tab then select the required user or user group.
  4. Check that your Modify permission is Allow.
  5. Check that the Deny column is clear, then select OK.
  6. Repeat the steps for the installation folder path.

Upgrade your licence

Growing business? Add more companies, users, or employees to your Sage software licence with ease. Leave your details and we’ll be in touch.

Leave your details

Image