Solved

Compilation Error ASP.NET

Posted on 2012-04-09
2
374 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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