I've been trying to profile an asp.net 4 site using the latest version of ANTS (18.104.22.168), I keep getting the following IIS error when ANTS fires up IE...
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Handler Not yet determined
Error Code 0x80070032
Config Error The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration
Config File \\\\?\\C:\\Projects\\ABI - Seamless - net 4\\Seamless - DotNet 4.0\\Seamless\\Fusion.Seamless.Web\\web.config
Requested URL http://test.abi.org.uk:80/
Logon Method Not yet determined
Logon User Not yet determined
If I try to visit the site out side of ANTs (ether by running debug from VS or by browsing to it) it works fine.
We do have a licence for an older version of ANTs (22.214.171.124) which worked fine with the site but we upgraded the site to .net 4 recently and since our older version of ants does not support asp.net 4 I thought I'd try the latest version instead.
The app is running on my local IIS (V7) and is asp.net 4, it has the correct app pool settings (I googled the server error and the common fix for it is to check it's using the write app pool version).