After I almost complete with my program,

I got this error 267 during execute/running the program which means invalid directory.. I thought just invalid database path, so I change it.. but then, still get this error again and again.. any clue???

Could not execute: invalid directory (Win32 error 267)