Solved

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

Posted on 2004-09-05
11
577 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
  • 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Find out how to use dynamic social media in email signatures with this top 10 DOs & DON’Ts.
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now