In the TDM portal, the data generation cannot generate data for a table whose field name contains a quote. We had this problem in 9 SQL Server tables.
The only workaround was to exclude these 9 tables from the data generation.
Tested on portal version 4.9.361
Release : 4.9.1
Component : TDM Web Portal
TDMWeb-4.9.378.0.zip fixes this issue.