
We have a custom entity that has worked fine.
Out of the blue it stopped working this week. When we select the entity, we receive a message that "An error has occurred." We get the same error when we select Services, of which Advisors shows when selected. Even when we de-select Services for Advisors, we continue to gett the error in Services
I think I have narrowed the problem to one of the custom entities - Advisor.
We have two custom entities. #1 is called Advisor. #2 is called Advisor Skills. We
We had a workflow that was to create a new Advisor Skills record when a new advisor was added. I couldn't make the workflow work correctly so I unpublished and then deleted the workflow. It didn't appear anything was impacted by the removal of the workflow, however the is related to workflow and this is the only area where we are working now so it has to be it.
We also wondered if the Advisor view is somehow corrupt and perhaps that it why it will not load without the error. If yet, how would we drop and recreate the view?
Also of interesting note, the problem started to occur when my partner began to enter advisors into CRM. He has only entered 5 records. When I looked at the Advisor table, I noted that the timezone columns have 0 and 20 instead of NULL as the other records entered by myself.
I have pasted the the trace files below and would be grateful if someone would lend a hand. We are not working with a CRM consultant and are open to find one to help us with our dynamics issues in the future.
ProProvider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-12-13T03:22:48.000Z" />
<EventRecordID>1741746</EventRecordID>
<Channel>Application</Channel>
<Computer>server1.pbsi.local</Computer>
<Security />
</System>
- <EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>12/12/2010 9:22:48 PM</Data>
<Data>12/13/2010 3:22:48 AM</Data>
<Data>c659db814f2949e0bd5f2185248b9a7d</Data>
<Data>8714</Data>
<Data>10</Data>
<Data>0</Data>
<Data>/LM/W3SVC/2/ROOT-1-129366120680350000</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>C:\Program Files\Microsoft Dynamics CRM\CRMWeb\</Data>
<Data>SERVER1</Data>
<Data />
<Data>10120</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>TargetInvocationException</Data>
<Data>Exception has been thrown by the target of an invocation.</Data>
<Data>http://server1:5555/PBSI/_grid/cmds/dlg_delete.aspx?iObjType=4703&iTotal=1&iIndex=0&sSubTypes=&sSrcQueueId=&sParentId=&sCalendarId=&iId={202603B8-62F2-4AA0-953A-1F98CF227E86}</Data>
<Data>/PBSI/_grid/cmds/dlg_delete.aspx</Data>
CRM Tracing Version 2.0
# LocalTime: 2010-12-12 11:27:10.5
# Categories:
# CallStackOn: No
# ComputerName: SERVER1
# CRMVersion: 4.0.7333.3135
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, WebService, ApiServer, HelpServer, DeploymentService
[2010-12-12 11:27:10.5] Process:CrmAsyncService |Organization:fd96b629-ed1a-4d29-ae87-976d7d997979 |Thread: 4 |Category: Platform.Workflow |User: 00000000-0000-0000-0000-000000000000 |Level: Error | WorkflowHost.OnWorkflowTerminated
>Workflow terminated: {B2CD2406-1506-E011-8618-0026B93579B0} - at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Crm.SdkTypeProxy.CrmService.Create(BusinessEntity entity)
at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Create(BusinessEntity entity)
at Microsoft.Crm.Workflow.Services.SendEmailActivityService.Execute(ActivityExecutionContext executionContext, SendEmailActivity sendActivity)
at Microsoft.Crm.Workflow.Activities.SendEmailActivity.Execute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()
[2010-12-12 11:29:19.6] Process:CrmAsyncService |Organization:fd96b629-ed1a-4d29-ae87-976d7d997979 |Thread: 4 |Category: Platform.Workflow |User: 00000000-0000-0000-0000-000000000000 |Level: Error | WorkflowHost.OnWorkflowTerminated
>Workflow terminated: {22C48E53-1506-E011-8618-0026B93579B0} - at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Crm.SdkTypeProxy.CrmService.Create(BusinessEntity entity)
at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Create(BusinessEntity entity)
at Microsoft.Crm.Workflow.Services.SendEmailActivityService.Execute(ActivityExecutionContext executionContext, SendEmailActivity sendActivity)
at Microsoft.Crm.Workflow.Activities.SendEmailActivity.Execute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()
Process information:
Process ID: 10120
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: XmlException
Exception message: '', hexadecimal value 0x05, is an invalid character. Line 1, position 229.
Request information:
Request URL: http://serverx:xxxx/xxxxI/_root/homepage.aspx?etc=10000
Request path: /xxxx/_root/homepage.aspx
User host address:
User: x
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 17
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType)
at System.Xml.XmlTextReaderImpl.ParseCharRefInline(Int32 startPos, Int32& charCount, EntityType& entityType)
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlReader.WriteNode(XmlTextWriter xtw, Boolean defattr)
at System.Xml.XmlReader.ReadInnerXml()
at Microsoft.Crm.Application.Utility.Util.GetNodeInnerXml(String input, String nodeName)
at Microsoft.Crm.Application.Controls.AppGridUIProvider.GetRowNodeValue(String rowXml, String nodeName)
at Microsoft.Crm.Application.Controls.AppGridUIProvider.RenderRow(HtmlTextWriter output, Object rowData, Boolean multiObjectEnabled, View view, EntityMetadata metadata)
at Microsoft.Crm.Application.Controls.AppGridUIProvider.Render(HtmlTextWriter output)
at Microsoft.Crm.Application.Components.UI.DataGrid.RenderData(HtmlTextWriter output)
at Microsoft.Crm.Application.Components.UI.DataGrid.RenderInnerHtml(HtmlTextWriter output)
at Microsoft.Crm.Application.Components.UI.DataGrid.Render(HtmlTextWriter output)
at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.RenderControl(HtmlTextWriter writer)
at ASP.pbsi__root_homepage_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
*This post is locked for comments
I have the same question (0)