Solved

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

Posted on 2004-09-05
11
581 Views
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
Oliver
0
Comment
Question by:HugoHiasl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
11 Comments
 
LVL 13

Accepted Solution

by:
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?
Stefri
0
 
LVL 12

Author Comment

by:HugoHiasl
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...
0
 
LVL 13

Expert Comment

by:stefri
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
etc
Shift Click does not fire the item_open sub in the code
Stefri
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Author Comment

by:HugoHiasl
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...
0
 
LVL 12

Author Comment

by:HugoHiasl
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
Oliver
0
 
LVL 13

Expert Comment

by:stefri
ID: 11992764
Did you clean the form cache?
Could you check the contact.cfg in C:\Program Files\Microsoft Office\Office10\forms\1033
[Description]
MessageClass=IPM.Contact
DesignerRuntimeGuid={0006F020-0000-0000-C000-000000000046}
CLSID={00061031-0000-0000-C000-000000000046}
DisplayName=Contact
Category=Standard
Subcategory=Form
Comment=This form is used to create contacts.
LargeIcon=contactl.ico
SmallIcon=contacts.ico
VersionMajor=1
VersionMinor=0
Locale=enu
Hidden=0
Owner=Microsoft
ComposeInFolder=1

[Platforms]
Platform2=NTx86
Platform9=Chicago

[Platform.NTx86]
CPU=ix86
OSVersion=WinNT3.5

[Platform.Chicago]
CPU=ix86
OSVersion=Win95

[Properties]

[Verbs]
Verb1=1

[Verb.1]
DisplayName=&Open
Code=0
Flags=0
Attribs=2

[Extensions]
Extensions1=1

[Extension.1]
Type=30
NmidPropset={00020D0C-0000-0000-C000-000000000046}
NmidInteger=1
Value=1122110010000000

Maybe the CLSID is corrupted or inexistant?
stefri
0
 
LVL 12

Author Comment

by:HugoHiasl
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
Oliver



0
 
LVL 12

Author Comment

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

Expert Comment

by:stefri
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....
Stefri
PS: Are other Gurus, Wizard or Sage reading this thread.....
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

726 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