Windows error 0x80040216, -2147220970

Detailed Error Information

IMAPI_E_INITIALIZE_ENDWRITE[1]

Declared inimapierror.h

MPEG2_E_DATA_SOURCE_FAILED[2]

Declared inMpeg2Error.h

HRESULT analysis[3]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[3][4]
DescriptionThe source of the error code is COM/OLE Interface management.[3][4]
Error Code534 (0x0216)

Questions

2votes
1answer

Dynamics CRM 2011 - The plug-in type could not be found

I am trying to deploy a plugin to an on-premise Dynamics CRM 2011. The plugin does not do anything, it is simply an empty Execute method attached on the Post-Process event of the Account entity. My plugin looks like this: namespace CrmDemo.Plugins { public class PostAccountCreateDetail: IPlugin { public void [...] read more
c#
dynamics-crm-2011
dynamics-crm
1vote
1answer

Error When Return EntityCollection in Output Parameter CRM

I create custom action in my Dynamics CRM I add input and output parameter, So the Case is when Input is send it will filter some entity with that attribute and return Entity Collection in my output parameter. But the problem is it will always return error with status 500 [...] read more
c#
json
dynamics-crm
dynamics-365
1vote
1answer

Passing a guid as a crm filter option

I am trying to use a GUID field from CRM4 database via a WSDL query but I am unsure as to how to pass multiple guid values into the database, if I try to do this it results in an error: 0x80040216 An unexpected error occurred. Platform The code that [...] read more
sql
sql-server
dynamics-crm-4
1vote
3answers

CrmService.Update method does not work for certain attribute

This is my problem: all I want to do is update a "contact" entity in Crm 4 using the webservice. This is my code: CrmService eatupCrmService = CrmInteraction.InitializeCrmService(); contact updatedDelegate = new contact(); CeatupCrmService.Key contactPrimaryKey = new CeatupCrmService.Key(); contactPrimaryKey.Value = delegateId; updatedDelegate.contactid = contactPrimaryKey; updatedDelegate.address2_postalcode = delegateDetails.ContactDetailsPhysicalAddressCode; eatupCrmService.Update(updatedDelegate); I use [...] read more
c#
dynamics-crm-4
0votes
1answer

How to solve Qt Unresolved error code 0x80040216?

I am a student writing a project using Qt. I need to play an audio file when the button is pushed, so I write the code: void DrumsWindow::on_pushButton_dHH_clicked() { m_player = new QMediaPlayer(this); m_playlist = new QMediaPlaylist(m_player); m_player->setPlaylist(m_playlist); m_playlist->addMedia(QUrl::fromLocalFile("sound/HH.wav")); m_player->play(); } But when I hit the pushbutton, it doesn't work, [...] read more
c++
qt
audio
cross-platform
0votes
0answers

Solve Microsoft.Crm.CrmArgumentNullException: callManagerInfo in plugins and webservices?

I am using Crm dynamics 365 . The system was working perfectly i did not change any library but after some business logic changes I always get an error > Microsoft.Crm.CrmArgumentNullException: callManagerInfo in plugins and in web services whenever I am trying update anything from code to crm An example [...] read more
c#
dynamics-crm
dynamics-crm-online
0votes
2answers

Error when trying to create a record of salesorderdetail

I am trying to create a record of salesorderdetail and got an error: { "error": { "code":"0x80040216", "message":"An unexpected error occurred.", "innererror": { "message":"An unexpected error occurred.", "type":"System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]", "stacktrace":" at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.CreateInternal(Entity entity, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, Dictionary`2 optionalParameters)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.CreateOrganizationResponse(Entity entity)\r\n at [...] read more
dynamics-crm
dynamics-365
dynamics-crm-365
dynamics-crm-webapi
0votes
0answers

CRM solution import Error while importing workflow

I'm using CRM 2016, I have solution has many resources and entities, while import unmanaged solution to other CRM Org, I got error on process (name: Delete MEW) workflow ( this process doing changes on values from other entity), error as shown in log trace > Error while importing workflow [...] read more
dynamics-crm
crm
dynamics-crm-online
0votes
0answers

CRM2016 Error when I open a Task

When I tried to open a Task in the Activity inside CRM2016 I have a blank screen. In javascript I have error on Unable to get property 'ClientVariables' of undefined or null reference I used the CRM diagnostic tool and I found this error inside the log: 2016-03-09 14:34:28.823] Process: [...] read more
dynamics-crm-2016
0votes
1answer

Crm 4.0 Unknown error updating Workflow assembly

I have custom workflow assembly in Crm 4.0 Roll-up 14, this has about 10 activitys in it, Everytime I change it I get an unknknown error and it cannot be updated. This also causes a NullRerferenceException when trying to browse to the Workflow Designer in Crm. The strange thing is, [...] read more
dynamics-crm
crm
dynamics-crm-4
workflow-activity
0votes
2answers

Dynamics CRM Web Service Execute returns "Server was unable to process request."

I'm going crazy here with DCRM web services, I'm trying to create a Connection between two leads dynamically. I'm getting the following error: "0x80040216 An unexpected error occurred. Platform An unexpected error occurred. Type:Microsoft.Crm.CrmException ErrorCode:0x80040216 Object reference not set to an instance of an object." Here is my code: Guid [...] read more
web-services
dynamics-crm
dynamics-crm-4
0votes
1answer

Import Workflow using MetadataService or CrmService

I've been able to import entities from an XML file into my Dynamics instance using ImportXmlRequest as follows: > // Create the import request > > ImportXmlRequest importRequest = new ImportXmlRequest { > ParameterXml > =@"<entities><entity>MyFirstEntity<entity>MySecondEntity</entities><nodes/><securityroles/><settings/><workflows/></importexportxml>" > }; > > string customizationPath = "entityCustomizations.xml"; > > // Pass the stream [...] read more
dynamics-crm
dynamics-crm-4
0votes
2answers

Help with COM Interop

I was trying to use this example with VS 2010. When I run the code A COM exception is thrown with the error code HRESULT: 0x80040216. How can I troubleshoot this issue. I can't find something meaningful when I google it. Thanks. read more
.net
interop

Comments

Leave a comment

(plain text only)

Sources

  1. imapierror.h from Windows SDK 10.0.14393.0
  2. Mpeg2Error.h from Windows SDK 10.0.14393.0
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  4. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0