What are your recipe details for the beer in question? mash technique, recipe, fermentation details, etc...
I wouldn't rush to judgement and point to the keg as the culprit just yet as there could be other issues. Until you rule out all other potential issues then you can look to the kegging process.