473,508 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with .config and VS Net 2003

I'm would assume this question been asked, but a search of the newsgroup
didn't produce a hit.

I've upgraded to VS 2003 and when I execute the program from within the IDE,
the .config file in the bin directory is being deleted (which means that my
program is not finding the configuration file). This behavior didn't occur
with 2002. Does anyone know of a solution?

TIA,

Richard Rosenheim
Jul 19 '05 #1
2 1372
You need to move the .config to the project folder and name it app.config
(literally "app.config"). When you run the project it will rename the file
and put it in the bin /debug or bin/release folder.

"Richard L Rosenheim" <ri*****@rlr.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I'm would assume this question been asked, but a search of the newsgroup
didn't produce a hit.

I've upgraded to VS 2003 and when I execute the program from within the IDE, the .config file in the bin directory is being deleted (which means that my program is not finding the configuration file). This behavior didn't occur with 2002. Does anyone know of a solution?

TIA,

Richard Rosenheim

Jul 19 '05 #2
Thanks,

Richard Rosenheim
"Jay Glynn" <jl******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP10.phx.gbl...
You need to move the .config to the project folder and name it app.config
(literally "app.config"). When you run the project it will rename the file
and put it in the bin /debug or bin/release folder.

"Richard L Rosenheim" <ri*****@rlr.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I'm would assume this question been asked, but a search of the newsgroup
didn't produce a hit.

I've upgraded to VS 2003 and when I execute the program from within the

IDE,
the .config file in the bin directory is being deleted (which means that

my
program is not finding the configuration file). This behavior didn't

occur
with 2002. Does anyone know of a solution?

TIA,

Richard Rosenheim


Jul 19 '05 #3

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

Similar topics

2
2189
by: Paul Klanderud | last post by:
I'm encountering a strange situation with a .config file for a simple windows form test harness I built to test some components normally invoked by a windows service. My config file,...
13
3777
by: Wolfgang Kaml | last post by:
Hello All, I have been researching newsgroups and knowledgebase all morning and not found a solution that would solve the problem I have. I am having an ASP or ASPX web page that implement a...
2
3183
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000...
11
1437
by: James Warren | last post by:
I just installed VB.net 2003, upgrading from VB6. I tried to open a new ASP.net Web Application and immediately got an error stating that my Web Server isn't running ASP.net version 1.1. I tried...
3
2224
by: Lisa | last post by:
Suddenly, the encoding in my exe.config file changes from UTF-8 to Windows-1252 every time I try to debug my winform app. This causes the old application configuration error when I try to debug...
9
4419
by: Symon | last post by:
I've got a web service project that was built under VS 2003 which has a SoapExtension in the project. The SoapExtension is registered in the <soapExtensionTypes> element of the web.config and has...
7
2078
by: Rabbit | last post by:
Dear all, Does anyone know how to resolve following setup problem, I developed my application(using .net 2.0) which will connect Access database on my Win XP, everything works fine, but when I...
4
1773
by: Jay | last post by:
2.0 asp.net app (precomiled in 2005, not updateable, dll's in bin and then merged to one dll)... web app calls a 1.1 (compiled in 2003) webservice initialization webmethod (works). Second call...
1
1946
by: Mahesh Devjibhai Dhola | last post by:
Hi, Scenario: The webservice was developed on windows 2000 Pro and deployed previously on windows XP pro for testing. We have tested for many days. The client for that service was 30+ and...
0
7323
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
7379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7493
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...
1
5049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.