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.
ZackGeneral IT Goto GuyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zaheer IqbalTechnical Assurance & ImplementationCommented:
Please check your code, the area where it checks for browser version.
0
Zaheer IqbalTechnical Assurance & ImplementationCommented:
Also do you have all the .Net patches installed from windows update ?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.

Dan
0
ZackGeneral IT Goto GuyAuthor Commented:
Hi Zaheer,

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

Cheers
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.