views:

10

answers:

0

Hello, I have the following set up. 2 Web Sites A and B (each has it's own virtual directory). I have written a simple web service (asmx) that reads configuration of web site's A web.config. The .asmx file resides in the WebServices folder of site A.

When creating web service reference from site B ran on the same IIS I get this error:

Parser Error Message: Could not load file or assembly 'Max' or one of its dependencies. The system cannot find the file specified. (C:\src_max\web.config line 118)

The http module is defined in an assembly referenced by the both A and B web sites:

<httpModules> <add name="MyModule"type="Max.SecurityModule,Max"/> </httpModules>

Any ideas please!? The site A compiles and runs, the module instantiated just fine at runtime...