473,414 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

asp.net 2.0 conversion issue with web.config compilers section

I have upgraded an asp.net 1.1 application to asp.net 2.0 using the upgrade
wizard in VS2005. The web.config file which worked correctly in 1.1 now has
an error that will not allow the application to compile. The error is:

The element 'compilation' has invalid child element 'compilers'. List of
possible elements expected: 'assemblies, buildProviders, codeSubDirectories,
expressionBuilders'.

Here is the section of the web.config file with the error:

<compilation defaultLanguage="vb" debug="false">
<compilers>
<compiler language="vb" type="Microsoft.VisualBasic.VBCodeProvider, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=... etc. />
</compilers>

Does anyone know what to do here? If compilers is no longer a valid child
element of compilation, what should I change this to?
Feb 20 '06 #1
1 8099
DWS
Grant,

Sorry your conversion did not work.
The compiler element is deprecated in favor of compiler in system.codedom
http://msdn2.microsoft.com/en-us/library/a15ebt6c.aspx
The compilers element is deprecated in favor of compilers in system.codedom
http://msdn2.microsoft.com/en-us/library/5tc5kc3e.aspx

I don't have a compiler element in my web.config and it works fine!
Consider signing your assembly using the keypair property in the application
property msbuild page.

Good Luck
DWS


"dbaGrant" wrote:
I have upgraded an asp.net 1.1 application to asp.net 2.0 using the upgrade
wizard in VS2005. The web.config file which worked correctly in 1.1 now has
an error that will not allow the application to compile. The error is:

The element 'compilation' has invalid child element 'compilers'. List of
possible elements expected: 'assemblies, buildProviders, codeSubDirectories,
expressionBuilders'.

Here is the section of the web.config file with the error:

<compilation defaultLanguage="vb" debug="false">
<compilers>
<compiler language="vb" type="Microsoft.VisualBasic.VBCodeProvider, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=... etc. />
</compilers>

Does anyone know what to do here? If compilers is no longer a valid child
element of compilation, what should I change this to?

Feb 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Guinness Mann | last post by:
I'm working in VS2003.NET, with C#. I use app.config to store the connection string to my SQL Server. This works fine. Lately I've been taking work home where the connection string is...
2
by: conrad | last post by:
for something like printf("%lld\n", 1); what section in the standard describes what type the argument "1" is promoted to? All I see is a section describing promotion from float to double but...
4
by: Steve | last post by:
I'm currently running into a problem, and I have no idea what to make of it. I have a class with nested clases and static properties that I'm using to store configuration information using a...
0
by: Oscar Thornell | last post by:
Hi, I have run into a VS.NET 2005 conversion issue. As a starter (before I go for production code) I tried to convert the well known Portal starter kit that can be downloaded from http://asp.net...
2
by: George Durzi | last post by:
I have a dll that I use in several projects, that I placed in the Global Assembly Cache. This dll is references in each of my projects. This Dll is referenced by a type= declaration in my...
1
by: Robert | last post by:
I have a server where the main web application (root) is now migrated to 2.0. It's web.config has a line where it adds the system.data.oracleclient in the configuration and assembiles section. ...
14
by: Richard G. Riley | last post by:
Would it be wrong to use "implicit casting" instead of the standards "implicit conversion" when talking about implicit conversions between certain data types. The standard mentions "explicit...
11
by: santosh | last post by:
Hello all, Conversion macros along the name of INT8_C, INT16_C etc, are defined in stdint.h to convert their argument into suitable representations for their corresponding types, i.e. int8_t,...
31
by: Martin Jørgensen | last post by:
Hi, I've had a introductory C++ course in the spring and haven't programmed in C++ for a couple of months now (but I have been programmed in C since january). So I decided to do my conversion...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.