Could you provide a small code snippet resulting in this error? Did the approach from the other thread not work?