Solved

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

Posted on 2006-11-29
3
1,932 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now