to help prevent malicious code from running one or more objects in this form were not loaded

Posted on 2009-06-30
Medium Priority
Last Modified: 2012-05-07

Some years ago, I developped a custom form which I published in My Organizational Forms Library. The form was designed in Outlook 2000 and I used the Excel object (msowc.dll). The form was still working in Outlook 2003 as long as the msowc.dll was registered.

When I upgraded to Outlook 2003 SP3, I had an error once I closed the form and this was fixed by installing the hotfix 935411.

Now I am not able to open the form. I got the message: "to help prevent malicious code from running one or more objects in this form were not loaded"

I don't know what happened. I have other users with the same Outlook version and it is working for them

Thanks for your help
Question by:slimard
  • 2
LVL 11

Accepted Solution

techzter earned 2000 total points
ID: 24744712
Here are two options you can try. The first one covers a corrupted cache that might cause the form to fail. The second is a registry entry to specifically allow the form to run.

Have you done any customizations to the form? The issue might be a corupted
form cache. You could try to clear your forms cache:

goto Tools->Options

Click on Advance Options button
Click on Custom Forms button
Click on Manage Forms button

Click the clear cache button.

Close all the opened dialogs and restart outlook.

The ideal solution for this issue is to avoid one-off forms completely. If you must use a one-off  and you are using Outlook 2003, you can use a registry entry or policy to control the behavior. (This option is not availble in Outlook 2002 SP3). To use a registry entry, add a DWORD value named AllowActiveXOneOffForms to the HKCU\Software\Microsoft\Office\11.0\Outlook\Security value and set it to one of these values:\

    0               Load only the frm20.dll controls, the Outlook View Control, Outlook Recipient Control, and the docsite (message body) control
    1               Allow only controls marked as "safe for initialization" to load
    2               Allow all ActiveX controls to load

Author Comment

ID: 24744910
Basically, I have tried both possible solutions before posting but it did not help. I have two other custom forms where I used the Excel object and the two forms are not working also.
LVL 11

Expert Comment

ID: 24745018
Sorry that it wasn't more help. You mentioned that it is working on other machines with the same version of office without issue. Perhaps try to remove and reinstall office to see if the issue clears? I don't work with custom forms so perhaps someone that is more familiar with them may be able to come along and shed some better light on the issue for you.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

As a Microsoft Exchange user, you must have known the importance of an Offline storage table (OST) file. It is nothing new for an Outlook user to be dependent on a .ost file during a server break down or a problematic Internet connection. In such a…
Often, the users face difficulty in accessing Outlook 2016 PST files on Windows 10 computer. One of the reasons behind it is the improper functioning of MS Outlook when the user tries to open it. MS Outlook suddenly stops working, or it will not op…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question