Magnetic and Mössbauer effect study of Er2Fe17C2