none
plug in For audit --ID18176 生成 XML 文档时出错 RRS feed

  • 问题

  • Web Service Plug-in failed in OrganizationId: 8aaef616-5486-4a38-bb09-ca406a4aafcc; SdkMessageProcessingStepId: 50b491be-719f-df11-9d44-02bf0aff5a02; EntityName: lead; Stage: 50; MessageName: Update; AssemblyName: Custom.Crm.Audit, Custom.Crm.Audit, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e86f6c07b0fe8025; ClassName: Custom.Crm.Audit; Exception: Unhandled Exception: System.InvalidOperationException: 生成 XML 文档时出错。
       在 Microsoft.Crm.Extensibility.SdkTypeProxyCrmServiceWrapper.InternalInvoke(MethodInfo methodInfo, Object[] parameters)
       在 Microsoft.Crm.Extensibility.SdkTypeProxyCrmServiceWrapper.Create(BusinessEntity entity)
       在 Custom.Crm.Audit.Execute(IPluginExecutionContext context)
       在 Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
    Inner Exception: System.ArgumentException: Property value must be non null.
    参数名: value
       在 Microsoft.Crm.Sdk.PropertyFactory.CreateInstance(String propertyName, Object value)
       在 Microsoft.Crm.Sdk.PropertyCollection.InternalGetEnumerator()
       在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write150_DynamicEntity(String n, String ns, DynamicEntity o, Boolean isNullable, Boolean needType)
       在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write1625_Create(Object[] p)
       在 System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
    .
    2010年8月5日 8:22

答案

全部回复