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:69868271-0d3f-412a-8eae-f3e592aa1c2d Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 96396 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (96396,6,'{"status":"ok","response":{"player":{"pid":96396,"title":"Ojay Shields","short_name":"O Shields","first_name":"Ojay Shields","last_name":"","middle_name":"","birthdate":"1996-02-14","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"Right Hand Bat","bowling_style":"Right Arm Fast Medium","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":7.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"lista":{"match_id":0,"inning_id":0,"matches":10,"innings":4,"notout":1,"runs":3,"balls":22,"highest":3,"run100":0,"run50":0,"run4":0,"run6":0,"average":"1.00","strike":"13.63","catches":3,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":15,"innings":27,"notout":9,"runs":156,"balls":314,"highest":22,"run100":0,"run50":0,"run4":17,"run6":6,"average":"8.66","strike":"49.68","catches":4,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"27","innings":"0","notout":"0","runs":"0","balls":"0","highest":"0","run100":"0","run50":"0","run4":"0","run6":"0","average":"","strike":"","catches":"4","stumpings":"0"}},"bowling":{"lista":{"match_id":0,"inning_id":0,"matches":10,"innings":9,"balls":306,"overs":51,"runs":317,"wickets":4,"bestinning":"1\/26","bestmatch":"1\/26","econ":"6.21","average":"79.25","strike":"76.5","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":15,"innings":27,"balls":1809,"overs":301.3,"runs":1171,"wickets":32,"bestinning":"4\/86","bestmatch":"5\/91","econ":"3.88","average":"36.59","strike":"56.5","wicket4i":2,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"27","innings":"26","balls":"278","overs":"46.2","runs":"421","wickets":"25","bestinning":"3\/19","bestmatch":"3\/19","econ":"9.09","average":"16.84","strike":"11.12","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"f7048b4bbbd6152f0a515283728a0e3c","modified":"2025-06-15 14:20:28","datetime":"2025-06-15 14:20:28","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":96396,"title":"Ojay Shields","short_name":"O Shields","first_name":"Ojay Shields","last_name":"","middle_name":"","birthdate":"1996-02-14","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"bowl","batting_style":"Right Hand Bat","bowling_style":"Right Arm Fast Medium","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":7.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"lista":{"match_id":0,"inning_id":0,"matches":10,"innings":4,"notout":1,"runs":3,"balls":22,"highest":3,"run100":0,"run50":0,"run4":0,"run6":0,"average":"1.00","strike":"13.63","catches":3,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":15,"innings":27,"notout":9,"runs":156,"balls":314,"highest":22,"run100":0,"run50":0,"run4":17,"run6":6,"average":"8.66","strike":"49.68","catches":4,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"27","innings":"0","notout":"0","runs":"0","balls":"0","highest":"0","run100":"0","run50":"0","run4":"0","run6":"0","average":"","strike":"","catches":"4","stumpings":"0"}},"bowling":{"lista":{"match_id":0,"inning_id":0,"matches":10,"innings":9,"balls":306,"overs":51,"runs":317,"wickets":4,"bestinning":"1\/26","bestmatch":"1\/26","econ":"6.21","average":"79.25","strike":"76.5","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":15,"innings":27,"balls":1809,"overs":301.3,"runs":1171,"wickets":32,"bestinning":"4\/86","bestmatch":"5\/91","econ":"3.88","average":"36.59","strike":"56.5","wicket4i":2,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"27","innings":"26","balls":"278","overs":"46.2","runs":"421","wickets":"25","bestinning":"3\/19","bestmatch":"3\/19","econ":"9.09","average":"16.84","strike":"11.12","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"f7048b4bbbd6152f0a515283728a0e3c","modified":"2025-06-15 14:20:28","datetime":"2025-06-15 14:20:28","api_version":"3.0"}', Modified = GetDate() WHERE Id = 96396 AND DataTypeId = 6 END
Player profile of Ojay Shields, West Indies
<>
CricDirect Cricket News, Results and Stats
 

Ojay Shields

NationalityWest Indies
RoleBowler
Born14 Feb 1996 (29)
Batting StyleRight Hand Bat
Bowling StyleRight Arm Fast Medium

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
List A 10 4 1 3 3 1.00 22 13.63 - -
1st Class 15 27 9 156 22 8.66 314 49.68 - -

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
List A 10 9 51 317 4 1/26 79.25 6.21 76.5 - -
1st Class 15 27 301.3 1171 32 4/86 36.59 3.88 56.5 2 -
× Close