Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Unable to create a new event in a trail version of marketing

Posted on by 5

I have started a new job where I will be looking after Marketing. To try and get up to speed I have been using a trial version of marketing.

I have come to the section on Events and when I try to create a new event I get the following error. I have also noticed there are no event templates.

An error has occurred. [object Object]UciError: GetClientMetadata failed due to System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.Crm.ObjectModel.ConverterUtilities.GetTargetEntityType(IUserAndOrganizationContext context, String fieldName, EntityMetadata primeEntity) at Microsoft.Crm.ObjectModel.ConverterUtilities.GetDatasetsForLookupAbstract(Int32 objectTypeCode, IUserAndOrganizationContext context, Int32 formFactor, XmlNode customControlNode) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetClientCustomControlPropertiesAbstract(XmlNode customControlNode, CustomControlDefinition manifest, Int32 formFactor, Int32 objectTypeCode, ExecutionContext context) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetCustomControlItemsFromControlDescription(XmlNode controlConfigurationNode, Int32 formType, Int32 primaryEntityTypeCode, Boolean addCustomControlDetails, ExecutionContext context) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetCustomControlConfigurationAbstract(XmlDocument controlDescriptionXml, Int32 primaryEntityTypeCode, Int32 formType, Boolean addCustomControlDetails, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.GetFormDescriptorWithControlProperties(Form formDescriptor, BusinessEntity entity, QueryContext queryContext, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.GetFormJsonPayload(String formString, BusinessEntity entity, QueryContext queryContext, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.Generate(CandidateItem itemToGenerator, Dictionary`2 payload, ExecutionContext context) at Microsoft.Crm.Metadata.ClientMetadataService.<>c__DisplayClass29_1.<GenerateMetadata>b__0(Boolean xrmTelemetryEnabled) at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Metadata.ClientMetadataService.GenerateMetadata(MetadataSyncEventReporter eventReporter, Dictionary`2 roots, Dictionary`2 internalPayloadRepresentation, MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at Microsoft.Crm.Metadata.ClientMetadataService.<>c__DisplayClass27_0.<AddClientMetadataFromRoots>b__1(Boolean traceEnabled) at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Metadata.ClientMetadataService.AddClientMetadata(Dictionary`2 internalPayloadRepresentation, MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at Microsoft.Crm.Metadata.ClientMetadataService.GetClientMetadataInternal(MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at s (content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:33:902494) at new h (content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:146169) at h.fromLegacyErrorStatus (content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:148196) at _ (content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:150569) at Ca (content.powerapps.com/.../mds.62fece5887c297bfafb7ae3e7627f5de.js:4:42103)
Learn moreShow details

OK

Thanks

  • MichaelFo96 Profile Picture
    MichaelFo96 141 on at
    RE: Unable to create a new event in a trail version of marketing

    Any news on this issue?

    We have freshly installed the Marketing Application (version 1.94.2009.0) and are struggling with the error.

  • Suggested answer
    Vivian Abalos Profile Picture
    Vivian Abalos 25 on at
    RE: Unable to create a new event in a trail version of marketing

    We were getting the same error and it was recommended by MSFT to update to the latest version of the Marketing application (version 1.95.2014.0)

  • Emilie Bartier Profile Picture
    Emilie Bartier 5 on at
    RE: Unable to create a new event in a trail version of marketing

    We have the same issue for one of my clients but it is not a trial.

  • RE: Unable to create a new event in a trail version of marketing

    This is happening to me too as of today. I thought it had something to do with me adding a look up to Campaign Activity on Event record, but even if i removed the field on the form and defaulted the OOTB form on the App, issue is still happening.

    It's happening when I

    1. Create a new event via Main Form

    2. View an existing event

    Not happening on Quick Create of Event

  • Suggested answer
    Eiken Profile Picture
    Eiken on at
    RE: Unable to create a new event in a trail version of marketing

    Hi, 

    This seems to be an existing bug, and many users have had this problem recently

    I suggest you create a support ticket for professional assistance following the below procedure. 

    Get Help + Support - Dynamics | Microsoft Docs 

  • Suggested answer
    mneumayer Profile Picture
    mneumayer 641 on at
    RE: Unable to create a new event in a trail version of marketing
    [quote user="cityofleeds"]

    I have started a new job where I will be looking after Marketing. To try and get up to speed I have been using a trial version of marketing.

    I have come to the section on Events and when I try to create a new event I get the following error. I have also noticed there are no event templates.

    An error has occurred. [object Object]UciError: GetClientMetadata failed due to System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.Crm.ObjectModel.ConverterUtilities.GetTargetEntityType(IUserAndOrganizationContext context, String fieldName, EntityMetadata primeEntity) at Microsoft.Crm.ObjectModel.ConverterUtilities.GetDatasetsForLookupAbstract(Int32 objectTypeCode, IUserAndOrganizationContext context, Int32 formFactor, XmlNode customControlNode) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetClientCustomControlPropertiesAbstract(XmlNode customControlNode, CustomControlDefinition manifest, Int32 formFactor, Int32 objectTypeCode, ExecutionContext context) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetCustomControlItemsFromControlDescription(XmlNode controlConfigurationNode, Int32 formType, Int32 primaryEntityTypeCode, Boolean addCustomControlDetails, ExecutionContext context) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetCustomControlConfigurationAbstract(XmlDocument controlDescriptionXml, Int32 primaryEntityTypeCode, Int32 formType, Boolean addCustomControlDetails, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.GetFormDescriptorWithControlProperties(Form formDescriptor, BusinessEntity entity, QueryContext queryContext, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.GetFormJsonPayload(String formString, BusinessEntity entity, QueryContext queryContext, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.Generate(CandidateItem itemToGenerator, Dictionary`2 payload, ExecutionContext context) at Microsoft.Crm.Metadata.ClientMetadataService.<>c__DisplayClass29_1.<GenerateMetadata>b__0(Boolean xrmTelemetryEnabled) at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Metadata.ClientMetadataService.GenerateMetadata(MetadataSyncEventReporter eventReporter, Dictionary`2 roots, Dictionary`2 internalPayloadRepresentation, MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at Microsoft.Crm.Metadata.ClientMetadataService.<>c__DisplayClass27_0.<AddClientMetadataFromRoots>b__1(Boolean traceEnabled) at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Metadata.ClientMetadataService.AddClientMetadata(Dictionary`2 internalPayloadRepresentation, MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at Microsoft.Crm.Metadata.ClientMetadataService.GetClientMetadataInternal(MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at s (content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:33:902494) at new h (content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:146169) at h.fromLegacyErrorStatus (content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:148196) at _ (content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:150569) at Ca (content.powerapps.com/.../mds.62fece5887c297bfafb7ae3e7627f5de.js:4:42103)
    Learn moreShow details

    OK

    Thanks

    [/quote]

    Hey,

    I did experience the same issue with a newly created trial. I deleted it and created another one somehow it did work for me. The only problem then was that after I set the event in a LIVE state the EVENT-URL was not populated, thus I was not able to access the Event Portal Page. 

    So I think that it is currently a bug that needs to be fixed by MS.

    Best regards,

    Mario

  • KK-22040758-1 Profile Picture
    KK-22040758-1 5 on at
    RE: Unable to create a new event in a trail version of marketing

    Same problem :/ Additionaly I cant open any event record created by system 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans