System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'StatusId'. Invalid column name 'ErrorLog'. 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.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Etoz.ConnectData.DataAccess.ExecuteQuery(String query) in c:\inetpub\wwwroot\cricdirect.com\api\v6\App_Code\db\data_access.cs:line 117 ClientConnectionId:28886675-caf5-446e-bacb-984b23b107ea Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 92948 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (92948,6,'{"status":"ok","response":{"player":{"pid":92948,"title":"Josh Thomas","short_name":"J Thomas","first_name":"Josh Thomas","last_name":"","middle_name":"","birthdate":"","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"","bowling_style":"","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"firstclass":{"match_id":0,"inning_id":0,"matches":16,"innings":25,"notout":9,"runs":82,"balls":183,"highest":15,"run100":0,"run50":0,"run4":10,"run6":2,"average":"5.12","strike":"44.80","catches":4,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"47","innings":"9","notout":"6","runs":"16","balls":"27","highest":"4","run100":"0","run50":"0","run4":"1","run6":"0","average":"5.33","strike":"59.26","catches":"7","stumpings":"0"}},"bowling":{"firstclass":{"match_id":0,"inning_id":0,"matches":16,"innings":29,"balls":2434,"overs":405.4,"runs":1432,"wickets":46,"bestinning":"4\/44","bestmatch":"6\/86","econ":"3.52","average":"31.13","strike":"52.9","wicket4i":2,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"47","innings":"45","balls":"457","overs":"76.1","runs":"748","wickets":"36","bestinning":"3\/9","bestmatch":"3\/9","econ":"9.82","average":"20.78","strike":"12.69","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"644f379e13df8cb8aa6ef01fa5ba69dc","modified":"2025-06-19 11:25:43","datetime":"2025-06-19 11:25:43","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":92948,"title":"Josh Thomas","short_name":"J Thomas","first_name":"Josh Thomas","last_name":"","middle_name":"","birthdate":"","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"","bowling_style":"","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"firstclass":{"match_id":0,"inning_id":0,"matches":16,"innings":25,"notout":9,"runs":82,"balls":183,"highest":15,"run100":0,"run50":0,"run4":10,"run6":2,"average":"5.12","strike":"44.80","catches":4,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"47","innings":"9","notout":"6","runs":"16","balls":"27","highest":"4","run100":"0","run50":"0","run4":"1","run6":"0","average":"5.33","strike":"59.26","catches":"7","stumpings":"0"}},"bowling":{"firstclass":{"match_id":0,"inning_id":0,"matches":16,"innings":29,"balls":2434,"overs":405.4,"runs":1432,"wickets":46,"bestinning":"4\/44","bestmatch":"6\/86","econ":"3.52","average":"31.13","strike":"52.9","wicket4i":2,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"47","innings":"45","balls":"457","overs":"76.1","runs":"748","wickets":"36","bestinning":"3\/9","bestmatch":"3\/9","econ":"9.82","average":"20.78","strike":"12.69","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"644f379e13df8cb8aa6ef01fa5ba69dc","modified":"2025-06-19 11:25:43","datetime":"2025-06-19 11:25:43","api_version":"3.0"}', Modified = GetDate() WHERE Id = 92948 AND DataTypeId = 6 END
Player profile of Josh Thomas, West Indies
<>
CricDirect Cricket News, Results and Stats
 

Josh Thomas

NationalityWest Indies
RoleBowler

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
1st Class 16 25 9 82 15 5.12 183 44.80 - -

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
1st Class 16 29 405.4 1432 46 4/44 31.13 3.52 52.9 2 -
× Close