• multiple identifier "exhibitor.dbo.maintable.Mid"

    you could have used this Column "Mid" from the table "MainTable" from the Exhibitor DB,

    the SQL tells you that, particular column you are trying to use is not available / Exists / Not found.

    find where you have used this column , either in a SELECT / JOIN / WHERE, once you found this , then it would be resolved.