Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

CRM 2015 - Create Rep Code and populate Joint Contact

(0) ShareShare
ReportReport
Posted on by 10

I am currently using CRM 2015.

i have a process workflow called "Replicate Rep Code"

Before i was assigned to CRM admin, someone had previously created the above workflow that created rep codes and populated joint contact information for up to 3 joint contacts.

After adding additional joint contact fields 4, 5, and 6 on the contact entity, I needed to update the workflow to take in account the new fields

However, after trying to mirror the fields, the only field that caused an error was the "Rep Code Type" field. For some reason, this causes a system error message with no explanation as to why.

This is also happening to another workflow. I can't seem to figure out why it won't let me update the field.

This is causing rep codes to auto populate the same primary contact name for the additional joint contact fields 4,5, and 6.

In the below screenshot, this is currently what i have for one of the 3 joint contacts that are working.

create-rep-code-joint-contact-2.jpg

The below is an additional joint contact i tried to mirror, the rep code type is blank as that is the only way that it allows me to save and close.

additiona-joint-contact-5.jpg

When i add the rep code type using the form assistant to mirror joint contact 2 from earlier, i get the below error message.

error-message-crm.jpg

The reason im updating this is because currently, when creating a new rep code, the below screenshot happens; contact fields 4, 5, and 6 are overpopulated with the primary contact name.

joint-contacts.jpg

  • jkim2255 Profile Picture
    10 on at
    RE: CRM 2015 - Create Rep Code and populate Joint Contact

    In the event viewer, the only errors i see other than MSCRMEmail is MSCRMKeyGenerator

    The current active key (KeyType : CrmWRPCTokenKey) is expired.  This may indicate that a key is not being regenerated correctly.  

    Not sure if this is the culprit.

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: CRM 2015 - Create Rep Code and populate Joint Contact

    Hi,

    This is not much helpful.

    Can you try enabling trace on server and also check event log on web server to see if any error details available.

    Please mark my answer verified if i were helpful

  • jkim2255 Profile Picture
    10 on at
    RE: CRM 2015 - Create Rep Code and populate Joint Contact

    Hi Kumar,

    I can't seem to attach to this reply, but i've copied and pasted the info below

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #57E9229ADetail:

    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">

     <ErrorCode>-2147220970</ErrorCode>

     <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />

     <Message>System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #57E9229A</Message>

     <Timestamp>2020-08-25T13:12:35.428421Z</Timestamp>

     <InnerFault i:nil="true" />

     <TraceText i:nil="true" />

    </OrganizationServiceFault>

    As for the f12 information, i get a content-length error

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: CRM 2015 - Create Rep Code and populate Joint Contact

    Hi,

    Could you please download log and paste here to investigate this issue further.

    Also can you open browser developer tool [Hit F12] and open network tab, now try to save and close form and check the network tab for the detailed error message.

    Please mark my answer verified if i were helpful

  • jkim2255 Profile Picture
    10 on at
    RE: CRM 2015 - Create Rep Code and populate Joint Contact

    apologies for the blurry images...

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 106

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

Overall leaderboard

Product updates

Dynamics 365 release plans