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:45e7dc66-0c6a-4112-9f52-a1b46710955a Error Number:207,State:1,Class:16If not Exists (Select ApiId From api_Data WHERE Id = 1209 AND DataTypeId = 6) BEGIN INSERT INTO api_Data (Id, DataTypeId, Json, Modified, StatusId, ErrorLog) VALUES (1209,6,'{"status":"ok","response":{"player":{"pid":1209,"title":"Michael Frew","short_name":"M Frew","first_name":"Michael Frew","last_name":"","middle_name":"","birthdate":"1997-12-15","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"all","batting_style":"Right Hand Bat","bowling_style":"Right Arm Off Break","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":9,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"lista":{"match_id":0,"inning_id":0,"matches":1,"innings":1,"notout":0,"runs":33,"balls":50,"highest":33,"run100":0,"run50":0,"run4":2,"run6":1,"average":"33.00","strike":"66.00","catches":1,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"16","innings":"12","notout":"2","runs":"86","balls":"68","highest":"34","run100":"0","run50":"0","run4":"7","run6":"4","average":"8.60","strike":"126.47","catches":"3","stumpings":"0"}},"bowling":{"lista":{"match_id":0,"inning_id":0,"matches":1,"innings":1,"balls":22,"overs":3.4,"runs":23,"wickets":0,"bestinning":"","bestmatch":"","econ":"6.27","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"16","innings":"13","balls":"139","overs":"23.1","runs":"181","wickets":"15","bestinning":"4\/8","bestmatch":"4\/8","econ":"7.81","average":"12.07","strike":"9.27","wicket4i":"2","wicket5i":"0","wicket10m":"0"}}},"etag":"9284e657b58a208f7dcfa967d861b9e9","modified":"2025-06-21 15:41:47","datetime":"2025-06-21 15:41:47","api_version":"3.0"}', GetDate() , 0,'') END ELSE BEGIN Update api_Data Set Json = '{"status":"ok","response":{"player":{"pid":1209,"title":"Michael Frew","short_name":"M Frew","first_name":"Michael Frew","last_name":"","middle_name":"","birthdate":"1997-12-15","birthplace":"","country":"wi","primary_team":[],"logo_url":"","playing_role":"all","batting_style":"Right Hand Bat","bowling_style":"Right Arm Off Break","fielding_position":"","recent_match":0,"recent_appearance":0,"fantasy_player_rating":9,"facebook_profile":"","twitter_profile":"","instagram_profile":"","debut_data":"","thumb_url":"","nationality":"West Indies"},"batting":{"lista":{"match_id":0,"inning_id":0,"matches":1,"innings":1,"notout":0,"runs":33,"balls":50,"highest":33,"run100":0,"run50":0,"run4":2,"run6":1,"average":"33.00","strike":"66.00","catches":1,"stumpings":0,"fastest50balls":0,"fastest100balls":0},"t10":{"match_id":"0","inning_id":"0","matches":"16","innings":"12","notout":"2","runs":"86","balls":"68","highest":"34","run100":"0","run50":"0","run4":"7","run6":"4","average":"8.60","strike":"126.47","catches":"3","stumpings":"0"}},"bowling":{"lista":{"match_id":0,"inning_id":0,"matches":1,"innings":1,"balls":22,"overs":3.4,"runs":23,"wickets":0,"bestinning":"","bestmatch":"","econ":"6.27","average":"","strike":"","wicket4i":0,"wicket5i":0,"wicket10m":0,"hattrick":0,"expensive_over_runs":0},"t10":{"match_id":"0","inning_id":"0","matches":"16","innings":"13","balls":"139","overs":"23.1","runs":"181","wickets":"15","bestinning":"4\/8","bestmatch":"4\/8","econ":"7.81","average":"12.07","strike":"9.27","wicket4i":"2","wicket5i":"0","wicket10m":"0"}}},"etag":"9284e657b58a208f7dcfa967d861b9e9","modified":"2025-06-21 15:41:47","datetime":"2025-06-21 15:41:47","api_version":"3.0"}', Modified = GetDate() WHERE Id = 1209 AND DataTypeId = 6 END
Player profile of Michael Frew, West Indies
<>
CricDirect Cricket News, Results and Stats
 

Michael Frew

NationalityWest Indies
RoleAll Rounder
Born15 Dec 1997 (27)
Batting StyleRight Hand Bat
Bowling StyleRight Arm Off Break

Batting

Format MAT INNS NO RUNS HS AVG BF SR 100s 50s
List A 1 1 - 33 33 33.00 50 66.00 - -

Bowling

Format MAT INNS OVR RUNS WK BBI AVG ECN SR 4W 5W
List A 1 1 3.4 23 - - - 6.27 - - -
× Close