Hi all,
OD/DD Version: 6.1.1.0.0
We have a datadeployment script which deployes an entire dcr into a MSSQL database.
Now we have updated the dct and the dd script to also deploy a new dct item. The column to which the new dct item needs to be deployed to has always existed in the table.
If we remove the new in the the deployment again runs fine. But when we try to run a deployment with the new it fails.
The first error in the log file shows:
ERROR

QLException while selecting rows from table: [TDS Driver]Column 'USER' not found.
We are suspecting this error to be caused by the fact that TTableSchemaHelper objects for the table is loaded from the cache.
We tried to reboot the server to flush the cache but apparently there should be a different approach to flushing the cache, which we have missed.
Our next step was to delete the IWDELTRACKER and IWOW_IDMAPS tables from the database. Now we have ended up with the following error:
DBD: ERROR:Exception occured: null
DBD: ERROR:
java.lang.NullPointerException
at com.interwoven.dd100.dd.TDbSchemaUpdateHelper.BuildUpdateWhereClauseEx(TDbSchemaUpdateHelper.java:1075)
at com.interwoven.dd100.dd.TDbSchemaUpdateHelper.UpdateOneRow(TDbSchemaUpdateHelper.java:824)
at com.interwoven.dd100.dd.TDbSchemaUpdateHelper.DoUpdate(TDbSchemaUpdateHelper.java:728)
at com.interwoven.dd100.dd.TDbSchemaGroupCfg.DoRealUpdate(TDbSchemaGroupCfg.java:832)
at com.interwoven.dd100.dd.TDbSchemaCfg.RealUpdateWithGroupTree(TDbSchemaCfg.java:953)
at com.interwoven.dd100.dd.TDbSchemaCfg.RealUpdate(TDbSchemaCfg.java:933)
at com.interwoven.dd100.dd.TDbSchemaAgent.BasicWriteTuple(TDbSchemaAgent.java:441)
at com.interwoven.dd100.dd.TDbSchemaAgent.WriteTuple(TDbSchemaAgent.java:336)
at com.interwoven.dd100.dd.TConsumerManager.WriteConsumerInternal(TConsumerManager.java:399)
at com.interwoven.dd100.dd.TConsumerManager.WriteConsumers(TConsumerManager.java:388)
at com.interwoven.dd100.dd.TAgentClient.DoOneTeamSiteSource(TAgentClient.java:1002)
at com.interwoven.dd100.dd.TAgentClient.DoTeamSiteSources(TAgentClient.java:502)
at com.interwoven.dd100.dd.TAgentClient.DoOneDeployment(TAgentClient.java:289)
at com.interwoven.dd100.dd.TAgentClient.Go(TAgentClient.java:178)
at com.interwoven.dd100.dd.IWDataDeploy.Go(IWDataDeploy.java:547)
at com.interwoven.dd100.dd.TDASThread.ProcessItem(TDASThread.java:203)
at com.interwoven.dd100.dd.TDASThread.run(TDASThread.java:128)
We thought these tables should get created automatically but that is not the case I presume. Can anyone pinpoint in the direction of having these tables recreated and also to flush the cache.
Regards
Victor