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 'ConnectionStri ng.config'.
<connectionStri ngs>
<add name="SomeConne ctionString" connectionStrin g="Data
Source=SomeData Source;Initial Catalog=SomeCat alog;Persist Security
Info=True;User ID=AUser;Passwo rd=APassword"
providerName="S ystem.Data.SqlC lient" />
</connectionStrin gs>
Here is the section in the config file I'm trying to replace:
<connectionStri ngs configSource="C onnectionString .config">
</connectionStrin gs>
When I run the deployment projects compile I get the following error:
Error 103 web.config(1): error WDP00002: missing section ConnectionStrin gs.
Of course in the documentation there is no example of how external file should
be.
Can anyone help with this?
Good luck with your project,
Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com