Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2006-11-29
3
Medium Priority
?
2,199 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

604 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