Preview Pane not available

We recently upgraded from v5 to 6.5. It seems that the preview pane icon only works in the mail database and not any other custom built application since the upgrade - Cannot execute the specified command.

What is the reason and is there a fix?