re:
!I have been looking into web config file section replacements
!I have set it buy putting in the line into the deploy section
!connectionStrings=connectionStrings.config;
!I then have a file by that name in the root directory
!Am I missing a step?
You are missing the configSource attribute in web.config :
<connectionStrings configSource="subdirectory/connectionStrings.config"/>
or, if connectionStrings.config is in the root of the application :
<connectionStrings configSource="connectionStrings.config"/>
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
"ThatsIT.net.au" <me@workwrote in message news:0F**********************************@microsof t.com...
I have been looking into web config file section replacements
I have set it buy putting in the line into the deploy section
connectionStrings=connectionStrings.config;
I then have a file by that name in the root directory
with
<?xml version="1.0"?>
<connectionStrings>
<add name="ioSQL" connectionString="my connection string"/>
</connectionStrings>
if I add another connection string to my web.config it tells me that they cannot merge so I know that the file is
being found, but in debug or release it uses the same connection string from web.config
Am I missing a step?