[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Compilation Error ASP.NET

Posted on 2012-04-09
2
Medium Priority
?
391 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

650 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