OpenScripting.framework - 'gdut' event blocked error

Hi all,
I have created a scriptable application which would receive a apple event from an apple script. But when I run this apple script from another app it gives me this error

OpenScripting.framework - ‘gdut’ event blocked in the process with mixed credentials (issetugid=1 uid=502 euid=502 gid=20 egid=499)

Can anyone please throw more light on this error.

thanks in advance