473,395 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

user.config file

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.
Mark
Nov 18 '05 #1
2 4763
Oops. I think I've got it. Should have added the attribute below to my
web.config file:

<appSettings file="user.config">

Mark

"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.
Mark

Nov 18 '05 #2
"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
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Todd Beaulieu | last post by:
Hello, I'm using the configuration block to store user settings in the app.config file. As this exe will reside on a network drive, I can't have users trying to update the master app.config...
5
by: Dean Slindee | last post by:
I store several application settings in the project's "app.config" file. I also have a form that reads these values and displays them in a listview so that the user can adjust them. My question...
1
by: John Q. Adams | last post by:
I want to generate an XML file on the server side and allow the user to download it by clicking on a link. I also want the XML file to always be named "Config.XML" Whats the best way to do this?...
0
by: Nenad Dobrilovic | last post by:
Hi all, I have a really strange situation, but I believe that there is someone else who has already experinced the same, and is willing to help me! I made an application using VS 2005 in C#,...
3
by: gordon | last post by:
Hi I am looking to store some details about a user's configuration choices, in particular the place where they have installed some data files, the OS that they use, and their Windows user name. ...
1
by: Matt F | last post by:
Two of the projects in my solution that both need to use a common user.config file. This is a data application - the executable that is created with the first project is the primary executable...
0
by: davemills81 | last post by:
Hi, Does anyone know how to update the user or application settings of a dll after building? The problem I have is? I have recently developed a service in C# that attaches references a dll. ...
3
by: Jeremy Chaney | last post by:
It appears that my user.config file got corrupted causing my "InitializeComponent" routine to throw the exception "Root element is missing." when I start my app. I figure I can just go into...
3
by: Piotrekk | last post by:
Hi I have a problem connected with user.config file. I am using default settings.settings . To settings.settings I am adding one user scope string and one application scope string. Thus...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.