Thanks for reply, I've solved the problem by creating a new windows app not windows service and worked perfectly.