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:edb7cdf8-f8e3-4191-9563-2240241789a4 Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 93158 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (93158,6,'{"status":"ok","response":{"player":{"pid":93158,"title":"Danru Ferns","short_name":"D Ferns","first_name":"Danru Ferns","last_name":"","middle_name":"","birthdate":"","birthplace":"","country":"nz","primary_team":[],"logo_url":"","playing_role":"all","batting_style":"","bowling_style":"","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":7.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","bowling_type":"","thumb_url":"","nationality":"New Zealand"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":33,"innings":17,"notout":7,"runs":139,"balls":95,"highest":23,"run100":0,"run50":0,"run4":11,"run6":5,"average":"13.90","strike":"146.31","catches":8,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"lista":{"match_id":0,"inning_id":0,"matches":49,"innings":29,"notout":12,"runs":264,"balls":344,"highest":42,"run100":0,"run50":0,"run4":29,"run6":6,"average":"15.52","strike":"76.74","catches":18,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":37,"innings":53,"notout":16,"runs":514,"balls":1201,"highest":63,"run100":0,"run50":1,"run4":61,"run6":8,"average":"13.89","strike":"42.79","catches":19,"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":{"t20":{"match_id":0,"inning_id":0,"matches":33,"innings":32,"balls":615,"overs":102.3,"runs":926,"wickets":44,"bestinning":"4\/16","bestmatch":"4\/16","econ":"9.03","average":"21.04","strike":"13.9","wicket4i":1,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"lista":{"match_id":0,"inning_id":0,"matches":49,"innings":48,"balls":2107,"overs":351.1,"runs":2146,"wickets":61,"bestinning":"4\/35","bestmatch":"4\/35","econ":"6.11","average":"35.18","strike":"34.5","wicket4i":2,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":37,"innings":62,"balls":5381,"overs":896.5,"runs":3189,"wickets":92,"bestinning":"6\/62","bestmatch":"6\/97","econ":"3.55","average":"34.66","strike":"58.4","wicket4i":1,"wicket5i":2,"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":"e44fff3f909e8129e8ba69768a379e75","modified":"2025-06-25 19:36:56","datetime":"2025-06-25 19:36:56","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":93158,"title":"Danru Ferns","short_name":"D Ferns","first_name":"Danru Ferns","last_name":"","middle_name":"","birthdate":"","birthplace":"","country":"nz","primary_team":[],"logo_url":"","playing_role":"all","batting_style":"","bowling_style":"","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":7.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","bowling_type":"","thumb_url":"","nationality":"New Zealand"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":33,"innings":17,"notout":7,"runs":139,"balls":95,"highest":23,"run100":0,"run50":0,"run4":11,"run6":5,"average":"13.90","strike":"146.31","catches":8,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"lista":{"match_id":0,"inning_id":0,"matches":49,"innings":29,"notout":12,"runs":264,"balls":344,"highest":42,"run100":0,"run50":0,"run4":29,"run6":6,"average":"15.52","strike":"76.74","catches":18,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":37,"innings":53,"notout":16,"runs":514,"balls":1201,"highest":63,"run100":0,"run50":1,"run4":61,"run6":8,"average":"13.89","strike":"42.79","catches":19,"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":{"t20":{"match_id":0,"inning_id":0,"matches":33,"innings":32,"balls":615,"overs":102.3,"runs":926,"wickets":44,"bestinning":"4\/16","bestmatch":"4\/16","econ":"9.03","average":"21.04","strike":"13.9","wicket4i":1,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"lista":{"match_id":0,"inning_id":0,"matches":49,"innings":48,"balls":2107,"overs":351.1,"runs":2146,"wickets":61,"bestinning":"4\/35","bestmatch":"4\/35","econ":"6.11","average":"35.18","strike":"34.5","wicket4i":2,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":37,"innings":62,"balls":5381,"overs":896.5,"runs":3189,"wickets":92,"bestinning":"6\/62","bestmatch":"6\/97","econ":"3.55","average":"34.66","strike":"58.4","wicket4i":1,"wicket5i":2,"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":"e44fff3f909e8129e8ba69768a379e75","modified":"2025-06-25 19:36:56","datetime":"2025-06-25 19:36:56","api_version":"3.0"}', Modified = GetDate() WHERE Id = 93158 AND DataTypeId = 6 END
Player profile of Danru Ferns, New Zealand
<>
CricDirect Cricket News, Results and Stats
 

Danru Ferns

NationalityNew Zealand
RoleAll Rounder

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
T20I 33 17 7 139 23 13.90 95 146.31 - -
List A 49 29 12 264 42 15.52 344 76.74 - -
1st Class 37 53 16 514 63 13.89 1201 42.79 - 1

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
T20 33 32 102.3 926 44 4/16 21.04 9.03 13.9 1 -
List A 49 48 351.1 2146 61 4/35 35.18 6.11 34.5 2 -
1st Class 37 62 896.5 3189 92 6/62 34.66 3.55 58.4 1 2
× Close