Problem with Web Config '<', hexadecimal value 0x3C, is an invalid attribute character

T

theonlyzahid

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:


Line 11: debugging ASP.NET files.
Line 12: -->
Line 13: <compilation defaultLanguage="vb" debug="false"
tempDirectory="<COMPILE_DIR>"><assemblies><add
assembly="CrystalDecisions.CrystalReports.Engine, Version=11.0.3300.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.ReportSource, Version=11.0.3300.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Shared, Version=11.0.3300.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Web, Version=11.0.3300.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.ReportAppServer.ClientDoc,
Version=11.0.3300.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Enterprise.Framework, Version=11.0.3300.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Enterprise.InfoStore, Version=11.0.3300.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add
assembly="CrystalDecisions.Enterprise.Web, Version=11.0.3300.0,
Culture=neutral,
PublicKeyToken=692fbea5521e1304"/></assemblies></compilation>
Line 14:
Line 15: <!-- CUSTOM ERROR MESSAGES


Source File: D:\Views\Zahid_300_view\AEA_Source_2005\AEAWeb\web.config
Line: 13



All i am doing is adding assemblies that i need.

This has begining to frustrate me. Please help.

Regards
 
K

Karl Seguin [MVP]

you need to encode your < and >'s...they are reserved xml characters...

tempDirectory="&lt;COMPILE_DIR&gt;

karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,717
Messages
2,569,382
Members
44,704
Latest member
FawnBernay

Latest Threads

Top