Resolve EToN Agent error "Error caught in MapInfo.Confirm.Export.StreetWorks.UK.WorksProcessingManager: The URL cannot be empty" in Confirm

Products affected: Confirm®
Product feature: Street Works

Issue

In Confirm® the EToN Agent produces an error containing the text 'The URL cannot be empty', although the URLs for the Organisations involved are not empty:

"EToN Agent: Error caught in MapInfo.Confirm.Export.StreetWorks.UK.WorksProcessingManager: The URL cannot be empty".

The Street Works Notice is not sent out

Cause

A Windows Group Policy issue has occurred.

Resolution

UPDATED: August 24, 2017
Check the trace_EtonAgent.log files to see where the temp file is being written, for example:

18/11/2013 12:46:05 : Error : [User ID:SBS; Licence:CSWR00053A; Tenant ID:OracleConnectionString]Could not find a part of the path 'C:\Users\nigels.admin\AppData\Local\Temp\3\vnrc8fpn.tmp'.

The file should get written to ...\Temp not ...\Temp\3.  The 3 folder does not exist and does not get created.  The 3 refers to a remote access session.

Windows group policy issue, in the Administrative Templates\Windows Components\Terminal Services\Temporary folders group policy. If you don't select Do not use temporary folders per session, then these TEMP sub-directories are created.

The Microsoft Technet link about this says:

Using Group Policies (best practice)
  • Open Group Policy.
  • In Computer Configuration > Administrative Templates > Windows Components > Terminal Services > Temporary folders double-click the Do not use temp folders per session setting.
  • To disable the creation of a separate temporary folder for each terminal server session, click Enabled. To enable the creation of a separate temporary folder for each terminal server session, click Disabled.
  • Click OK.