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:868ee8a8-0c0e-427e-bc0b-f3f1d80cd225 Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 52727 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (52727,6,'{"status":"ok","response":{"player":{"pid":52727,"title":"Kamran Mahmood","short_name":"Kamran Mahmood","first_name":"Kamran Mahmood","last_name":"","middle_name":"","birthdate":"1993-01-20","birthplace":"","country":"dk","primary_team":[],"logo_url":"","playing_role":"bat","batting_style":"Right Hand Bat","bowling_style":"Right Arm Fast Medium","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":6.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","bowling_type":"Pace","thumb_url":"","nationality":"Denmark"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":14,"innings":13,"notout":2,"runs":142,"balls":153,"highest":41,"run100":0,"run50":0,"run4":13,"run6":1,"average":"12.90","strike":"92.81","catches":3,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"19","innings":"14","notout":"4","runs":"187","balls":"81","highest":"35","run100":"0","run50":"0","run4":"5","run6":"22","average":"18.70","strike":"230.86","catches":"8","stumpings":"0"}},"bowling":{"t20":{"match_id":0,"inning_id":0,"matches":14,"innings":7,"balls":80,"overs":13.2,"runs":115,"wickets":3,"bestinning":"2\/4","bestmatch":"2\/4","econ":"8.62","average":"38.33","strike":"26.60","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"19","innings":"1","balls":"6","overs":"1","runs":"18","wickets":"0","bestinning":"0\/18","bestmatch":"","econ":"18.00","average":"","strike":"","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"666f2fda69fa15375879cb1fccf2c956","modified":"2025-07-10 08:14:53","datetime":"2025-07-10 08:14:53","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":52727,"title":"Kamran Mahmood","short_name":"Kamran Mahmood","first_name":"Kamran Mahmood","last_name":"","middle_name":"","birthdate":"1993-01-20","birthplace":"","country":"dk","primary_team":[],"logo_url":"","playing_role":"bat","batting_style":"Right Hand Bat","bowling_style":"Right Arm Fast Medium","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":6.5,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","bowling_type":"Pace","thumb_url":"","nationality":"Denmark"},"batting":{"t20":{"match_id":0,"inning_id":0,"matches":14,"innings":13,"notout":2,"runs":142,"balls":153,"highest":41,"run100":0,"run50":0,"run4":13,"run6":1,"average":"12.90","strike":"92.81","catches":3,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"19","innings":"14","notout":"4","runs":"187","balls":"81","highest":"35","run100":"0","run50":"0","run4":"5","run6":"22","average":"18.70","strike":"230.86","catches":"8","stumpings":"0"}},"bowling":{"t20":{"match_id":0,"inning_id":0,"matches":14,"innings":7,"balls":80,"overs":13.2,"runs":115,"wickets":3,"bestinning":"2\/4","bestmatch":"2\/4","econ":"8.62","average":"38.33","strike":"26.60","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"19","innings":"1","balls":"6","overs":"1","runs":"18","wickets":"0","bestinning":"0\/18","bestmatch":"","econ":"18.00","average":"","strike":"","wicket4i":"0","wicket5i":"0","wicket10m":"0"}}},"etag":"666f2fda69fa15375879cb1fccf2c956","modified":"2025-07-10 08:14:53","datetime":"2025-07-10 08:14:53","api_version":"3.0"}', Modified = GetDate() WHERE Id = 52727 AND DataTypeId = 6 END
Player profile of Kamran Mahmood, Denmark
CricDirect Cricket News, Results and Stats
 

Kamran Mahmood

NationalityDenmark
RoleBatter
Born20 Jan 1993 (32)
Batting StyleRight Hand Bat
Bowling StyleRight Arm Fast Medium

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
T20I 14 13 2 142 41 12.90 153 92.81 - -

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
T20 14 7 13.2 115 3 2/4 38.33 8.62 26.60 - -
× Close