A
Ashok
Hi All,
I am using Integrated windows authentication(IWA) on my child virtual
directory(VD) which is beneath the parent Virtual Directory. When i use
Server.Transfer("/Parent VD/Child VD/StartingPage.aspx")
i am getting the error "Error executing child request for
/Parent VD/Child VD/StartingPage.aspx." (NO Login Box gets prompted).
I have anonymous access for the Parent VD (as this is for public access) and
Integrated windows authentication for the Child VD.
If i use the full url like
Response.Redirect("http://IPAddress//Parent VD/Child
VD/StartingPage.aspx,true)
it prompts the windows login box.
I created both parent and child VD'S as Applications when i got the below
error
(I configure both virtual directory's (VD's) as applications)
"it is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS."
Below are my machine.config settings
<section name="authorization"
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=somekey"/>
<section name="authentication"
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=somekey"
allowDefinition="MachineToApplication"/>
<section name="machineKey"
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=somekey"
allowDefinition="MachineToApplication"/>
<!-- /security -->
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=somekey"
allowDefinition="MachineToApplication"/>
integrated windows authentication (IW Authentication)
wwwroot
-----Parent Virtual Directory (ANONYMOUS ACCESS ==> IW Authentication)
---- Child Virtual Directory (integrated windows
authentication)
I greatly appreciate your help.
Thank You
I am using Integrated windows authentication(IWA) on my child virtual
directory(VD) which is beneath the parent Virtual Directory. When i use
Server.Transfer("/Parent VD/Child VD/StartingPage.aspx")
i am getting the error "Error executing child request for
/Parent VD/Child VD/StartingPage.aspx." (NO Login Box gets prompted).
I have anonymous access for the Parent VD (as this is for public access) and
Integrated windows authentication for the Child VD.
If i use the full url like
Response.Redirect("http://IPAddress//Parent VD/Child
VD/StartingPage.aspx,true)
it prompts the windows login box.
I created both parent and child VD'S as Applications when i got the below
error
(I configure both virtual directory's (VD's) as applications)
"it is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS."
Below are my machine.config settings
<section name="authorization"
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=somekey"/>
<section name="authentication"
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=somekey"
allowDefinition="MachineToApplication"/>
<section name="machineKey"
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=somekey"
allowDefinition="MachineToApplication"/>
<!-- /security -->
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=somekey"
allowDefinition="MachineToApplication"/>
integrated windows authentication (IW Authentication)
wwwroot
-----Parent Virtual Directory (ANONYMOUS ACCESS ==> IW Authentication)
---- Child Virtual Directory (integrated windows
authentication)
I greatly appreciate your help.
Thank You