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:18c24b87-c56f-4be4-bd2e-47da341aa0ab Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 51105 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (51105,6,'{"status":"ok","response":{"player":{"pid":51105,"title":"Michael-Kyle Pepper","short_name":"MKS Pepper","first_name":"Michael-Kyle Pepper","last_name":"","middle_name":"","birthdate":"1998-06-25","birthplace":"Harlow, Essex","country":"en","primary_team":[],"logo_url":"","playing_role":"wk","batting_style":"Right Hand Bat","bowling_style":"","fielding_position":"Wicketkeeper","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"https:\/\/www.instagram.com\/michael_pep\/","debut_data":"","thumb_url":"","nationality":"England"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":103,"innings":101,"notout":10,"runs":2399,"balls":1589,"highest":120,"run100":2,"run50":13,"run4":254,"run6":101,"average":"26.36","strike":"150.97","catches":41,"stumpings":2,"fastest50balls":0,"fastest100balls":0},"lista":{"match_id":0,"inning_id":0,"matches":7,"innings":5,"notout":0,"runs":134,"balls":111,"highest":63,"run100":0,"run50":1,"run4":21,"run6":6,"average":"26.80","strike":"120.72","catches":0,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":32,"innings":50,"notout":4,"runs":1334,"balls":2186,"highest":115,"run100":3,"run50":6,"run4":159,"run6":16,"average":"29.00","strike":"61.02","catches":77,"stumpings":3,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"6","innings":"6","notout":"0","runs":"57","balls":"47","highest":"23","run100":"0","run50":"0","run4":"6","run6":"1","average":"9.50","strike":"121.28","catches":"2","stumpings":"0"}},"bowling":{"t20":{"match_id":0,"inning_id":0,"matches":103,"innings":0,"balls":0,"overs":0,"runs":0,"wickets":0,"bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"lista":{"match_id":0,"inning_id":0,"matches":7,"innings":0,"balls":0,"overs":0,"runs":0,"wickets":0,"bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":32,"innings":0,"balls":0,"overs":0,"runs":0,"wickets":0,"bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"6","innings":"0","balls":"0","overs":"0","runs":"0","wickets":"0","bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"d08b07a57dcb03d629fc23fc4338344b","modified":"2025-06-21 06:30:24","datetime":"2025-06-21 06:30:24","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":51105,"title":"Michael-Kyle Pepper","short_name":"MKS Pepper","first_name":"Michael-Kyle Pepper","last_name":"","middle_name":"","birthdate":"1998-06-25","birthplace":"Harlow, Essex","country":"en","primary_team":[],"logo_url":"","playing_role":"wk","batting_style":"Right Hand Bat","bowling_style":"","fielding_position":"Wicketkeeper","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"https:\/\/www.instagram.com\/michael_pep\/","debut_data":"","thumb_url":"","nationality":"England"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":103,"innings":101,"notout":10,"runs":2399,"balls":1589,"highest":120,"run100":2,"run50":13,"run4":254,"run6":101,"average":"26.36","strike":"150.97","catches":41,"stumpings":2,"fastest50balls":0,"fastest100balls":0},"lista":{"match_id":0,"inning_id":0,"matches":7,"innings":5,"notout":0,"runs":134,"balls":111,"highest":63,"run100":0,"run50":1,"run4":21,"run6":6,"average":"26.80","strike":"120.72","catches":0,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":32,"innings":50,"notout":4,"runs":1334,"balls":2186,"highest":115,"run100":3,"run50":6,"run4":159,"run6":16,"average":"29.00","strike":"61.02","catches":77,"stumpings":3,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"6","innings":"6","notout":"0","runs":"57","balls":"47","highest":"23","run100":"0","run50":"0","run4":"6","run6":"1","average":"9.50","strike":"121.28","catches":"2","stumpings":"0"}},"bowling":{"t20":{"match_id":0,"inning_id":0,"matches":103,"innings":0,"balls":0,"overs":0,"runs":0,"wickets":0,"bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"lista":{"match_id":0,"inning_id":0,"matches":7,"innings":0,"balls":0,"overs":0,"runs":0,"wickets":0,"bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":32,"innings":0,"balls":0,"overs":0,"runs":0,"wickets":0,"bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"6","innings":"0","balls":"0","overs":"0","runs":"0","wickets":"0","bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"d08b07a57dcb03d629fc23fc4338344b","modified":"2025-06-21 06:30:24","datetime":"2025-06-21 06:30:24","api_version":"3.0"}', Modified = GetDate() WHERE Id = 51105 AND DataTypeId = 6 END
Player profile of Michael-Kyle Pepper, England
<>
CricDirect Cricket News, Results and Stats
 

Michael-Kyle Pepper

NationalityEngland
Role
Born25 Jun 1998 (26)
Batting StyleRight Hand Bat

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
T20I 103 101 10 2399 120 26.36 1589 150.97 2 13
List A 7 5 - 134 63 26.80 111 120.72 - 1
1st Class 32 50 4 1334 115 29.00 2186 61.02 3 6

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
T20 103 - - - - - - - - - -
List A 7 - - - - - - - - - -
1st Class 32 - - - - - - - - - -
× Close