473,657 Members | 2,735 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 1382
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.co m> wrote in message
news:%2******** ********@TK2MSF TNGP12.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******@hotma il.com> wrote in message
news:Os******** ******@TK2MSFTN GP10.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.co m> wrote in message
news:%2******** ********@TK2MSF TNGP12.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
2205
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, "testharness.exe.config," has some <system.diagnostics> settings (trace listeners). When my file is read only, things are fine. However, when I toggle the read-only attribute off (so I can edit it), and then run my test harness, as soon as I get to the...
13
3794
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 counter functionality and read/insert some data in a MS Access database on that Windows 2003 server. The weird part is, as long as the web page is very short in size, I can hit the refresh button and Internet Explorer will reload the page and display...
2
3202
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 database. Tried all possible combinations but it still fails. I have Windows 2003 server having SQL Server 2000 installed with SP2. The installation went Ok on a XP professional machine and I was able to create database and user logins etc on...
11
1456
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 running aspnet_regiis /i and all the dotnetfix "framework repair" suggestions the Help link sent me to, but no luck. I suspect I am not the first guy with this problem. I am running IIS on a Windows XP system. Can anybody direct me to a site...
3
2228
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 the app. How can I finally convince my exe.config file to keep straight?
9
4434
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 worked fine for some time. Recently we tryed to update the project to VS 2005 and run it under ASP.NET 2.0, but now we get a compile time exception: "The value of the property 'type' cannot be parsed. The error is: Could not load file or...
7
2081
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 place the web folder onto my Win 2003 server, set up a virtual directory as web application, the following error message came up. Server Error in '/WebApp' Application.
4
1779
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 to a different webmethod (does NOT work. The second webmethod uses session state (to re-connect individuals session back together) and crashes... Hypotheses include: can't use precompiled app in 2005 to call 1.1/2003 websevice that uses state....
1
1952
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 accessing the webservice each min. It was working 100% fine. Problem: But now in actual deployment, we have deployed webservice in Win Server 2003 and we have used all the default configurations. Now the clients are accessing that service the same way...
0
8319
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8837
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8612
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6175
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
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.