You say that you publish fine!
This is a good thing!
Then please tell me... How does a published/resourced version run???
To create that you will need to remove or rename and existing .cd folders in your work folder...
Could you please try and let me know the outcome...
Thanks