Before creating the payroll stubs, ensure that the “Maintain Employees” and “Payroll Entry” screens are closed in Sage 50. When adding or entering payroll-related items, Sage 50 locks certain files and records. Additionally, verify that other users are not accessing payroll areas, as this can also prevent the stubs from being created.