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)

"activityMimeAttachment" from CRM2011 to CRMOnline with Kingswaysoft SSIS

(0) ShareShare
ReportReport
Posted on by 423

Hi,

I am making a CRM data migration from CRM 2011 to CRM Online. Unfortunately I encountered a problem where the attachments in the "email" entity is missing.  So I tried to transfer the missing attachments with the entity "activitymimeattachment" but I can not make a link between the activities and the acitivitymimeattachment because of this error:

System.ServiceModel.FaultException<KingswaySoft.DynamicsCrmServices.Soap2011.OrganizationService.OrganizationServiceFault>: The attachment cannot be saved. Either specify activityId or ObjectTypeCode & ObjectId.

When I uncheck the "activityId" everything works fine but I can't see the attachments in the "emails". Do you have any ideas or workarounds?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    The error says that it can't figure out what to attach the file to. Are you setting the object type code, to tell it the entity type?

    Thanks,

     Aiden

  • Verified answer
    bernhards Profile Picture
    423 on at

    Hi Aiden,

    thanks it is solved now. The problem is you can not set the objecttype, objecttypecode with the activityid. Also the attachementid must be unchecked.

    Now we can see the attachments in the new system.

    Thanks,

    Bernhard

  • Community Member Profile Picture
    on at

    Could you please provide more details on how you solve this problem. I have experience same issue.

    Thanks,

    Val

  • Community Member Profile Picture
    on at

    Hi Val Maly,   if you are using an integration tool like scribe, make sure you have the field activityid mapped and also, remove the links to the fields objectid, objecttypecode and attachmentid.   if you are using the sdk, make sure you do not populate those fields either.

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