Hi,
for some months, i used to run one of my applications from the /Applications/Utilities/ folder.
Strange things happened the last two-three weeks, because now this application refuses to launch, from the Utilities folder (I’m always on Snow leo).
If i move the application back to /Applications/ and forth again in the Utilities folder, the application starts like ever.
I get this error:
-->error "LSOpenURLsWithRole() failed for the application posix_path with error -10810." number 1
i tried to resolve the strange error, but i had no luck for now, using:
Maybe you have had a corrupted cache entry of some kind; that Launch Services has had, that got overwritten when you moved it back and forth. (Maybe you copied the app into the utilities folder the first time, so you had two apps with the same UrlRoleHandler?)
if McUsr is right you can check it by updating the launch services database, this can be done with lsregister. If the problem is solved you have indeed an cache/update problem.
And by the way, if is should so, that Spotlight ever stops working, and you can see in your Console.app that you are having conflicts, then it may help to clean out the caches before rebuilding the Spotlight database.
This is not totally related to the above, but Spotlight problems in my experience, can point to cache problems, and vice versa.