10.1 Web Adaptor as Child of .NET 4.0 Application Not Working

Discussion created by matthewfnicol on Jun 19, 2012
Latest reply on Jun 19, 2012 by matthewfnicol
I've installed the 10.1 Web Adaptor in IIS 7.5 where the root site is a .NET 4.0 application that uses WCF Services.  When I try to launch http://<server>/arcgis/webadaptor, I get the following error message:

"The configuration section 'standardEndpoints' cannot be read because it is missing a section declaration"

This is because the Web Adaptor is a .NET 3.5 application and doesn't understand that section in the root Web.config file.  Assuming that I cannot change how the root site is architected, what options do I have?  I've tried the following unsuccessfully:

  • Adding the section to the Web Adaptor's Web.config for that section

  • Changing the Web Adaptor's application pool to use .NET 4.0

  • Adding a location element to the root Web.config with "inheritInChildApplications" set to false for system.ServiceModel

Ideally, the solution would not involve making any changes to the root Web.config file, however.

Thanks in advance for any help that anyone can provide!