This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Aug 25, 2014, 7:24 AM
52 Posts
topic has been resolvedResolved

Type mismatch when opening personal contacts preferences

  • Category: Notes Client
  • Platform: Windows
  • Release: 9.0.1
  • Role: End User
  • Tags: personal contacts,preferences
  • Replies: 2

Hi there,

Recently a user reported that when he clicks on "File", "Preferences", then "Contacts" he gets the message:
Type mismatch
On Module: PREF_QUERYOPEN
On Line: 86
On Method: QUERYOPEN


I realised that I get the same error message when I do this...
I also get the error when I open my personal contacts and I click on "More", then "Preferences"

I am currently using: IBM Notes 9, Social Edition, Release 9.0.1FP1, Revision 20140404.1000-FP1 (Release 9.0.1FP1), Standard Configuration

I tried replacing the design of my names.nsf but I still get the problem.
Using the debugger, I found that the error was caused when opening the form "(PersonalAddressBookProfile) | DirectoryProfile".
The "QueryOpen" of this form triggers the function "Pref_QueryOpen" in the script library "Preferences" in my names.nsf.
I added a few "Print" statements there and found that I was getting a "desktopPolicyDoc" but it does not have the item "$DPLocked"
So I tried deleting all policies from the view ($Policies) in my names.nsf and re downloading them but I still get the error message.

Any help would be very welcome.

PS: I put the same "Print" statements on a colleague's "Pref_QueryOpen" (she is supposed to have the same policies as me)
She does not get the error because her "desktopPolicyDoc" has the item "$DPLocked"
She is using: IBM Notes 9 Social Edition, Release 9.0, Revision 20130309.0942 (Release 9.0), Standard Configuration

Aug 25, 2014, 4:54 PM
29 Posts
Prohibit flag maybe
These problems usually occur when you have mixed design elements in a template. For example, you have a form or script library from the 8.5.3 mail template in your mail 9 mail file. This happens when you have the prohibit flag check on 1 or more design elements in your mail file. You can use the tool below to see if this is the case in your situation (or just look at all the design elements in Designer). If it's not, feel free to open up a PMR and provide your mail file so IBM can investigate further.

http://www-10.lotus.com/ldd/dominowiki.nsf/dx/Prohibit_Design_Element_Tool

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal