473,569 Members | 2,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

please help. '<', hexadecimal value 0x3C, is an invalid attribute character. Line 8,

1 New Member
I'm getting the following error below.

System.Configur ation.Configura tionException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 8, position 68. (c:\inetpub\www root\essential-ehs\e6dataimpor ter\bin\e6datai mportservice.ex e.config line 8) ---> System.Xml.XmlE xception: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 8, position 68.

<configuratio n>
<appSettings>
<add key="MessageQue ueName" value="jerry"/>
<add key="MessageTim eout" value="10000"/>
<add key="SupportLib s" value="C:\Inetp ub\wwwroot\Esse ntial-EHS\E6DataImpor ter\bin\"/>
<add key="SelectXMLP ath" value="C:\Inetp ub\wwwroot\Esse ntial-EHS\_ESSXML\"/>
<add key="BusinessRu lesPath" value="C:\Inetp ub\wwwroot\Esse ntial-EHS\E6DataImpor ter\Template Metadata\"/>
<add key="connectStr ing" value="Provider =SQLOLEDB.1;Dat a Source=jerryc-desk;User ID=pwadm;Passwo rd=pwadm;Initia l Catalog=plnt32; "/>
<add key="From" value="jerry.c@ email-home.com"/>
<add key="SMTPServer " value="10.2.2.4 0"/>
<add key="AdminEmail ID" value="jerry.c@ email-home.com"/>
<add key="MaximumRow s" value="500"/>
</appSettings>
</configuration>
Aug 14 '07 #1
2 16227
kestrel
1,071 Recognized Expert Top Contributor
Im not too sure, but this is XML right? Anyways, im going to move this to the XML forum. Have a Nice Day!

--
Kestrel
Aug 14 '07 #2
jkmyoung
2,057 Recognized Expert Top Contributor
It says you have a '<' character inside the string of an attribute somewhere.
From your code posted, I can't see it, and it seems to be well-formed when I cut and paste.

You could try using an xml editor, which should tell you exactly where the offending character is. If you do find a '<' character, try replacing it with the entity &lt;
Aug 14 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
4592
by: Brian Morris | last post by:
I'm new to .NET and just trying a few things out, like emailing. I created a form in Visual Studio .Net to input some information for generating an email and I'm getting the following error when it executes both on my server or on the server of the .NET service provider. I'm obviously missing something very basic and I'm hoping one of you can...
2
8146
by: Pushpendra | last post by:
I am storing the encrypted password in xml file which I have saved in unicode format. While I try to read the xml file and create a dataset from it, it shows me the following error System.Xml.XmlException: The '{' character, hexadecimal value 0x7B, cannot begin with a name. The xml tag that I want to read is below: <DSNNAME>,...
1
10147
by: King Kong | last post by:
we are facing this kind of error when we double click the infragistic web grid please help me on this Regards Moid Iqbal Server Error in '/NetworkAccess' Application. ---------------------------------------------------------------------------- ----
2
12289
by: theonlyzahid | last post by:
Hi, I am getting his weired error when i open my webpage. Parser Error Message: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 13, position 68. Source Error:
1
1331
by: asem0525 | last post by:
Hello guys, I have this kind of problem: first, the textBox tbISBN has a value that is read from the text file, but then after pressing the "Clear" button, it should be realized, and when I enter the new text into the textBox it should get the new text that I entered, but it keeps it's first value, even after the "Clear" button event. Here is...
4
7307
by: jvictor118 | last post by:
I've been using the xml.sax.handler module to do event-driven parsing of XML files in this python application I'm working on. However, I keep having really pesky invalid token exceptions. Initially, I was only getting them on control characters, and a little "sed -e 's/ ]/ /g' $1;" took care of that just fine. But recently, I've been getting...
1
6707
by: samarthkumar84 | last post by:
Hi I had used following code for sending e-mail but facing this problem. I want to send this e-mail in ASP.NET using VB.NET code. I am attaching both code an output. CODE Imports System.Web.HttpCookie Imports System.Web.Mail Imports System.Web.Mail.SmtpMail
2
2221
by: grahama2 | last post by:
Greetings. I am writing a database with a search feature to go through 1 table and extract relavant records to be displayed on a subform in spreadsheet style. I have 8 txt boxes that can all recieve data and search through the table with the search terms AND'd or OR'd together. The table has fields that are the same as the search text boxes (...
5
2813
by: Duncan McLeod | last post by:
Morning everyone, I'm still new to the programming world of C. I don't like asking for help but i think i may be asking for lots of help in the future months to come :( Here's my problem.. I've been trying to write a command line program that will read a binary file, now say the following is an example of what i'm talking about: 00 00...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.