?
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,133 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
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…
Suggested Courses

764 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