web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

attributePlatformName ---> System.ArgumentNullException: Value cannot be null

(0) ShareShare
ReportReport
Posted on by 75

I am using CRM 2013 on premise.  I am updating a record on the Facilities/Equipment entity via a crm form (real name of entity is "equipment").

When I try to change a record it pops up a message "Invalid Argument".

The downloadable log file says:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: attributePlatformNameDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ErrorCode>-2147220989</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>attributePlatformName</Message>
  <Timestamp>2017-02-21T14:54:18.4373956Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

When I look in the trace on the server it says;

Crm Exception: Message: attributePlatformName, ErrorCode: -2147220989, InnerException: Microsoft.Crm.CrmArgumentNullException: attributePlatformName ---> System.ArgumentNullException: Value cannot be null.
Parameter name: attributePlatformName

I have a total of 9 facilities records, 6 of them produce an error 3 of them don't.

Any ideas? thanks

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Any chance you've found a reason of this error? It is happening to me as well.

    Thanks,
    Dejan

  • Suggested answer
    Community Member Profile Picture
    on at

    Check this if it is related to your case. This thread says, if you try to change the email address of a queue and if there are pending emails, it throws the same error.

    answersweb.azurewebsites.net/.../0dd10636-6545-4913-9a6d-f9acb8c2b140

  • Community Member Profile Picture
    on at

    Thanks Vikas for a quick response.

    I was checking that URL earlier but that was not a reason of the issue I was having in my environment. However in the meantime I have managed to fix this issue. I've found out that the IIS reset, which hosts my website who communicates to CRM using their SDK, fixes this issue, so I started investigating this issue with an assumption that there's some kind of a memory leak, as the IIS reset helps it out.

    And after clicking a lot through the website, in several browsers/tabs, I managed to reproduce the issue. And indeed, the problem was the memory leak, but the root cause of this issue was NInject library version. Here's a thread about it: github.com/.../132. Upgrading the NInject library to a newer version helped me solving this error, and the memory usage is now constant!

  • Community Member Profile Picture
    on at

    Cheers.

  • Suggested answer
    yesyesvee07 Profile Picture
    235 on at

    We faced the similar issue in same 2013 environment but with case entity. It got resolved after restarting the Aynchronous Service.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans