Solved

Compilation Error ASP.NET

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

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…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 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