"Mark" <mf****@idonotlikespam.cce.umn.edu> wrote in message
news:eV*************@TK2MSFTNGP09.phx.gbl...
Our team uses VSS. We each have a user.config file for local settings.
One developer's file does NOT kick in - it pulls directly from the web.config
file.
1. The user.config file is in the same directory as the web.config (root).
2. There is nothing crazy about the contents. The contents are posted
below.
3. The user.config file is in the appropriate directory, but has not been
included in VSS.
<appSettings>
<add key="strEmailDefaultTo" value="mfield"/>
<add key="strEnvironment" value="local_mf" />
</appSettings>
Suggestions? Thanks in advance.
Force an error in the user.config and see what happens. For instance, put
the letter "x" before the open "<" in "<appSettings>". That should obviously
cause an error if the file is being read at all. Does it?
After you know the file isn't being read, copy a user.config from a
different developer into the folder with the user.config which isn't getting
read. Does this one work?
Check the permissions on the folder and on the user.config.
Compare the web.config where it works with the web.config where it doesn't.
HTH,
John Saunders
johnwsaundersiii at hotmail