J
Joseph
I have 2 web applications, one called myappA put under the website root
(http://localhost) and one called myappB under a virtual directory
(http://localhost/myappB) and they are mapped to different physical
directory (c:\\inetput\wwwroot\myappA and c:\\inetput\wwwroot\myappB). I
have a key defined in the web.config for myappB and the same key is not
defined in myappA. When I run myappB it is complaining the key is not found.
If I put the same key in the web.config for myappA then no error is
reported. Why did myappB check the web.config in myappA and just ignore the
key in its web.config? They are 2 different applications in 2 different
virtual directories. I believe the web.config of these 2 applications are
independent to each other. Is it right? Or my assumption is wrong if one of
the applications is put under the website root?
thanks,
Joseph
(http://localhost) and one called myappB under a virtual directory
(http://localhost/myappB) and they are mapped to different physical
directory (c:\\inetput\wwwroot\myappA and c:\\inetput\wwwroot\myappB). I
have a key defined in the web.config for myappB and the same key is not
defined in myappA. When I run myappB it is complaining the key is not found.
If I put the same key in the web.config for myappA then no error is
reported. Why did myappB check the web.config in myappA and just ignore the
key in its web.config? They are 2 different applications in 2 different
virtual directories. I believe the web.config of these 2 applications are
independent to each other. Is it right? Or my assumption is wrong if one of
the applications is put under the website root?
thanks,
Joseph