Solved

Compilation Error ASP.NET

Posted on 2012-04-09
2
365 Views
Last Modified: 2012-04-13
Hi Experts,
When tried to compile my Web Application for troubleshooting, I got the following errors.  Please try to help.  Thank you very much in advance.

Warning      1      The element 'compilation' has invalid child element 'compilers'. List of possible elements expected: 'assemblies, buildProviders, codeSubDirectories, expressionBuilders'.      C:\Projects\XXX\Web.config
Error      2      Validation (XHTML 1.0 Transitional): Element 'html' is missing required attribute 'xmlns'.      C:\Projects\XXX\Pages\spellcheck.aspx      
Warning      3      Validation (XHTML 1.0 Transitional): Attribute 'name' is considered outdated. A newer construct is recommended.      C:\Projects\XXX\Pages\spellcheck.aspx
Warning      4      Validation (XHTML 1.0 Transitional): Attribute 'hidefocus' is not a valid attribute of element 'iframe'.      C:\Projects\XXX\Pages\spellcheck.aspx
Warning      5      Validation (XHTML 1.0 Transitional): Attribute 'name' is considered outdated. A newer construct is recommended.      C:\Projects\XXX\Pages\spellcheck.aspx
Error      6      Validation (XHTML 1.0 Transitional): The values permitted for this attribute do not include 'center'.      C:\Projects\XXX\Pages\spellcheck.aspx
Error      7      Validation (XHTML 1.0 Transitional): The values permitted for this attribute do not include 'middle'.      C:\Projects\XXX\Pages\spellcheck.aspx
0
Comment
Question by:RadhaKrishnaKiJaya
2 Comments
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 500 total points
ID: 37826327
In 2.0, the <compilers> section is found in machine.config,
so you don't need to place it in web.config.

Check out machine.config.comments in the .Net Framework\config dir.

The syntax has changed.
It's now in the <system.codedom> section.

See : http://msdn2.microsoft.com/en-us/library/e4hwk57e.aspx

refer
http://www.velocityreviews.com/forums/t113519-the-element-compilation-has-invalid-child-element-compilers.html
0
 

Author Closing Comment

by:RadhaKrishnaKiJaya
ID: 37844578
Hi pratima_mcs,
Thank you very much for your help.  I followed the instructions and issued is fixed.  Thank you again.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

18 Experts available now in Live!

Get 1:1 Help Now