config file for windows service
From: Michael (mastrauckas_at_pparadise.biz)
Date: 07/18/04
- Next message: Sergey M: "ANN: free DPack for Visual Studio .NET 2003 v1.1.16.6"
- Previous message: Yves Dhondt: "Re: irc chat....."
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 18 Jul 2004 16:10:38 GMT
I have a Windows Service developed in .NET. I am using a configuration
file that allows me to get app settings. Now I know I have to the
path for my config file like this
RemotingConfiguration.Configure(@"C:\MyService\MyService.exe.config");
The only problem is, I will be also have remoting settting,
bindingRedirect(future releases of dll files will have me put this.)
setting in my config file. Now, if I put it in C:\MyService the
runtime will not be able to read the runtime settings. So I am
forced to put it into c:\windows\system32 unless someone knows how I
can tell the runtime where to read my config file when using a Windows
Service?
Thanks
Michael
- Next message: Sergey M: "ANN: free DPack for Visual Studio .NET 2003 v1.1.16.6"
- Previous message: Yves Dhondt: "Re: irc chat....."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|