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

G

Guest

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?
 
G

Guest

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top