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:184a24b6-ef75-4810-830d-6154b900d86d Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 44820 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (44820,6,'{"status":"ok","response":{"player":{"pid":44820,"title":"Leigh Kasperek","short_name":"L Kasperek","first_name":"Leigh Kasperek","last_name":"","middle_name":"","birthdate":"1992-02-15","birthplace":"Edinburgh, Midlothian","country":"nz","primary_team":[],"logo_url":"","playing_role":"all","batting_style":"Right Hand Bat","bowling_style":"Right Arm Off Break","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":7.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"https:\/\/www.instagram.com\/leighkasperek\/","debut_data":"","bowling_type":"Spin","thumb_url":"","nationality":"New Zealand"},"batting":{"odi":{"match_id":0,"inning_id":0,"matches":39,"innings":25,"notout":8,"runs":299,"balls":464,"highest":113,"run100":1,"run50":0,"run4":26,"run6":0,"average":"17.58","strike":"64.43","catches":12,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t20i":{"match_id":0,"inning_id":0,"matches":48,"innings":22,"notout":5,"runs":104,"balls":115,"highest":19,"run100":0,"run50":0,"run4":10,"run6":0,"average":"6.11","strike":"90.43","catches":12,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"","innings":"","notout":"","runs":"","balls":"","highest":"","run100":"","run50":"","run4":"","run6":"","average":"","strike":"","catches":"","stumpings":""}},"bowling":{"odi":{"match_id":0,"inning_id":0,"matches":39,"innings":39,"balls":1904,"overs":317.2,"runs":1263,"wickets":65,"bestinning":"6\/46","bestmatch":"6\/46","econ":"3.98","average":"19.43","strike":"29.2","wicket4i":3,"wicket5i":2,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t20i":{"match_id":0,"inning_id":0,"matches":48,"innings":48,"balls":1052,"overs":175.2,"runs":1109,"wickets":77,"bestinning":"4\/7","bestmatch":"4\/7","econ":"6.32","average":"14.40","strike":"13.6","wicket4i":1,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"0","innings":"","balls":"","overs":"0","runs":"","wickets":"","bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":"","wicket5i":"","wicket10m":""}}},"etag":"0b88b599122b6151f7dbc45b01573863","modified":"2025-06-26 17:23:40","datetime":"2025-06-26 17:23:40","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":44820,"title":"Leigh Kasperek","short_name":"L Kasperek","first_name":"Leigh Kasperek","last_name":"","middle_name":"","birthdate":"1992-02-15","birthplace":"Edinburgh, Midlothian","country":"nz","primary_team":[],"logo_url":"","playing_role":"all","batting_style":"Right Hand Bat","bowling_style":"Right Arm Off Break","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":7.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"https:\/\/www.instagram.com\/leighkasperek\/","debut_data":"","bowling_type":"Spin","thumb_url":"","nationality":"New Zealand"},"batting":{"odi":{"match_id":0,"inning_id":0,"matches":39,"innings":25,"notout":8,"runs":299,"balls":464,"highest":113,"run100":1,"run50":0,"run4":26,"run6":0,"average":"17.58","strike":"64.43","catches":12,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t20i":{"match_id":0,"inning_id":0,"matches":48,"innings":22,"notout":5,"runs":104,"balls":115,"highest":19,"run100":0,"run50":0,"run4":10,"run6":0,"average":"6.11","strike":"90.43","catches":12,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"","innings":"","notout":"","runs":"","balls":"","highest":"","run100":"","run50":"","run4":"","run6":"","average":"","strike":"","catches":"","stumpings":""}},"bowling":{"odi":{"match_id":0,"inning_id":0,"matches":39,"innings":39,"balls":1904,"overs":317.2,"runs":1263,"wickets":65,"bestinning":"6\/46","bestmatch":"6\/46","econ":"3.98","average":"19.43","strike":"29.2","wicket4i":3,"wicket5i":2,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t20i":{"match_id":0,"inning_id":0,"matches":48,"innings":48,"balls":1052,"overs":175.2,"runs":1109,"wickets":77,"bestinning":"4\/7","bestmatch":"4\/7","econ":"6.32","average":"14.40","strike":"13.6","wicket4i":1,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"0","innings":"","balls":"","overs":"0","runs":"","wickets":"","bestinning":"","bestmatch":"","econ":"","average":"","strike":"","wicket4i":"","wicket5i":"","wicket10m":""}}},"etag":"0b88b599122b6151f7dbc45b01573863","modified":"2025-06-26 17:23:40","datetime":"2025-06-26 17:23:40","api_version":"3.0"}', Modified = GetDate() WHERE Id = 44820 AND DataTypeId = 6 END
Player profile of Leigh Kasperek, New Zealand
<>
CricDirect Cricket News, Results and Stats
 

Leigh Kasperek

NationalityNew Zealand
RoleAll Rounder
Born15 Feb 1992 (33)
Batting StyleRight Hand Bat
Bowling StyleRight Arm Off Break

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
ODI 39 25 8 299 113 17.58 464 64.43 1 -
T20I 48 22 5 104 19 6.11 115 90.43 - -

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
ODI 39 39 317.2 1263 65 6/46 19.43 3.98 29.2 3 2
T20i 48 48 175.2 1109 77 4/7 14.40 6.32 13.6 1 -
× Close