Re: [ADVANCED-DOTNET] Configuration file name as a start up parameter

2007-01-05 Thread Georg Jansen
Thanks Dave, just what I was looking for. Georg -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Dave Lacerte Sent: 4. januar 2007 18:31 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Configuration file name as a

Re: [ADVANCED-DOTNET] Configuration file name as a start up parameter

2007-01-04 Thread Dave
ve. It's probably worth experimenting >with though. > >Geoff > >> -Original Message- >> From: Discussion of advanced .NET topics. [mailto:ADVANCED- >> [EMAIL PROTECTED] On Behalf Of Eddie Lascu >> Sent: 02 January 2007 12:42 >&g

Re: [ADVANCED-DOTNET] Configuration file name as a start up parameter

2007-01-04 Thread Dave Lacerte
ehave. It's probably worth experimenting >with though. > >Geoff > >> -Original Message- >> From: Discussion of advanced .NET topics. [mailto:ADVANCED- >> [EMAIL PROTECTED] On Behalf Of Eddie Lascu >> Sent: 02 January 2007 12:42

Re: [ADVANCED-DOTNET] Configuration file name as a start up parameter

2007-01-02 Thread Geoff Taylor
anuary 2007 12:42 > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Configuration file name as a start up > parameter > > Why don't you rename your cMyConfigFile.config file as a first step of > your > application. The reason why you would need a d

Re: [ADVANCED-DOTNET] Configuration file name as a start up parameter

2007-01-02 Thread Eddie Lascu
bject: [ADVANCED-DOTNET] Configuration file name as a start up parameter Hi, I have an application where I need to provide the name of the configuration file as a start up parameter (for example myapp.exe -cMyConfigFile). The application is started as a windows service. The application uses other assem

[ADVANCED-DOTNET] Configuration file name as a start up parameter

2006-12-30 Thread Georg Jansen
Hi, I have an application where I need to provide the name of the configuration file as a start up parameter (for example myapp.exe -cMyConfigFile). The application is started as a windows service. The application uses other assemblies that use the "standard" System.Configuration.ConfigurationMan

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread james
: [ADVANCED-DOTNET] Configuration File I have been seeing a similar problem. I have a Web app and three library projects in my solution. One of the library projects is my DataPortal layer and one is my business logic tier. In the DataPortal, I added an app.config file to house the connection

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Jeff Little
ittle, MCSD Olympus Technology Solutions -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Reed Sent: Friday, March 05, 2004 9:14 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Configuration File Could you pr

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Christopher Reed
Could you provide us with a snippet of your code from your Windows Service application as well as your configuration file? Christopher Reed Web Applications Supervisor Information Technology City of Lubbock [EMAIL PROTECTED] "The oxen are slow, but the earth is patient." >>> [EMAIL PROTECTED] 3:1

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Tim Bailey
9:10 To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Configuration File Hi all, i am in need of immediate help... i have a windows service application, which has a config file and a method in the .cs file to read the config file, making use of the Configuration class provided ny .NET. But

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Alexander R. Krapf
Sarvajith, Most debugging problems related to config files are due to the fact that VisualStudio deletes the config file before running the app. It took me a while to figure that out and dod a Google search on the issue. You can fix this by adding a file named "app.config" to your VS project

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Chris Stefano
D] On Behalf Of Sarvajith Chakravarty Sent: Friday, March 05, 2004 11:10 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Configuration File Hi all, i am in need of immediate help... i have a windows service application, which has a config file and a method in the .cs file to read the config

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Frans Bouma
Copy the config file in the windows\system32 directory (or winnt\system32 directory) and name it: svchost.exe.config or dllhost.exe.config, depending on which 'host' is hosting your service. Pretty lame, but the only solution I'm aware of. If you learn of other solutions, please post them in this t

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Stefan Holdermans
Sarvajith, SC> But since i cannot debug the start method, i made a windows SC> app, which has an object of the service class and calls SC> another method, identical to the start method. Assuming that your service app is service.exe and your test app is test.exe, you've probably called the config

[ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Sarvajith Chakravarty
Hi all, i am in need of immediate help... i have a windows service application, which has a config file and a method in the .cs file to read the config file, making use of the Configuration class provided ny .NET. But since i cannot debug the start method, i made a windows app, which has an obj

Re: [ADVANCED-DOTNET] Configuration file for code running in dllhost on Windows 2000 COM+ 1.1

2003-10-07 Thread Bill Bassler
One thing I neglected to add in this scenario was that the dll is installed in the GAC. So while it has a physical location (somewhat hidden) there isn't a direct physical folder where the config file can be installed based on a GAC'd dll location. I believe. I suppose that you could just hard co

Re: [ADVANCED-DOTNET] Configuration file for code running in dllhost on Windows 2000 COM+ 1.1

2003-10-07 Thread Mike Woodring
Since remoting configuration can be in any file you have access to (it doesn't need to be in an application configuration file), the easiest thing to do is just put the config file in the same directory the assembly is installed in, and then pass the path to that file to RemotingConfiguration.Confi

[ADVANCED-DOTNET] Configuration file for code running in dllhost on Windows 2000 COM+ 1.1

2003-10-07 Thread Bill Bassler
I have a component running in a COM+ 1.1 application on Windows 2000 using Server activation. I need the component to be able to retrieve remoting info from a .config file e.g. http://web1.mycompany/ConfigServer.soap"; /> The only way I've found to make this work is place

Re: [ADVANCED-DOTNET] Configuration File per Assembly

2003-03-24 Thread Chris Stefano
Thanks I'll have a look at this. Great Site BTW! - Original Message - From: "Lidor Wyssocky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 24, 2003 11:40 AM Subject: Re: [ADVANCED-DOTNET] Configuration File per Assembly > You might w

Re: [ADVANCED-DOTNET] Configuration File per Assembly

2003-03-24 Thread Lidor Wyssocky
You might want to consider an alternative configuration scheme: http://www.sharpdevelopment.com/ToolBox/ConfigurationSoftwareService/Configu rationSoftwareService.htm Lidor Wyssocky Lidor Wyssocky www.SharpDevelopment.com =

Re: [ADVANCED-DOTNET] Configuration File per Assembly

2003-03-24 Thread Paul Gale
You'll have to roll you're own code to perform per-assembly configuration. Alternatively, take a look at Mike Woodring's collection of .NET samples one of which has code for just what you're looking for. http://www.bearcanyon.com/dotnet/ Paul --- Chris Stefano <[EMAIL PROTECTED]> wrote: > Hi >

[ADVANCED-DOTNET] Configuration File per Assembly

2003-03-24 Thread Chris Stefano
Hi The ConfigurationSettings.GetConfig() method only accesses the config file of the app that started the process. I need to have a configuration file per assembly and I would like to use the System.Configuration classes to process these files instead of rolling my own. i.e App1.exe => App1.e