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:b42cd105-eebb-4187-bba6-d609c0b44a29 Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 45911 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (45911,6,'{"status":"ok","response":{"player":{"pid":45911,"title":"Daniel Moriarty","short_name":"DT Moriarty","first_name":"Daniel Moriarty","last_name":"","middle_name":"","birthdate":"1999-12-02","birthplace":"Reigate, Surrey","country":"en","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"Left hand Bat","bowling_style":"Left Arm Orthodox","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":5.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","bowling_type":"Spin","thumb_url":"","nationality":"England"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":57,"innings":14,"notout":10,"runs":46,"balls":52,"highest":9,"run100":0,"run50":0,"run4":4,"run6":1,"average":"11.50","strike":"88.46","catches":5,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"lista":{"match_id":0,"inning_id":0,"matches":25,"innings":14,"notout":5,"runs":83,"balls":146,"highest":16,"run100":0,"run50":0,"run4":4,"run6":3,"average":"9.22","strike":"56.84","catches":9,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":23,"innings":23,"notout":9,"runs":153,"balls":387,"highest":29,"run100":0,"run50":0,"run4":26,"run6":2,"average":"10.92","strike":"39.53","catches":3,"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":57,"innings":54,"balls":1118,"overs":186.2,"runs":1441,"wickets":50,"bestinning":"4\/25","bestmatch":"4\/25","econ":"7.73","average":"28.82","strike":"22.3","wicket4i":1,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"lista":{"match_id":0,"inning_id":0,"matches":25,"innings":24,"balls":1235,"overs":205.5,"runs":1032,"wickets":32,"bestinning":"4\/30","bestmatch":"4\/30","econ":"5.01","average":"32.25","strike":"38.5","wicket4i":1,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":23,"innings":38,"balls":4746,"overs":791,"runs":2418,"wickets":68,"bestinning":"6\/60","bestmatch":"11\/224","econ":"3.05","average":"35.55","strike":"69.7","wicket4i":3,"wicket5i":6,"wicket10m":1,"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":"e8f1b5030fe6a873ff5a91d0f1e0957f","modified":"2025-07-22 18:23:04","datetime":"2025-07-22 18:23:04","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":45911,"title":"Daniel Moriarty","short_name":"DT Moriarty","first_name":"Daniel Moriarty","last_name":"","middle_name":"","birthdate":"1999-12-02","birthplace":"Reigate, Surrey","country":"en","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"Left hand Bat","bowling_style":"Left Arm Orthodox","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":5.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","bowling_type":"Spin","thumb_url":"","nationality":"England"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":57,"innings":14,"notout":10,"runs":46,"balls":52,"highest":9,"run100":0,"run50":0,"run4":4,"run6":1,"average":"11.50","strike":"88.46","catches":5,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"lista":{"match_id":0,"inning_id":0,"matches":25,"innings":14,"notout":5,"runs":83,"balls":146,"highest":16,"run100":0,"run50":0,"run4":4,"run6":3,"average":"9.22","strike":"56.84","catches":9,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":23,"innings":23,"notout":9,"runs":153,"balls":387,"highest":29,"run100":0,"run50":0,"run4":26,"run6":2,"average":"10.92","strike":"39.53","catches":3,"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":57,"innings":54,"balls":1118,"overs":186.2,"runs":1441,"wickets":50,"bestinning":"4\/25","bestmatch":"4\/25","econ":"7.73","average":"28.82","strike":"22.3","wicket4i":1,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"lista":{"match_id":0,"inning_id":0,"matches":25,"innings":24,"balls":1235,"overs":205.5,"runs":1032,"wickets":32,"bestinning":"4\/30","bestmatch":"4\/30","econ":"5.01","average":"32.25","strike":"38.5","wicket4i":1,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":23,"innings":38,"balls":4746,"overs":791,"runs":2418,"wickets":68,"bestinning":"6\/60","bestmatch":"11\/224","econ":"3.05","average":"35.55","strike":"69.7","wicket4i":3,"wicket5i":6,"wicket10m":1,"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":"e8f1b5030fe6a873ff5a91d0f1e0957f","modified":"2025-07-22 18:23:04","datetime":"2025-07-22 18:23:04","api_version":"3.0"}', Modified = GetDate() WHERE Id = 45911 AND DataTypeId = 6 END
Player profile of Daniel Moriarty, England
<>
CricDirect Cricket News, Results and Stats
 

Daniel Moriarty

NationalityEngland
RoleBowler
Born02 Dec 1999 (25)
Batting StyleLeft hand Bat
Bowling StyleLeft Arm Orthodox

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
T20I 57 14 10 46 9 11.50 52 88.46 - -
List A 25 14 5 83 16 9.22 146 56.84 - -
1st Class 23 23 9 153 29 10.92 387 39.53 - -

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
T20 57 54 186.2 1441 50 4/25 28.82 7.73 22.3 1 -
List A 25 24 205.5 1032 32 4/30 32.25 5.01 38.5 1 -
1st Class 23 38 791 2418 68 6/60 35.55 3.05 69.7 3 6
× Close