I've learned the hard way that the processor doesn't like double dash inside of a comment, which is what it sounds like you had there (from the error message). Also keep in mind that even if the error is in user.config, the error message shows lines from web.config, so it can be quite confusing.