Answers.Body: <p>It seems your event registration profile form has no email field or last name field for duplicates checking, refer to this related post <a href="https://civicrm.stackexchange.com/questions/303/how-to-register-for-event-without-an-email-address">How to register for event without an email address?</a></p>
  
  <p>Also refer to the following link for for more information on civi deduping:
  <a href="http://book.civicrm.org/user/common-workflows/deduping-and-merging/" rel="nofollow noreferrer">http://book.civicrm.org/user/common-workflows/deduping-and-merging/</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-06T20:26:02.680Z
Answers.Text: Thanks for your response. My event registration profile definitely includes an email filed as well as a last name field. What I want to achieve is to use my user defined Dedupe rule that includes checking for match against the ID Number, First Name, Last Name and Email address. However, when I select this dedupe rule, i get the duplicate matching impossible error. If however, I select "Name and Email (reserved) - General", I don't get this error.
Answers.UserDisplayName: Sudesh
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-06T20:44:16.257Z
Answers.Text: Unsupervised rules are rules that are automatically checked when a user enters contact info into a form on the front end of the site (for example, when registering for an event, making a contribution) Is your dedupe rule set as unsupervised? Try editing the default unsupervised rule to add the additional fields : ID number ..
Answers.UserDisplayName: Kboy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-07T12:54:53.153Z
Answers.Text: I have managed to get my rule to work - I found that it was not set to unsupervised. Thanks. I still have other problems with event registration email and PDF receipts not being sent if I set the PDF format to A4, Landscape. I guess, that is for another thread.
Answers.UserDisplayName: Sudesh
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-06T19:22:54.083Z
Answers.LastActivityDate: 2016-02-06T19:35:40.073Z
Answers.LastEditDate: 2017-04-13T12:53:13.207Z
Answers.UserDisplayName: Kboy
Answers.Body: <p>CiviCRM 4.5 introduced the ability to select a special duplicate matching rule for your event.  With this came the higher likelihood that the fields needed for matching aren't all included in the registration form.  The Duplicate Matching Impossible error highlights that situation.</p>
  
  <p>From your comments on Kboy's answer, it seems like you had picked a different matching rule than the one you set as Unsupervised, so that explains why you got the error.</p>
  
  <p>However, <strong>you probably don't want such a specialized rule as your Unsupervised rule</strong>.  The Unsupervised rule is used on online contributions and other front-end pages, so it should be a broadly-applicable one: perhaps email only, or email plus first name.  It's unlikely that you'll ask ID numbers of your donors, so you've effectively made duplicate matching impossible on other forms.  (There just isn't a warning to say so.)</p>
  
  <p>To fix this, make a different rule Unsupervised (leaving your special rule as a General rule) and then go back to your event configuration form and select your special ID rule specifically.</p>
  
  <p><em>A side note:</em> I don't know how sensitive these South African ID numbers are, but you might consider what precautions should be taken when collecting and storing this information--and whether you should be asking for it in a form:</p>
  
  <ul>
  <li>What are the consequences if an intruder (or even an unauthorized staff member) stole the numbers and corresponding names, addresses, etc.?</li>
  <li>Are people commonly asked to provide their ID number online?  Will participants be willing to do this?</li>
  </ul>
  
  <p>I bring up these considerations because here in the U.S., everyone has a unique Social Security number, but it's sensitive enough that it's generally a bad idea to collect or store it in a CRM system.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-18T15:28:12.680Z
Answers.LastActivityDate: 2017-04-18T15:28:12.680Z
Answers.UserDisplayName: Andie Hunt
Body: <p>Our organizzation is running CiviCRM 4.6.8. We are setting up an event and participants can register online. while configuring the on-line registration page, we get the error:</p>
  
  <blockquote>
    <p>Duplicate Matching Impossible The selected profiles do not contain the
    fields necessary to match registrations with existing contacts. This
    means all anonymous registrations will result in a new contact.</p>
  </blockquote>
  
  <p>We have specified a custom profile to register participants. The profile includes as mandatory field, the ID number of the person as per their South African Identity document or passport. This field will allow us to uniquely identify each participant.</p>
  
  <p>We have also created a custom dedupe rule  (unsupervised) as follows:
  Field -> ID Number
  Length -> left this blank
  Weight -> 30
  Weight Threshold to Consider Contacts 'Matching': 30</p>
  
  <p>Why do we get this error and how can we resolve it?
  We need to ensure that a participant can register only once for this event, as it is a competition.</p>
  
Tags: <civievent><duplicate-contacts>
Title: Event Registration - Duplicate Matching Impossible
ThreadText: # Event Registration - Duplicate Matching Impossible
  
  (Asked by: username_0 on 2016-02-06)
  
  Our organizzation is running CiviCRM 4.6.8. We are setting up an event and participants can register online. while configuring the on-line registration page, we get the error:
  
  > Duplicate Matching Impossible The selected profiles do not contain the
  > fields necessary to match registrations with existing contacts. This
  > means all anonymous registrations will result in a new contact.
  
  We have specified a custom profile to register participants. The profile includes as mandatory field, the ID number of the person as per their South African Identity document or passport. This field will allow us to uniquely identify each participant.
  
  We have also created a custom dedupe rule (unsupervised) as follows:
  Field -> ID Number
  Length -> left this blank
  Weight -> 30
  Weight Threshold to Consider Contacts 'Matching': 30
  
  Why do we get this error and how can we resolve it?
  We need to ensure that a participant can register only once for this event, as it is a competition.
  
  **Tags:** civievent, duplicate-contacts
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-02-06. Score: 0 | Accepted answer
  
  It seems your event registration profile form has no email field or last name field for duplicates checking, refer to this related post [How to register for event without an email address?](https://civicrm.stackexchange.com/questions/303/how-to-register-for-event-without-an-email-address)
  
  Also refer to the following link for for more information on civi deduping:
  <http://book.civicrm.org/user/common-workflows/deduping-and-merging/>
  
  > **Comments:**
  > **username_0**: Thanks for your response. My event registration profile definitely includes an email filed as well as a last name field. What I want to achieve is to use my user defined Dedupe rule that includes checking for match against the ID Number, First Name, Last Name and Email address. However, when I select this dedupe rule, i get the duplicate matching impossible error. If however, I select "Name and Email (reserved) - General", I don't get this error.  
  > **username_1**: Unsupervised rules are rules that are automatically checked when a user enters contact info into a form on the front end of the site (for example, when registering for an event, making a contribution) Is your dedupe rule set as unsupervised? Try editing the default unsupervised rule to add the additional fields : ID number ..  
  > **username_0**: I have managed to get my rule to work - I found that it was not set to unsupervised. Thanks. I still have other problems with event registration email and PDF receipts not being sent if I set the PDF format to A4, Landscape. I guess, that is for another thread.  
  
  ---
  
  ### Answer by username_2 on 2017-04-18. Score: 0
  
  CiviCRM 4.5 introduced the ability to select a special duplicate matching rule for your event. With this came the higher likelihood that the fields needed for matching aren't all included in the registration form. The Duplicate Matching Impossible error highlights that situation.
  
  From your comments on username_1's answer, it seems like you had picked a different matching rule than the one you set as Unsupervised, so that explains why you got the error.
  
  However, **you probably don't want such a specialized rule as your Unsupervised rule**. The Unsupervised rule is used on online contributions and other front-end pages, so it should be a broadly-applicable one: perhaps email only, or email plus first name. It's unlikely that you'll ask ID numbers of your donors, so you've effectively made duplicate matching impossible on other forms. (There just isn't a warning to say so.)
  
  To fix this, make a different rule Unsupervised (leaving your special rule as a General rule) and then go back to your event configuration form and select your special ID rule specifically.
  
  *A side note:* I don't know how sensitive these South African ID numbers are, but you might consider what precautions should be taken when collecting and storing this information--and whether you should be asking for it in a form:
  
  * What are the consequences if an intruder (or even an unauthorized staff member) stole the numbers and corresponding names, addresses, etc.?
  * Are people commonly asked to provide their ID number online? Will participants be willing to do this?
  
  I bring up these considerations because here in the U.S., everyone has a unique Social Security number, but it's sensitive enough that it's generally a bad idea to collect or store it in a CRM system.
  
  
  ---
  
  