Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Web Deployment Projects

Thread Tools

Web Deployment Projects

Otis Mukinfus
Posts: n/a
I'm trying to use the Enable Web.config file section replace ment option, but
can't seem to get it to work.

Here is a sample of the section I put in a file named 'ConnectionString.config'.

<add name="SomeConnectionString" connectionString="Data
Source=SomeDataSource;Initial Catalog=SomeCatalog;Persist Security
Info=True;User ID=AUser;Password=APassword"
providerName="System.Data.SqlClient" />

Here is the section in the config file I'm trying to replace:

<connectionStrings configSource="ConnectionString.config">

When I run the deployment projects compile I get the following error:

Error 103 web.config(1): error WDP00002: missing section ConnectionStrings.

Of course in the documentation there is no example of how external file should

Can anyone help with this?
Good luck with your project,

Otis Mukinfus
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Deployment & Web Application Projects in SP1? Brian McCullough ASP .Net 3 02-06-2007 01:07 AM
Web application projects vs. Web site projects ASP .Net 0 07-31-2006 02:42 PM
Converting Java projects to dynamic web projects in Eclipse Java 4 02-24-2006 03:15 PM
VS 2005 "Web Deployment Projects" wdproj lacks macros? DBxGlock ASP .Net 6 11-18-2005 03:45 AM
Visual Studio 2005 Web Deployment Projects =?Utf-8?B?QnJhZGxleUI=?= ASP .Net 0 11-10-2005 04:58 AM