an unexpected event occurred: EConvertError Invalid HTML encoded character (&+) at position

Strange one here.

On one system this (example) url (which is an attachment link)

does not work and shows a CRM screen with an errror "EConvertError: Invalid HTML encoded character (&+) at position"

We think its down to the ampersand encoding (the company is called 'test & test') but on other systems (2 we tested) its fine.

I thought maybe it was an IIS configuration rule but doesnt seem to be.

Any ideas?

System log ......

Okt 6 2023 11:52:56.808              8228      4192      1            : EConvertError: Invalid HTML encoded character (&amp;+) at position 17<br>

Okt 6 2023 11:52:56.836              8228      4192      1            Creating stack-trace ID:4197271829. Error message is "Invalid HTML encoded character (&+) at position 17"

Okt 6 2023 11:52:56.836              8228      4192      1           

 

------------------------------------------------------------------------------------------------------

|Address |Module        |Unit             |Class                 |Procedure/Method         |Line     |

------------------------------------------------------------------------------------------------------

|1D4AE006|eware.dll     |HTTPApp.pas      |                      |HTMLDecode               |1915[73] |

|77223A31|ntdll.dll     |                 |                      |KiUserExceptionDispatcher|         |

|760E0276|KERNELBASE.dll|                 |                      |IsValidCodePage          |         |

|77227470|ntdll.dll     |                 |                      |memcpy                   |         |

|1D4ADF57|eware.dll     |HTTPApp.pas      |                      |HTMLDecode               |1906[64] |

|1D4ADCEC|eware.dll     |HTTPApp.pas      |                      |HTMLDecode               |1842[0]  |

|1D321024|eware.dll     |HTTPUtils.pas    |                      |DumpFileToInternet       |628[17]  |

|1D320EF4|eware.dll     |HTTPUtils.pas    |                      |DumpFileToInternet       |611[0]   |

|1D461911|eware.dll     |Dispatch.pas     |TDispatcher           |Action                   |4000[920]|

|1D45E9BC|eware.dll     |Dispatch.pas     |TDispatcher           |Action                   |3080[0]  |

|1D4F52A2|eware.dll     |ISAPIDispatch.pas|TISAPIEntry           |ISAPIEntryLogin          |697[36]  |

|1D4AC32B|eware.dll     |HTTPApp.pas      |TWebActionItem        |DispatchAction           |1108[18] |

|1D4AC238|eware.dll     |HTTPApp.pas      |TWebActionItem        |DispatchAction           |1090[0]  |

|1D4AD004|eware.dll     |HTTPApp.pas      |TCustomWebDispatcher  |DispatchAction           |1505[32] |

|1D4ACEF0|eware.dll     |HTTPApp.pas      |TCustomWebDispatcher  |DispatchAction           |1473[0]  |

|1D4AD1B6|eware.dll     |HTTPApp.pas      |TCustomWebDispatcher  |HandleRequest            |1543[3]  |

|1D4AEF79|eware.dll     |HTTPApp.pas      |TDefaultWebAppServices|InvokeDispatcher         |2295[3]  |

|1D4AEF3C|eware.dll     |HTTPApp.pas      |TDefaultWebAppServices|InvokeDispatcher         |2292[0]  |

|1D4AEF1C|eware.dll     |HTTPApp.pas      |TDefaultWebAppServices|HandleRequest            |2276[1]  |

|1CC9F379|eware.dll     |WebReq.pas       |TWebRequestHandler    |HandleRequest            |368[25]  |

|1CC9F248|eware.dll     |WebReq.pas       |TWebRequestHandler    |HandleRequest            |343[0]   |

|1CCA029E|eware.dll     |ISAPIApp.pas     |TISAPIApplication     |HttpExtensionProc        |100[6]   |

|1CCA0244|eware.dll     |ISAPIApp.pas     |TISAPIApplication     |HttpExtensionProc        |94[0]    |

|1CCA03A1|eware.dll     |ISAPIApp.pas     |                      |HttpExtensionProc        |147[10]  |

|771ED379|ntdll.dll     |                 |                      |RtlAllocateHeap          |         |

|75CA05C7|KERNEL32.DLL  |                 |                      |BaseThreadInitThunk      |         |

------------------------------------------------------------------------------------------------------

  • 0

    Hi Marc, we have the same problem and can be more specific here.  There are two problems, company name with "&" in the company name (CRM creates the wrong folder for communication and document storage (cannot be opened via browser), AND if a document contains the special character &, cannot be opened / stored. We opened a ticket with Sage some time ago (L3 Support has taken care of it), but so far no feedback. -The problem is that many customers only realise this when they try to open the file storage after some time and see that the file is not that. High priority in my opinion

  • 0

    This is a known issue for CRM 2023R2. The fix is expected in the CRM 2024R1.