?
Solved

Compilation Error ASP.NET

Posted on 2012-04-09
2
Medium Priority
?
385 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
[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 Comments
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

771 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