System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'category'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at searchResults.GetResults(String type, Int32 id, String name, String credit, String topic, String category, String startDate, String endDate, String city, String state, String quick) in g:\pleskvhosts\paramountseminars.com\httpdocs\searchResults.aspx.cs:line 431
ClientConnectionId:2e468084-e57e-43b6-942a-24a5938d3981
Error Number:207,State:1,Class:16
SELECT teleconferences.teleconferenceid, MIN(topic.category) AS category, MIN(teleconferences.name) AS name, MIN(teleconferences.livedate) AS livedate, MIN(teleconferences.starttime) AS starttime, MIN(teleconferences.endtime) AS endtime FROM credit RIGHT JOIN (faculty RIGHT JOIN (topic RIGHT JOIN (((teleconferences LEFT JOIN teleconference_topics ON teleconferences.teleconferenceid = teleconference_topics.teleconferenceid) LEFT JOIN teleconference_faculty ON teleconferences.teleconferenceid = teleconference_faculty.teleconferenceid) LEFT JOIN teleconference_credit ON teleconferences.teleconferenceid = teleconference_credit.teleconferenceid) ON topic.topicid = teleconference_topics.topicid) ON faculty.facultyid = teleconference_faculty.facultyid) ON credit.creditid = teleconference_credit.creditid WHERE teleconferences.livedate >= GETDATE() AND teleconference_topics.category='Construction' GROUP BY teleconferences.teleconferenceid ORDER BY MIN(topic.category)