Solving development problems  |  About this blog

IF WRN: Assembly binding logging is turned OFF or It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

We had some problems with subdirectories under our root website.

We wanted to add different examples under our website root (organized into folders) like this:

  • www.our-website.com/example1
  • www.our-website.com/example2

And we always got these errors.

At root of our website www.our-website.com we didn’t have any web.config and we didn’t want any. Every subfolder has its own web.config and it didn’t worked under IIS7

Solution:

Click on each folder under IIS and then right mouse click Convert To Application and it worked.

blog comments powered by Disqus