Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've encountered the following problem with the IIS 7.5.

Under root I have a virtual directory which is setup as application running under classic pipeline.

it looks like this

    -root (integrated)
    -bin
    -virtualdirectory (classic)
    --bin
    --somevirtualfile.apx
    --web.config
    -somefile.aspx
    -web.config

The root site is running as integrated pipeline and references few assemblies which are under root bin folder.

The problem comes when requesting a virtual directory, and assemblies referenced in the root web.config don't exist in the virtual directory bin folder. IIS throws an error unable to load referenced assemblies.

Anyone can shine some light?

Thanks!

share|improve this question

1 Answer 1

I believe the assemblies entries are inherited down the chain of configuration. So, if you do not want your subdirectory application to try to load assemblies that do not exist, you need to add <remove> entries for those which do not exist. You would add those in the web.config file in the subdirectory.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.