This turned out to be a permissions issue. After granting all users the right to read and execute the .OCX file on the local machine, the problem disappeared.