Duplicate Resource Error

When I put the object repository in my search path, I get a "duplicate
resource error" , but when I delete it from the search path, I get a
"can't find OKCancl1.dcu" error. Anybody have an idea what's going on?