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:7f088330-d4e9-4563-835c-8c233e3f4f0f Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 52230 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (52230,6,'{"status":"ok","response":{"player":{"pid":52230,"title":"Cephas Cooper","short_name":"C Cooper","first_name":"Cephas Cooper","last_name":"","middle_name":"","birthdate":"1999-07-11","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"bat","batting_style":"Right Hand Bat","bowling_style":"Right Arm Off Break","fielding_position":"","recent_match":23789,"recent_appearance":1515805200,"fantasy_player_rating":8,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"lista":{"match_id":0,"inning_id":0,"matches":2,"innings":2,"notout":0,"runs":13,"balls":41,"highest":10,"run100":0,"run50":0,"run4":1,"run6":0,"average":"6.50","strike":"31.70","catches":2,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":13,"innings":20,"notout":0,"runs":574,"balls":1228,"highest":117,"run100":1,"run50":4,"run4":81,"run6":3,"average":"28.70","strike":"46.74","catches":11,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"59","innings":"50","notout":"9","runs":"1142","balls":"649","highest":"95","run100":"0","run50":"4","run4":"75","run6":"90","average":"27.85","strike":"175.96","catches":"14","stumpings":"0"}},"bowling":{"lista":{"match_id":0,"inning_id":0,"matches":2,"innings":1,"balls":6,"overs":1,"runs":25,"wickets":0,"bestinning":"","bestmatch":"","econ":"25.00","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":13,"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":"59","innings":"1","balls":"6","overs":"1","runs":"13","wickets":"2","bestinning":"","bestmatch":"","econ":"13.00","average":"6.50","strike":"3.00","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"6f42cb1e50f60e4c8457056e79cd5166","modified":"2025-06-23 08:04:56","datetime":"2025-06-23 08:04:56","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":52230,"title":"Cephas Cooper","short_name":"C Cooper","first_name":"Cephas Cooper","last_name":"","middle_name":"","birthdate":"1999-07-11","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"bat","batting_style":"Right Hand Bat","bowling_style":"Right Arm Off Break","fielding_position":"","recent_match":23789,"recent_appearance":1515805200,"fantasy_player_rating":8,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"lista":{"match_id":0,"inning_id":0,"matches":2,"innings":2,"notout":0,"runs":13,"balls":41,"highest":10,"run100":0,"run50":0,"run4":1,"run6":0,"average":"6.50","strike":"31.70","catches":2,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":13,"innings":20,"notout":0,"runs":574,"balls":1228,"highest":117,"run100":1,"run50":4,"run4":81,"run6":3,"average":"28.70","strike":"46.74","catches":11,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"59","innings":"50","notout":"9","runs":"1142","balls":"649","highest":"95","run100":"0","run50":"4","run4":"75","run6":"90","average":"27.85","strike":"175.96","catches":"14","stumpings":"0"}},"bowling":{"lista":{"match_id":0,"inning_id":0,"matches":2,"innings":1,"balls":6,"overs":1,"runs":25,"wickets":0,"bestinning":"","bestmatch":"","econ":"25.00","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":13,"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":"59","innings":"1","balls":"6","overs":"1","runs":"13","wickets":"2","bestinning":"","bestmatch":"","econ":"13.00","average":"6.50","strike":"3.00","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"6f42cb1e50f60e4c8457056e79cd5166","modified":"2025-06-23 08:04:56","datetime":"2025-06-23 08:04:56","api_version":"3.0"}', Modified = GetDate() WHERE Id = 52230 AND DataTypeId = 6 END
Player profile of Cephas Cooper, West Indies
<>
CricDirect Cricket News, Results and Stats
 

Cephas Cooper

NationalityWest Indies
RoleBatter
Born11 Jul 1999 (25)
Batting StyleRight Hand Bat
Bowling StyleRight Arm Off Break

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
List A 2 2 - 13 10 6.50 41 31.70 - -
1st Class 13 20 - 574 117 28.70 1228 46.74 1 4

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
List A 2 1 1 25 - - - 25.00 - - -
1st Class 13 - - - - - - - - - -
× Close