I am working on a web application, for which i created a custom
ihttpmodule to handle authentication. I am creating another application
in a virtual directory under this one. But when I try to run it i get
the following error.
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.
Parser Error Message: File or assembly name Security, or one of its
dependencies, was not found.
Source Error:
Line 92:
Line 93: <httpModules>
Line 94: <add name="AuthenticationModule"
type="Security.AuthenticationModule, Security" />
Line 95: </httpModules>
Line 96: <httpHandlers>
Source File: c:\inetpub\wwwroot\web.config Line: 94
The error is coming from the web.config file from the root application,
but the application in the virtual directory has its own web.config. I
made sure that the directory was set as an application in IIS. Anyone
know how I can stop the application in the lower level from trying to
load the module from the root application?