Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

VBScript server tags in ASP pages not recognized in IIS 8.5

$
0
0

I'm migrating an ASP web app from IIS 6 to IIS 8.5, and none of the server tags (<% %>) which contain VBScript are being recognized.  In some cases, they're being ignored, in other cases, they are being displayed as text along with the VBScript code they contain.  For example, this VBScript is displayed as plain text inside a TextBox instead of evaluating to a string value:

<%=Session("EmpName")%>

I have made numerous configuration changes to enable ASP:

  • Installed ASP and ISAPI on Windows Server 2012.
    - Enabled Active Server Pages under the root server node in IIS Manager.
    - Enabled Parent Paths under ASP for the website in IIS Manager.
    - Enabled ASPClassic IsapiModule under Handler Mappings for website.
    - Enabled ISAPI-dll (IsapiModule) and CGI-exe (CgiModule) under Handler Mappings for website.
    - Created a series of ServerSideIncludeModules for .asp and other related file extensions under Handler Mappings.
    - Verified there are no MIME Types for .asp for the website in IIS that might interfere by rendering it as static content.
  • After making all these settings, ASP pages render fine -- but I still have the issue with the one that makes extensive use of VBScript inside server tags (<% %>).  The VBScript is not recognized and does not get rendered properly.
  • What else needs to be done to resolve this?
  • Thank you -
    Kevin

Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>