473,698 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error WDP00002 in Web Deployment Project

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=sta ge.appSettings. config
compilation=sta ge.compilation. config

We have matching stage.appSettin gs.config and stage.compilati on.config
(below) files.

<compilation defaultLanguage ="vb" debug="false" strict="true">
<assemblies>
<add assembly="Micro soft.Web.Servic es3, Version=3.0.0.0 , Culture=neutral ,
PublicKeyToken= 31BF3856AD364E3 5" />
<add assembly="Micro soft.VisualBasi c, Version=8.0.0.0 , Culture=neutral ,
PublicKeyToken= B03F5F7F11D50A3 A" />
</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.

Sep 7 '06 #1
1 2604

Ok - solved - it was simple really.

system.web/compilation=sta ge.compilation. config;

"Gr***@newsgrou ps.nospam" wrote:
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=sta ge.appSettings. config
compilation=sta ge.compilation. config

We have matching stage.appSettin gs.config and stage.compilati on.config
(below) files.

<compilation defaultLanguage ="vb" debug="false" strict="true">
<assemblies>
<add assembly="Micro soft.Web.Servic es3, Version=3.0.0.0 , Culture=neutral ,
PublicKeyToken= 31BF3856AD364E3 5" />
<add assembly="Micro soft.VisualBasi c, Version=8.0.0.0 , Culture=neutral ,
PublicKeyToken= B03F5F7F11D50A3 A" />
</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.
Sep 21 '06 #2

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

Similar topics

0
2214
by: processendnow | last post by:
I have a vb.net form application, it works inside Visual Baisc Express Debugger, packages without errors or warning, and is publishable. Click on the setup.exe to install and it installs, but it cannot run, the details of the error are here: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42...
5
3727
by: Lynne | last post by:
I apologize in advance for the lengthy message but wanted to include as much information as possible. Any insight/assistance would be appreciated. The following line of code throws an error when I execute my application using the output generated from a web deployment project. I have specified "merge all outputs to a single assembly." If I use the "publish web site" option, the application works fine. If I run the application within...
2
1799
by: Rod | last post by:
I am attempting to install an ASP.NET 1.1 app onto a Windows 2000 Server, for testing. (This ASP.NET app is about 2 years old and we've installed it on a production server successfully those 2 years.) I choose to use a deployment project for the app 2 years ago, in part because it includes Crystal Reports, and I had no idea how I could include that by any other means. (There were other reasons for my choosing a deployment project for...
6
4066
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
0
5694
by: Anonieko | last post by:
1. I created a web application project 2. I created web deployment project 3. When I build the deploy, it seems it is duplication the object in assembly. Sample error is.... Files\ardbatchentry \6ecf9826\7b22b810\App_Web_progress.aspx.cdcab7d2.ayg8z-es.0.cs(118): error CS0433: The type 'ppcentry.Progress' exists in both 'c:\WINDOWS
0
1863
by: =?Utf-8?B?SWFu?= | last post by:
Hi, I'm using VS 2005 SP1 with Web Deployment Project download v8.0.51103, according to the Add/Remove programs applet. I've got a file based web service project with an associated web deployment project. I want to build my release version of the wdp with debug info so I can run NUnit on the output and doing that causes the wdp build to set <compilation debug="true"/in the web.config file. I've setup a replace config section...
7
5978
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find it? If not, how do I have to change my deployment strategy? Thanks!
0
915
by: shapper | last post by:
Hello, I created a Web Deployment project to build an Asp.Net 3.5 web site. Everything was working but then I needed a few extra tasks. So I found the following: http://msbuildtasks.tigris.org/ I installed the file and I added the import code line to my Web
0
1138
by: vfees | last post by:
I'm trying to construct a deployment project using Visual Studio 2005. I have done this more than once, but today, it began throwing a very lengthy error that begins: The setup has encountered an unexepected error in datastore: The action is SetInstanceProperty. I haven't installed any new software and to ensure that it wasn't the result of a goofy launch condition, I created a blank deployment project and attempted to build. I get...
0
8676
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8898
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7734
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3051
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.