• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 104
  • Last Modified:

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:

  <browser id="IE11" parentID="IE">
      <capability name="majorversion" match="^11$" />
      <capability name="browser"  value="IE" />
      <capability name="type"     value="IE${majorversion}" />
  <browser id="IE11Edge" parentID="Chrome">
      <userAgent match="Edge/(?'version'(?'major'\d+)(\.(?'minor'\d+)?)\w*)" />
      <userAgent match="Edge/(?'layoutVersion'\d+)" />
      <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}" />

Open in new window

Any assistance is appreciated.
  • 2
2 Solutions
Zaheer IqbalTechnical Assurance & ImplementationCommented:
Please check your code, the area where it checks for browser version.
Zaheer IqbalTechnical Assurance & ImplementationCommented:
Also do you have all the .Net patches installed from windows update ?
Dan McFaddenSystems EngineerCommented:
This has been discussed before here on EE:  https://www.experts-exchange.com/questions/28980392/IIS-error-Browser-or-gateway-element-with-ID-'InternetExplorer'-cannot-be-found.html

Essentially, you need to fix the compat.browser file associated with the code.  If you are not the Developer, you need to work with them to fix this file.  Here is a link to a Microsoft support article that refers to the same issue though with another browser.  The solution is the same:

Link:  https://support.microsoft.com/en-us/help/2025676/error-the-browser-or-gateway-element-with-id-sktdevicessamsung-cannot

The compat.browser files exist in the following location:  (assumes your Windows directory is C:\windows)

32-bit Frameworks:
v2 = C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers
v4 = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\Browsers

64-bit Framework:
v2 = C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\Browsers
v4 = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\Browsers

Are you sure the application was built using .NET Framework v4 and not v2?  Also, the AppPool must be configured with the proper .NET CLR Version in IIS.

ZackGeneral IT Goto GuyAuthor Commented:
Hi Zaheer,

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now