Cannot enter "design form" with contact-form, but with any other form

Posted on 2004-09-05
Last Modified: 2008-01-09
Hi all,

I have a very strange behavior of my local outlook. Let me start from the beginning.

I'm supporting an old VB6 programmed application which synchronizes outlook contacts with a central database and vice versa. The contacts for this synchronizing process are using a custom form. It uses the Outlook COM-Objects.

A few days ago, I had this application running and while moving a contact there was a runtime error.
Afterwards my outlook was extremly slow, but anything was working (about 50x slower than before).

After a restart of the system, the application could not access the contacts. An error "The form you selected could not be displayed. The operation failed" is displayed.

I deleted the form and cleared the forms-cache. After that I tried to reimport the form with the .oft file, but if I doubleclick on it, outlook freezes for about 45 seconds and nothing else happens. Sometimes there is a error message “The messaging interface has returned an unknown error. If the problem persists, restart Outlook”

I can open any contacts, which are using the original contact form.
I can select  "Choose from" from the Tools-Menu and select the contact form. This works fine.

But I cannot use "Design form" from the Tools-Menu and select the Contact form. In this case, the designer window opens, is filled completly white, and contains for a few seconds the tabs "General / Details / Activities / Certificates / All fields" before they disappear after about 5 seconds, the window closes and the error "The form you selected could not be displayed. The operation failed" error occurs.

I uninstalled MS Office, reinstalled it and the same behavior is there. I installed SP2 for XP and SP1 for Office. After this the same problem is still there.

I created a new profile and the problem is still there.

I have no idea what the problem could be. It can't be a file of Office, at least not one in the MS Office directory, because all of them were deleted while reinstalling the package.

The only thing I can imagine is one of the systems dll's. But how to find the correct one. Or could it be the standard contact form? But I can open the contacts form with standard contacts Only not in the "design form" mode.  The form designer should also not be the problem, because I can open any other form in it in the "design form" mode.

So actually I am lost. maybe one of you guys can help me. I don't want to reinstall the complete system if it is not absoletely necessary...

Thanks in Advance
Question by:HugoHiasl
  • 5
  • 4
LVL 13

Accepted Solution

stefri earned 500 total points
ID: 11985583
Has this form embedded code?
Did you try to open it using Shift Left Click to prevent the code to run when the form opens?
LVL 12

Author Comment

ID: 11985639
Our custom form has embedded code in it.  But the standard contact form can also not be opened with the Tools->Design Form  menu. With Appointment-Forms or the other ones theres no problem.

When do I have to press the shift button. Which way of open the form do I have to execute to test this ?

Is there anywhere a list of non MS Office Files which are used by Outlook? So that I could replace this DLL oder whatever they are by original versions?

Thanks for this first fast reply...
LVL 13

Expert Comment

ID: 11991385
if you have an oft, shift click
If from Tools/Actions/New xxxx: shift click
If from: Tools/Forms/Design a form: shift clcik
Shift Click does not fire the item_open sub in the code
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

LVL 12

Author Comment

ID: 11992175
This didn't help.

I even let the windows install job run over the installation to reset the files. Even this doesn't help.

I cannot design a form which is a custom form or the original contact form. all other forms  are working.

I can't image whats going on...
LVL 12

Author Comment

ID: 11992331
A short description about the attempts to get rid of this behavior..

I removed Office 2003, cleaned the registry keys, reinstalled office 2003. Didn't help.

removed Office 2003 cleaned the registry, installed Office XP.... Same problem is there.  

removed Office XP´, cleaned registry, run the install job of Windows XP over the existing Operatiing system as Update. Then installed office 2003. The same behavior is still there...

I'm driving crazy about this.

Best regards
LVL 13

Expert Comment

ID: 11992764
Did you clean the form cache?
Could you check the contact.cfg in C:\Program Files\Microsoft Office\Office10\forms\1033
Comment=This form is used to create contacts.









Maybe the CLSID is corrupted or inexistant?
LVL 12

Author Comment

ID: 11992858
Yes the forms cache was cleared. The whole office 2003 was reinstalled...

even replaced by office xp and again replaced by office 2003. The same problem occurs in outlook 2003 and outlook XP. if I try to open the form IPM.Contact with "choose form" all is ok. The form pops up.

If I try "design form" it freezes and after 30 seconds or so there ist the message "The form you selected could not be displayed"

Also holding the shift key while clicking on it doesn't change anything.

I can find the DesignerRuntimeGuid={0006F020-0000-0000-C000-000000000046} as Outlook Form Factory in my registry.

But I can't find the CLSID {00061031-0000-0000-C000-000000000046} in my registry. Are you sure it must be there? Because a double check against the appt.cfg and the CLSID in this file also couldn't find the CLSID {00061030-0000-0000-C000-000000000046} in the registry.

Best regards

LVL 12

Author Comment

ID: 11992861
Oh. And the .cfg file is ok on my installation.
LVL 13

Expert Comment

ID: 12000295
I constated the mentionned CLSID 00061031-0000-0000-C000-000000000046 was not part f the registry too.
When you reinstalled office, did you clean up all the registry (MSoffice leftovers) ?
I am clueless for the time being
Reformat will do the trick but this is the very last action to think about....
PS: Are other Gurus, Wizard or Sage reading this thread.....

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

777 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