D
daberelay
Hi,
I'm using IHttpModule class (added to GAC and machine.config) to get
requests of non existing pages in my web server and redirect them to
different pages, using the Context.Server.Transfer(Target) method.
i.e :
Original ==> http://myserver/notExist/HelloThere
to
Target ==> http://myserver/DoesExist/helloWorld.aspx
the problem is that the DoesExist application receive the request and
it's web.config shows the following error:
Configuration error:
"Parser Error Message: 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."
because notExist is not an appliaction in the web server, what should i
do to eliminate this problem?
Thanks!
Daberelay.
I'm using IHttpModule class (added to GAC and machine.config) to get
requests of non existing pages in my web server and redirect them to
different pages, using the Context.Server.Transfer(Target) method.
i.e :
Original ==> http://myserver/notExist/HelloThere
to
Target ==> http://myserver/DoesExist/helloWorld.aspx
the problem is that the DoesExist application receive the request and
it's web.config shows the following error:
Configuration error:
"Parser Error Message: 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."
because notExist is not an appliaction in the web server, what should i
do to eliminate this problem?
Thanks!
Daberelay.