Did you try starting the dryer with the vent off? If it vents via a crawl space to the outside, just leave it unconnected into the crawl space for a load and see what it does. Maybe the sludge is from a blockage in the vent pipe. Could be the vapor accumulated when it couldn't get outside and mixed with the lint created a sludge. If it would vent into your house while disconnected you could see if the dryer heated up and had hot air/steam leaving the dryer.
These are just suggestions from a dryer owner. I am not a repair person, nor did I read the inital post about what sort of trouble you had. I called a repairman recently because my dryer was not performing very well. He said the vent had too many elbows in its' path from the dryer to outside.....that a dryer that couldn't get the hot air out couldn't get the clothes dry.