Would you please provide us more information about the error you get?
What does it say and where do you get it?
You don't have to deploy your app using the approach from this blog post.
Another way to accomplish that is to connect your WP 8
device to the computer and use the "Build and Deploy