H
Harry Simpson
Trying to redirect to the local.config file for a few app settings as in:
In the regular Web.config:
<?xml version="1.0" standalone="yes"?>
<configuration>
<appSettings file="local.config">
<add key="ServerIP" value="10.0.0.32" />
<add key="SQLServerIP" value="10.0.0.32" />
........etc etc etc.......
Then local.config consist entirely of just the following:
<?xml version="1.0" encoding="utf-8" ?>
<appSettings>
<add key="ServerIP" value="10.0.0.62" />
<add key="SQLServerIP" value="10.0.0.62" />
</appSettings>
Therefore, when i run the app i'd expect that the values for ServerIP and
SQLServerIP would be "10.0.0.62"
Instead it looks like the app gets to the point where it's trying to read
the context application variable and gets no further.
Any idea what may be blowing up here? Does this work with cookieless
sessions etc.
Stumped
TIA
Harry
In the regular Web.config:
<?xml version="1.0" standalone="yes"?>
<configuration>
<appSettings file="local.config">
<add key="ServerIP" value="10.0.0.32" />
<add key="SQLServerIP" value="10.0.0.32" />
........etc etc etc.......
Then local.config consist entirely of just the following:
<?xml version="1.0" encoding="utf-8" ?>
<appSettings>
<add key="ServerIP" value="10.0.0.62" />
<add key="SQLServerIP" value="10.0.0.62" />
</appSettings>
Therefore, when i run the app i'd expect that the values for ServerIP and
SQLServerIP would be "10.0.0.62"
Instead it looks like the app gets to the point where it's trying to read
the context application variable and gets no further.
Any idea what may be blowing up here? Does this work with cookieless
sessions etc.
Stumped
TIA
Harry