VERIFIED SOLUTION i

Resolving Exception: Invalid link name identifier '#ab12345' specified showing in logs in Portrait Dialogue

Issue

This error, below, is seen in the Portrait Dialogue (PD) error logs:

--------------------------
Exception: Invalid link name identifier '#ab1234' specified
Time: 21.09.2015 00:00:02
Module: C:\PROGRA~2\PST\MILLIO~1\DIALOG~1\MHDIAL~1.DLL
Version: 6.1.0.348
Filedate: 25.06.2015 14:07:22
Instancename: Get
Username: internal
ProcessID: 4188
ThreadID: 3248
Exceptiontype: Exception
Unit: MHWebUtilsAccessLayer.pas
Procedure: MHWebUtilsAccessLayer.TMHWebUtilsAccessLayer.DoPostWebTrackLogItem
Line: 403
SQLStatement:

[02CC9B08] MHWebUtilsAccessLayer.TMHWebUtilsAccessLayer.DoPostWebTrackLogItem (Line 401, "MHWebUtilsAccessLayer.pas")
[02CCA3F6] MHWebUtilsAccessLayer.TMHWebUtilsAccessLayer.PostWebTrackLog (Line 486, "MHWebUtilsAccessLayer.pas")
[02CCA25B] MHWebUtilsAccessLayer.TMHWebUtilsAccessLayer.PostWebTrackLogXML (Line 474, "MHWebUtilsAccessLayer.pas")
[0382DDC3] MHWebUtilsAPI.TMHWebUtilsAPI.PostWebTrackLog (Line 334, "MHWebUtilsAPI.pas")
--------------------------------------------------------------------------------
 

Cause

Link tracking events are first stored in the C:\Program Files (x86)\PST\Million Handshakes Web\MHWU\Log  (Assuming the web apps are installed  on t he C: drive in the normal location).
Then the data from the XML file is read to the database.  If it fails, the errors are logged.

There is a bug in the process that collects the data into the XML file, where occasionally invalid XML characters are added, resulting in a failure to import the data.

 

Resolution

UPDATED: April 26, 2017
A workaround is to analyze the XML file and remove the problematic values 


This has been fixed with "TFS-33725: Invalid XML characters in link tracking links cause posting logs from MHWU to Dialogue Server to fail"
The fix is in 6.1 Hotfix3