Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8797777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:55:26+00:00 2026-06-13T23:55:26+00:00

I have a site that is hosted in a load balanced environment (cloned 2008SP2

  • 0

I have a site that is hosted in a load balanced environment (cloned 2008SP2 servers running IIS7). When the site is being displayed in FireFox or Chrome, one instance ignores the VBscript block (as expected, as both of browsers do not support VBScript), but the other writes the server-side code to the client as plain text. The code is exactly the same on both servers. The code executes as expected in IE.

What configuration setting needs to be enabled on server-side (IIS) to ignore VBscript code while running in incompatible browsers (ie. Firefox or Chrome)?

I’ve been looking at this for hours and have not found any solutions other than to comment out the script blocks on the other server, but I don’t feel like I should have to do that since it being omitted as expected on one server.

To be clear: the browser writes the code

<%@ Language=VBScript %><% Option Explicit ... %>

to the page while in Firefox/Chrome on one server, but omits it on the other (as expected). The script executes correctly on both servers in IE.

Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:55:27+00:00Added an answer on June 13, 2026 at 11:55 pm

    When vbscript or asp is written in htm/html files, IIS7 will not parse the content in browsers other than IE. To parse the content in other browsers, add the following to the web.config under the tag.

    <add name='HTM-TO-ASP' path='*.htm' verb='*' modules='IsapiModule' scriptProcessor='C:\windows\system32\inetsrv\asp.dll' resourceType='File' requireAccess='Script' />
    
    <add name='HTML-TO-ASP' path='*.html' verb='*' modules='IsapiModule' scriptProcessor='C:\windows\system32\inetsrv\asp.dll' resourceType='File' requireAccess='Script' />
    

    This tells IIS to map htm/html to the asp.dll and adds in the handler mappings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site that is hosted in shared hosting environment. They use a
I have a asp.net mvc site that being hosted via IIS 7. I believe
We have a website load balanced across two servers that calls into a WCF
We have a hosted site that has a CMS we built running on a
We have a classic ASP site that is been hosted in IIS 7.5. I
I have created a widget that is being hosted on a number of websites.
I have a site that is hosted on inmotion hosting and requires a phpMailer
I have an ASP.NET MVC site that contains a WCF SVC that is hosted
I have a asp.net 2.0 web site with WCF service hosted inside it running
I have an ASP.NET MVC site that is hosted on an Amazon EC2 service.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.