cannot be converted to type int
As the message says.
You have a numeric in de-DE format looking string, it can't be implicit converted into integer.
You have to replace the comma with a dot to get a valid en-US formatted numeric, then you can first convert to numeric and that to integer, see
Example
DECLARE @test varchar(100) = '24,269'
-- Returns NULL = invalid
SELECT TRY_CONVERT(int, @test)
-- Returns 24 = valid
SELECT TRY_CONVERT(int, TRY_CONVERT(float, REPLACE(@test, N',', N'.')))