Hi,

I am writing a component to get/handle all the configuration settings
from the config files. I created a new component and its having method
to which I have to pass the name of the config file. For non-ASP.NET
applications, I know I can pass the name of the config file(which is
nothing but the "name of the  assembly.config"). For ASP.NET
application, if I pass web.config as the name of the config file, it
fails to get that file because it could not get web.config from the path
and I am getting FileNotFoundException saying that
"\winnt\system32\web.config" doesn't exist. Why is it cheking over
there? So if need to use web.config, what should be the path I need to
give for web.config

I don't know whether I am going in the right direction, if not, please
correct me..

Thanks and Regards,
Madhu.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to