Weird directx 9 error

I would look carefully at the per-vertex data associated with your geometry. Make sure it is sensible. Try turning it off for different parts of the scene to try to isolate which object is causing the problem. Then look closely at that object.

David