Error WDP00002 in Web Deployment Project

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
Back
Top