Solved

Parser Error Message: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 239, position 143.

Posted on 2006-11-29
3
2,059 Views
Last Modified: 2008-01-16
I put this key on our web.config so that we can change error messeges from the web.config

    <add key="CategoryRequired_ErrorText" value="You must select a category.  <br><br><b>Please click the back button twice and select a category to continue on.</b>" />

I get this error:  Parser Error Message: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 239, position 143.

can you not put html strings in the web.config appsettings?
0
Comment
Question by:dba123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
kraffay earned 500 total points
ID: 18041043
You have to escape out the <, >, / characters.  Google on XML encoding.
0
 
LVL 1

Author Comment

by:dba123
ID: 18041049
ok, so what would be the syntax to escape them out in my example here...sorry, not familiar
0
 
LVL 1

Author Comment

by:dba123
ID: 18041146
nevermind, duh, thanks.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question