---
title: "Error processing assay batch Invalid column name"
canonical: "https://servicedesk.maxgeo.com/space/DS/1790935041/Error%20processing%20assay%20batch%20Invalid%20column%20name"
format: markdown
---
**Error processing assay batch – Invalid column name**

**Issue: **Process batch error** **

Status 

<span style="color: #4ea72e">Completed Processing Incoming Data Driver</span>

<span style="color: #ff0000">Error: Retry Merge and QC Rules </span>

<span style="color: #ff0000">Error Message: FAILED. Invalid column name ‘LabCode’. Merge process rolled back for scheme [DEFAULT]! Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1. A transaction that was started in a MARS batch is still active at the end of the batch. The transaction is rolled back. </span>

**Solution: **

- Check that no extra tables or views have been registered as an assay table.
- To do this run the following query in SQL:

SELECT * 

FROM tblSYSDSConfig 

WHERE obClass = 'ASSAY' 

If there are any extra tables other than the ones shown below, they will have to be removed from the ASSAY Object Class and re-registered to the correct Object Class (eg. DOWNHOLE).

![image](media://d6f3fc01-27bd-46d6-89f7-78ea39959bfa)