Error WDP00002 in Web Deployment Project

G

Guest

Hi,

When using the web.config file section replacement functionality, we are
unable to replace any section other than appSettings. We have tried
compilation, system.web etc.

Our section replace code is
appSettings=stage.appSettings.config
compilation=stage.compilation.config

We have matching stage.appSettings.config and stage.compilation.config
(below) files.

<compilation defaultLanguage="vb" debug="false" strict="true">
<assemblies>
<add assembly="Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" />
<add assembly="Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
</compilation>


The web.config file definitely has a compilation section.

The error coming back is:
web.config(1): error WDP00002: missing section compilation.


Thanks in advance.

Regards,
Grant Holdom.
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top