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

Home Posts Topics Members FAQ

Web Deployment problem ... please, need help.

Hello,

I am using VS 2008 and and just downloaded Web Deployment Projects:
http://connect.live.com/VisualStudio...dbackID=319288

I need the connection string in my web site Web.config file to be
replaced.

So I created a new file named ConnectionStrin gs.config that contains
only the following:

<connectionStri ngs>
<add name = "MyConn" connectionStrin g = "Provider =
Microsoft.Jet.O LEDB.4.0; Data Source = C:\MyDomain\\ww wroot\App_Data
\DB.mdb; User Id=; Password=;" providerName = "System.Data.Ol eDb" />
</connectionStrin gs>

And in my Web Deployment Web.Config File Section Replacements I have:

connectionStrin gs=ConnectionSt rings.config;

I get the following error:
web.config(1): error WDP00002: missing section connectionStrin gs

What am I doing wrong?

And just another question on the side:
Is it possible to have 2 files: ConnectionStrin gs.config and
ConnectionStrin gsServer.config .

The first would have the connectionStrin gs section to be used in my
computer.
The second would have the connectionStrin gs section to be used when
deploying the web site to the server.

Thanks,
Miguel
Jan 5 '08 #1
3 2424
"shapper" <md*****@gmail. comwrote in message
news:21******** *************** ***********@l1g 2000hsa.googleg roups.com...
I get the following error:
web.config(1): error WDP00002: missing section connectionStrin gs
What am I doing wrong?
Does your web.config *definitely* contain a <connectionStri ngssection one
level down from the <configurationr oot? E.g.

<configuratio n>
<connectionStri ngs>

</connectionStrin gs>
</configuration>

If I remove it from the web.config in one of my projects and then try to
rebuild the WDP, I get exactly the same error as you...
And just another question on the side:
Is it possible to have 2 files: ConnectionStrin gs.config and
ConnectionStrin gsServer.config .

The first would have the connectionStrin gs section to be used in my
computer.
The second would have the connectionStrin gs section to be used when
deploying the web site to the server.
Yes, but what would be the point...? WDP is for deployment only...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jan 5 '08 #2
On Jan 5, 3:03 am, "Mark Rae [MVP]" <m...@markNOSPA Mrae.netwrote:
"shapper" <mdmo...@gmail. comwrote in message

news:21******** *************** ***********@l1g 2000hsa.googleg roups.com...
I get the following error:
web.config(1): error WDP00002: missing section connectionStrin gs
What am I doing wrong?

Does your web.config *definitely* contain a <connectionStri ngssection one
level down from the <configurationr oot? E.g.

<configuratio n>
<connectionStri ngs>

</connectionStrin gs>
</configuration>

If I remove it from the web.config in one of my projects and then try to
rebuild the WDP, I get exactly the same error as you...
And just another question on the side:
Is it possible to have 2 files: ConnectionStrin gs.config and
ConnectionStrin gsServer.config .
The first would have the connectionStrin gs section to be used in my
computer.
The second would have the connectionStrin gs section to be used when
deploying the web site to the server.

Yes, but what would be the point...? WDP is for deployment only...

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
Hi,

I was able to solve it using the information on the following article:
http://weblogs.asp.net/lkempe/archiv...tion-tips.aspx

What do you think?

Thanks,
Miguel
Jan 5 '08 #3
"shapper" <md*****@gmail. comwrote in message
news:57******** *************** ***********@j20 g2000hsi.google groups.com...
I was able to solve it using the information on the following article:
OK.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jan 5 '08 #4

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

Similar topics

2
600
by: ksskumar | last post by:
Hi Friends, My software's target is to creating a add-in for Outlook. I am struckup of creating deployment of my software. My software flow is as follows, 1. Complete functionality is done in C# Class library project In this .dll I am used the following COM components,
3
2173
by: Marek | last post by:
Hi there, my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in no-touch-deployment. Could anyone give me directions to documentation piece (or article) that explains how to implement app .config file reading in no-touch-deployment ? (just to clarif the issue, my app is not ASP.NET) I'd appreciate any help, thank you....
3
2038
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take advantage of extensive deployment project management features, such as registration and IIS configuration." I guess that users of shared web hosts are using copying rather than a deployment project. What problems might this run into? I.e.,...
1
650
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
1607
by: feng | last post by:
Hi, I am having a strange problem right now and I don't even know how to go about it. Someone please help me! Any inputs will be highly appreciated. We have an application that has a VB.Net windows form front-end and a middle tier that's also in VB.Net. The two talk to each other via .Net Remoting. If we just run the windows form exe directly, then the application works just
4
4663
by: Joseph Geretz | last post by:
Do I need to deploy both my ASMX page plus the DLL onto the web site? If so, can you please explain what role both of these deployment units play? To me they would seem to be mirror images of each other. Thanks for your help. - Joe Geretz -
11
1617
by: Thom Little | last post by:
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it operates correctly. Publish the second application to the root of the same remote webspace. Permit it to overwrite existing files. Call a page and notice that it waits forever.
4
2357
by: Zany | last post by:
I added a Web Deployment Project so I can create a debug, staging, and release version. Each set is compiled and saved in a separate folder under the csproj_deploy folder. All works fine. Here's the problem - I'm looking for an *easy* way to upload (ftp) changed files. I don't want to upload them all (huge upload), and don't want to have to it manually by remembering what files have changed. I thought I had the solution when I found a...
1
1315
by: apondu | last post by:
Hi Friends... I have a simple query on building the Web Setup project. When i build my setup, i see that the code behind the .aspx pages (.cs code pages) are also included. And when i deploy the project i can see that even those code files are also deployed on the machine and the code with in those .cs files can be seen ( read-only format). But i want the code to be hidden, either those code files should not be deployed ot they should...
3
2286
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
I've added a web deployment project and want to use the config section replacement but I'm obviously not understanding something. I have set up an alternate appSettings file, test.appSettings.config, and when I build the appSettings are correctly overridden, but I also end up with a copy of test.appSettings.config in my web site. If I have config sections for several environments they all get copied. How do I stop the copy? I wondered...
0
8678
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
8609
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
9166
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...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8899
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
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7737
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
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3052
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

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.