![]() |
#9 |
Участник
|
Сделал как в примере, СРМ выводит сообщение: Недопустимый XML формат.
Вот лог ошибки, что к чему не ясно мне пока. Цитата:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #044F499ADetail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"> <ErrorCode>-2147220970</ErrorCode> <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <KeyValuePairOfstringanyType> <d2p1:key>CallStack</d2p1:key> <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string"> в Microsoft.Crm.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context) в System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() в System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)</d2p1:value> </KeyValuePairOfstringanyType> </ErrorDetails> <Message>System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #044F499A</Message> <Timestamp>2013-09-25T14:46:35.5114095Z</Timestamp> <InnerFault> <ErrorCode>-2147220991</ErrorCode> <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <KeyValuePairOfstringanyType> <d3p1:key>CallStack</d3p1:key> <d3p1:value xmlns:d5p1="http://www.w3.org/2001/XMLSchema" i:type="d5p1:string"> в Microsoft.Crm.Query.EntityExpression.InternalDeserializeFromFetchXml(String xmlInfo, ParsingConditionValuesOption parsingOption) в Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.SetupQueryBuilder(QueryBuilder queryBuilder, View view) в Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadQueryData() в Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadData() в Microsoft.Crm.Application.Platform.Grid.GridDataProviderBase.PrepareGridData() в Microsoft.Crm.Application.Platform.Grid.GridDataProviderBase.PrepareData() в Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output) в Microsoft.Crm.Application.WebServices.AppGridWebServiceHandler.GetRefreshResponseHtml(IGridUIProvider uiProvider, StringBuilder sbTemp) в Microsoft.Crm.Application.WebServices.AppGridWebServiceHandler.Refresh(String gridXml, StringBuilder sbXml, StringBuilder sbHtml, Boolean returnJsonData) в Microsoft.Crm.Application.WebServices.AppGridWebServiceHandler.ProcessRequestInternal(HttpContext context)</d3p1:value> </KeyValuePairOfstringanyType> </ErrorDetails> <Message>Invalid XML.</Message> <Timestamp>2013-09-25T14:46:35.5114095Z</Timestamp> <InnerFault> <ErrorCode>-2147220970</ErrorCode> <ErrorDetails xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <KeyValuePairOfstringanyType> <d4p1:key>CallStack</d4p1:key> <d4p1:value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string"> в System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) в System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) в System.Xml.XmlTextReaderImpl.ParseEndElement() в System.Xml.XmlTextReaderImpl.ParseElementContent() в System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) в System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) в System.Xml.XmlDocument.Load(XmlReader reader) в Microsoft.Crm.Query.XmlDomHelper.LoadXmlInfo(String xmlInfo) в Microsoft.Crm.Query.EntityExpression.InternalDeserializeFromFetchXml(String xmlInfo, ParsingConditionValuesOption parsingOption)</d4p1:value> </KeyValuePairOfstringanyType> </ErrorDetails> <Message>System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #5B878BDA</Message> <Timestamp>2013-09-25T14:46:35.5114095Z</Timestamp> <InnerFault i:nil="true" /> <TraceText i:nil="true" /> </InnerFault> <TraceText i:nil="true" /> </InnerFault> <TraceText i:nil="true" /> </OrganizationServiceFault> |
|
|
|