Getting a rather odd error when I try to compile

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
1/22/2012 7:58:09 PM
Gravatar
Total Posts 40

Getting a rather odd error when I try to compile

I made a few changes to my user.config and now can't seem to get my project to compile. I've even tried replacing the web config and that didn't fix the problem.

 

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An XML comment cannot contain '--', and '-' cannot be the last character. Line 60, position 5.

Source Error:

Line 58:          App_Data folder. <add key="SqlCeConnectionString" value="Data Source=C:\\Projects\mojoportal\Web\App_Data\mojodb.sdf;Persist Security Info=False;" /> -->
Line 59:
Line 60:     <!-- *********************************************************************************** -->
Line 61:     <!-- ****************************End database settings ********************************* -->
Line 62:     <!-- *********************************************************************************** -->

Source File: J:\Projects\mojoportal\Test Project\Web\web.config    Line: 60

 

Any ideas?

1/23/2012 3:50:42 AM
Gravatar
Total Posts 40

Re: Getting a rather odd error when I try to compile

Problem solved. I recreated my user config file from the user.config.sample and whatever the problem was seemed to work itself out.

1/23/2012 1:15:24 PM
Gravatar
Total Posts 1204
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Getting a rather odd error when I try to compile

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.

You must sign in to post in the forums. This thread is closed to new posts.