Link to home
Start Free TrialLog in
Avatar of Zack
ZackFlag for Australia

asked on

IIS 7- The browser or gateway element with ID 'InternetExplorer' cannot be found.

Hi EE,

Getting this message when trying to launch a website see attached. I am using Windows server 2008 R2 Standard SP1, IIS 7. I know it's a browser check of some sort I am just wondering if there is a way around it or a windows update that fixes it.  

Server Error in 'Service/myGuest' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The browser or gateway element with ID 'InternetExplorer' cannot be found.

Source Error:


An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Source File: d:\inetpub\wwwroot\Service\myGuest\App_Browsers\ie11.browser    Line: 2

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1040

***********

ie11 browser file below:



<browsers>
  <browser id="IE11" parentID="IE">
	<identification>
      <capability name="majorversion" match="^11$" />
    </identification>
    <capabilities>
      <capability name="browser"  value="IE" />
      <capability name="type"     value="IE${majorversion}" />
    </capabilities>
  </browser>
  <browser id="IE11Edge" parentID="Chrome">
    <identification>
      <userAgent match="Edge/(?'version'(?'major'\d+)(\.(?'minor'\d+)?)\w*)" />
    </identification>
    <capture>
      <userAgent match="Edge/(?'layoutVersion'\d+)" />
    </capture>
    <capabilities>
      <capability name="browser"  value="IE" />
      <capability name="type"     value="IE" />
      <capability name="version"              value="11.0" />
      <capability name="majorversion"         value="11" />
      <capability name="minorversion"         value="0" />
      <capability name="layoutEngine"         value="Edge" />
      <capability name="layoutEngineVersion"  value="${layoutVersion}" />
     </capabilities>
  </browser>
</browsers>

Open in new window


Any assistance is appreciated.
Avatar of Zaheer Iqbal
Zaheer Iqbal
Flag of United Kingdom of Great Britain and Northern Ireland image

Please check your code, the area where it checks for browser version.
ASKER CERTIFIED SOLUTION
Avatar of Zaheer Iqbal
Zaheer Iqbal
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zack

ASKER

Hi Zaheer,

Updated the .net frame to 4.6.2 and that fixed the issue.

Cheers