Today we had the following error with XMesh for Maya 0.4.2 in Maya 2012. Installing SP2 solved it.
[code]Error Initializing Command saveXMesh: (kFailure): Unexpected Internal Failure
API error detected in dllmain.cpp at line 74
: (kFailure): Unexpected Internal Failure[/code]