Error while sending email
-
Thursday, 19 April 2012 10:21 AM
When one of our users tries to reply to a mail message. CRM reponds with an error and the reply is gone. I found this trace in our log files:
[2012-04-19 12:11:07.084] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 52 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ExceptionConverter.ConvertMessageAndErrorCode >System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #6B18B05A: System.Xml.XmlException: '', hexadecimal value 0x05, is an invalid character. Line 1, position 16384. > at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) > at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, StringBuilder 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.FinishPartialValue() > at System.Xml.XmlTextReaderImpl.get_Value() > at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) > at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) > at System.Xml.XmlDocument.Load(XmlReader reader) > at Microsoft.Crm.SharedUtil.CreateXmlDocument(String xml) > at Microsoft.Crm.Application.Platform.EntityProxy.SetData(String value) > at Microsoft.Crm.Application.Forms.EndUserForm.RetrieveParametersForEventDefault() > at Microsoft.Crm.Application.Forms.EmailActivityForm.RetrieveParameters() > at Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) > at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, FormDescriptor fd) > at Microsoft.Crm.Application.Components.PageHandlers.EmailRecordPageHandler.ConfigureFormHandler() > at Microsoft.Crm.Application.Components.Utility.GenericEventProcessor.RaiseEvent(String eventName) > at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e) > at System.Web.UI.Control.PreRenderRecursiveInternal() > at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The original mail:
=== Verbose logging started: 4/18/2012 11:59:07 Build type: SHIP UNICODE 3.01.4001.5512 Calling process: C:\WINDOWS\system32\msiexec.exe === MSI (c) (54:E8) [11:59:07:126]: Resetting cached policy values MSI (c) (54:E8) [11:59:07:126]: Machine policy value 'Debug' is 0 MSI (c) (54:E8) [11:59:07:126]: ******* RunEngine: ******* Product: extensibilityMSM.msi ******* Action: ******* CommandLine: ********** MSI (c) (54:E8) [11:59:07:126]: Client-side and UI is none or basic: Running entire install on the server. MSI (c) (54:E8) [11:59:07:126]: Grabbed execution mutex. MSI (c) (54:E8) [11:59:07:158]: Cloaking enabled. MSI (c) (54:E8) [11:59:07:158]: Attempting to enable all disabled priveleges before calling Install on Server MSI (c) (54:E8) [11:59:07:173]: Incrementing counter to disable shutdown. Counter after increment: 0 MSI (s) (B4:18) [11:59:07:173]: Grabbed execution mutex. MSI (s) (B4:F8) [11:59:07:173]: Resetting cached policy values MSI (s) (B4:F8) [11:59:07:173]: Machine policy value 'Debug' is 0 MSI (s) (B4:F8) [11:59:07:173]: ******* RunEngine: ******* Product: C:\Documents and Settings\Administrator\Desktop\extensibilityMSM.msi ******* Action: ******* CommandLine: ********** MSI (s) (B4:F8) [11:59:07:173]: Machine policy value 'DisableUserInstalls' is 0 MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109010090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109010090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109110000000000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109110000000000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109440090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109440090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109510090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109510090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109511090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109511090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109610090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109610090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109711090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109711090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109810090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109810090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109910090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109910090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109A10090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109A10090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109B10090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109B10090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109C20090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109C20090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109E60090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109E60090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109F10090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109F10090400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109F100A0C00000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109F100A0C00000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00002109F100C0400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00002109F100C0400000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 00004109500200000000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 00004109500200000000000000F01FEC MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 0B64106E380CEB74DBB6FE5AA78C9D1B MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 0B64106E380CEB74DBB6FE5AA78C9D1B MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 0B79C053C7D38EE4AB9A00CB3B5D2472 MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 0B79C053C7D38EE4AB9A00CB3B5D2472 MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 0DC1503A46F231838AD88BCDDC8E8F7C MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 0DC1503A46F231838AD88BCDDC8E8F7C MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 10EAF4144327A104B8D4CB44666B4DCE MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 10EAF4144327A104B8D4CB44666B4DCE MSI (s) (B4:F8) [11:59:07:173]: Setting cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:173]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:173]: File will have security applied from OpCode. MSI (s) (B4:F8) [11:59:07:189]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Documents and Settings\Administrator\Desktop\extensibilityMSM.msi' against software restriction policy MSI (s) (B4:F8) [11:59:07:189]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 MSI (s) (B4:F8) [11:59:07:189]: SOFTWARE RESTRICTION POLICY: C:\Documents and Settings\Administrator\Desktop\extensibilityMSM.msi is not digitally signed MSI (s) (B4:F8) [11:59:07:189]: SOFTWARE RESTRICTION POLICY: C:\Documents and Settings\Administrator\Desktop\extensibilityMSM.msi is permitted to run at the 'unrestricted' authorization level. MSI (s) (B4:F8) [11:59:07:189]: End dialog not enabled MSI (s) (B4:F8) [11:59:07:189]: Original package ==> C:\Documents and Settings\Administrator\Desktop\extensibilityMSM.msi MSI (s) (B4:F8) [11:59:07:189]: Package we're running from ==> C:\WINDOWS\Installer\1eabe042.msi MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: APPCOMPAT: looking for appcompat database entry with ProductCode '{09959E11-AD5D-408E-96AF-E3346954D6B8}'. MSI (s) (B4:F8) [11:59:07:189]: APPCOMPAT: no matching ProductCode found in database. MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: MSCOREE not loaded loading copy from system32 MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Note: 1: 2262 2: MsiFileHash 3: -2147287038 MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Machine policy value 'DisablePatch' is 0 MSI (s) (B4:F8) [11:59:07:189]: Machine policy value 'AllowLockdownPatch' is 0 MSI (s) (B4:F8) [11:59:07:189]: Machine policy value 'DisableLUAPatching' is 0 MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Machine policy value 'DisableFlyWeightPatching' is 0 MSI (s) (B4:F8) [11:59:07:189]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active MSI (s) (B4:F8) [11:59:07:189]: APPCOMPAT: looking for appcompat database entry with ProductCode '{09959E11-AD5D-408E-96AF-E3346954D6B8}'. MSI (s) (B4:F8) [11:59:07:189]: APPCOMPAT: no matching ProductCode found in database. MSI (s) (B4:F8) [11:59:07:189]: Transforms are not secure. MSI (s) (B4:F8) [11:59:07:189]: Note: 1: 2262 2: Control 3: -2147287038 MSI (s) (B4:F8) [11:59:07:189]: Command Line: CURRENTDIRECTORY=C:\Documents and Settings\Administrator\Desktop CLIENTUILEVEL=3 CLIENTPROCESSID=3156 MSI (s) (B4:F8) [11:59:07:189]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{208A8879-42D3-494E-8CF4-F5820B3A390E}'. MSI (s) (B4:F8) [11:59:07:189]: Product Code passed to Engine.Initialize: '{09959E11-AD5D-408E-96AF-E3346954D6B8}' MSI (s) (B4:F8) [11:59:07:189]: Product Code from property table before transforms: '{09959E11-AD5D-408E-96AF-E3346954D6B8}' MSI (s) (B4:F8) [11:59:07:189]: Product Code from property table after transforms: '{09959E11-AD5D-408E-96AF-E3346954D6B8}' MSI (s) (B4:F8) [11:59:07:189]: Product registered: entering maintenance mode MSI (s) (B4:F8) [11:59:07:189]: PROPERTY CHANGE: Adding ProductState property. Its value is '5'. MSI (s) (B4:F8) [11:59:07:189]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'. MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Note: 1: 2343 MSI (s) (B4:F8) [11:59:07:189]: Entering CMsiConfigurationManager::SetLastUsedSource. MSI (s) (B4:F8) [11:59:07:189]: Using cached product context: machine assigned for product: 11E95990D5DAE80469FA3E4396456D8B MSI (s) (B4:F8) [11:59:07:189]: Note: 1: 2720 2: 2 MSI (s) (B4:F8) [11:59:07:189]: Note: 1: 1729 MSI (s) (B4:F8) [11:59:07:189]: Note: 1: 2729 MSI (s) (B4:F8) [11:59:07:189]: Note: 1: 2729 MSI (s) (B4:F8) [11:59:07:189]: Product: Shared Add-in Extensibility Update for Microsoft .NET Framework 2.0 (KB908002) -- Configuration failed. MSI (s) (B4:F8) [11:59:07:189]: MainEngineThread is returning 1625 This installation is forbidden by system policy. Contact your system administrator. C:\Documents and Settings\Administrator\Desktop\extensibilityMSM.msi MSI (c) (54:E8) [11:59:07:189]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (c) (54:E8) [11:59:07:189]: MainEngineThread is returning 1625 === Verbose logging stopped: 4/18/2012 11:59:07 ===
I don't see any kind of illegal character in this mail.
All Replies
-
Thursday, 19 April 2012 10:32 AMSo you don't have & in the Subject. Try changing the role of the user who is getting this error message. Send email again.
Regards Faisal
-
Thursday, 19 April 2012 1:47 PM
No & in the subject..
Change role of the user? Ok, but to what?
-
Thursday, 26 April 2012 6:44 AManyone??
-
Thursday, 26 April 2012 8:50 AMAny role which has full permissions on Activities.
Regards Faisal
-
Thursday, 26 April 2012 9:14 AM
No luck.. Still having this error:
[2012-04-26 11:01:35.589] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 31 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ExceptionConverter.ConvertMessageAndErrorCode >System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #165A8E8E: System.Xml.XmlException: '', hexadecimal value 0x05, is an invalid character. Line 1, position 16383. > at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) > at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, StringBuilder 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.FinishPartialValue() > at System.Xml.XmlTextReaderImpl.get_Value() > at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) > at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) > at System.Xml.XmlDocument.Load(XmlReader reader) > at Microsoft.Crm.SharedUtil.CreateXmlDocument(String xml) > at Microsoft.Crm.Application.Platform.EntityProxy.SetData(String value) > at Microsoft.Crm.Application.Forms.EndUserForm.RetrieveParametersForEventDefault() > at Microsoft.Crm.Application.Forms.EmailActivityForm.RetrieveParameters() > at Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) > at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, FormDescriptor fd) > at Microsoft.Crm.Application.Components.PageHandlers.EmailRecordPageHandler.ConfigureFormHandler() > at Microsoft.Crm.Application.Components.Utility.GenericEventProcessor.RaiseEvent(String eventName) > at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e) > at System.Web.UI.Control.PreRenderRecursiveInternal() > at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Please someone help with this... This is unworkable for our customers
-
Monday, 28 January 2013 5:05 PMHello - We are having the same issue although it is not consistent. Have you been able to solve this?