Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2006

Tip: Looking for answers? Try searching our database.

Error WDP00002 in Web Deployment Project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Grant@newsgroups.nospam - 07 Sep 2006 05:34 GMT
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.
Grant@newsgroups.nospam - 22 Sep 2006 00:51 GMT
Ok - solved - it was simple really.

system.web/compilation=stage.compilation.config;

> Hi,
>
[quoted text clipped - 27 lines]
> Regards,
> Grant Holdom.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.