Ah the sweet bugs =)

INSERT query had a WHERE clause
tCfg and tConfig error