Error "The spatial references do not match" when creating topology using

Discussion created by bingxi on Aug 23, 2010
Hi, I implemented a function which export from a dataset to XML and import back to a different database then create topoplogies in that dataset. When I run the code to create topology, I recieved an error "The spatial references do not match " then list alll the feature class names in that dataset. I couldn't find any posts regarding this error when creating topologies.

What might cause the error?