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:69d98c5f-f288-4ace-86fb-375764bfd54c Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 92689 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (92689,6,'{"status":"ok","response":{"player":{"pid":92689,"title":"Xavier Gabriel","short_name":"XP Gabriel","first_name":"Xavier Gabriel","last_name":"","middle_name":"","birthdate":"1985-12-18","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"all","batting_style":"Right Hand Bat","bowling_style":"Right Arm Fast Medium","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":2,"innings":2,"notout":2,"runs":6,"balls":6,"highest":5,"run100":0,"run50":0,"run4":1,"run6":0,"average":"","strike":"100.00","catches":0,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":2,"innings":2,"notout":1,"runs":5,"balls":0,"highest":4,"run100":0,"run50":0,"run4":0,"run6":0,"average":"5.00","strike":"","catches":3,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"20","innings":"17","notout":"5","runs":"376","balls":"188","highest":"65","run100":"0","run50":"2","run4":"22","run6":"36","average":"31.33","strike":"200.00","catches":"6","stumpings":"0"}},"bowling":{"t20":{"match_id":0,"inning_id":0,"matches":2,"innings":2,"balls":48,"overs":8,"runs":45,"wickets":1,"bestinning":"1\/35","bestmatch":"1\/35","econ":"5.62","average":"45.00","strike":"48.0","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":2,"innings":0,"balls":126,"overs":21,"runs":68,"wickets":0,"bestinning":"","bestmatch":"","econ":"3.23","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"20","innings":"20","balls":"205","overs":"34.1","runs":"243","wickets":"8","bestinning":"1\/15","bestmatch":"1\/15","econ":"7.11","average":"30.38","strike":"25.63","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"431dd67a10f6e57e3059f9a26dd7eda7","modified":"2025-06-10 08:12:53","datetime":"2025-06-10 08:12:53","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":92689,"title":"Xavier Gabriel","short_name":"XP Gabriel","first_name":"Xavier Gabriel","last_name":"","middle_name":"","birthdate":"1985-12-18","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"all","batting_style":"Right Hand Bat","bowling_style":"Right Arm Fast Medium","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":8,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":2,"innings":2,"notout":2,"runs":6,"balls":6,"highest":5,"run100":0,"run50":0,"run4":1,"run6":0,"average":"","strike":"100.00","catches":0,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"firstclass":{"match_id":0,"inning_id":0,"matches":2,"innings":2,"notout":1,"runs":5,"balls":0,"highest":4,"run100":0,"run50":0,"run4":0,"run6":0,"average":"5.00","strike":"","catches":3,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"20","innings":"17","notout":"5","runs":"376","balls":"188","highest":"65","run100":"0","run50":"2","run4":"22","run6":"36","average":"31.33","strike":"200.00","catches":"6","stumpings":"0"}},"bowling":{"t20":{"match_id":0,"inning_id":0,"matches":2,"innings":2,"balls":48,"overs":8,"runs":45,"wickets":1,"bestinning":"1\/35","bestmatch":"1\/35","econ":"5.62","average":"45.00","strike":"48.0","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"firstclass":{"match_id":0,"inning_id":0,"matches":2,"innings":0,"balls":126,"overs":21,"runs":68,"wickets":0,"bestinning":"","bestmatch":"","econ":"3.23","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"20","innings":"20","balls":"205","overs":"34.1","runs":"243","wickets":"8","bestinning":"1\/15","bestmatch":"1\/15","econ":"7.11","average":"30.38","strike":"25.63","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"431dd67a10f6e57e3059f9a26dd7eda7","modified":"2025-06-10 08:12:53","datetime":"2025-06-10 08:12:53","api_version":"3.0"}', Modified = GetDate() WHERE Id = 92689 AND DataTypeId = 6 END
Player profile of Xavier Gabriel, West Indies
<>
CricDirect Cricket News, Results and Stats
 

Xavier Gabriel

NationalityWest Indies
RoleAll Rounder
Born18 Dec 1985 (39)
Batting StyleRight Hand Bat
Bowling StyleRight Arm Fast Medium

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
T20I 2 2 2 6 5 - 6 100.00 - -
1st Class 2 2 1 5 4 5.00 - - - -

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
T20 2 2 8 45 1 1/35 45.00 5.62 48.0 - -
1st Class 2 - 21 68 - - - 3.23 - - -
× Close