Hi,
Always the config file of the surrogate i.e., the process
in which the component is loaded.
If your component is configured as library application
then the config file is read of the surrogate application
for example Web Application, then the config file which
is read is Web.config.
If your component is configured as Server application
then dllhost.exe.config is read since dllhost.exe is the
surrogate. dllhost.exe.config should be present in the
system directory (i.e., C:\Winnt\System32)
Hope this helps...
Regards,
Madhu
MVP | MCSD.NET
-----Original Message-----
In order to deploy my server I do the following :
regsvcs /fc MyServer.dll
gacutil /i MyServer.dll
.... and I don't have to know where actually my dll is
placed.It is advantage of GAC. But I want to place config file
in the samelocation, how I can do it, any ideas ?
Gawel
.