IIS 7 & IIS 8
Classic ASP not running
Last post May 09, 2012 02:19 AM by Lloydz
Apr 14, 2012 05:21 PM|LINK
I have Win 7 Pro 64 bit SP1 running in a Parallels VM on a MacBook Pro. IIS 7.5 and ASP are enabled.
If I try to preview a classic asp page in Expression Web, it tells me "This page may contain dynamic content that requires a Web server in order to be previewed correctly." Then the page is opened as source code in the browser. If I click a link to the asp
page, it opens as source in the browser.
Apr 14, 2012 05:24 PM|LINK
what if you browse manually for the page outside expression web?
Windows Server MVP - IIS
Log archival solution
Install, Configure, Forget
Apr 14, 2012 08:07 PM|LINK
It opens as source.
Apr 15, 2012 02:17 AM|LINK
That tells me ASP role service isn't installed or the ISAPI under isapi/cgi restrictions isn't enabled.
Inetmgr > computer name > IIS > isapi and cgi restrictions (make sure) ASP is enabled.
Apr 15, 2012 10:42 AM|LINK
ASP is allowed, as is ASP.Net V2.050727 32 & 64 bit.
For ASP >Edit feature settings, both "Allow unspecified CGI modules" and "Allow unspecified ISAPI modules" are UN-checked.
Apr 15, 2012 11:32 AM|LINK
Apr 15, 2012 12:20 PM|LINK
Yes. ASP Classic is enabled. Dunno if it's relevant, but CGI-exe and ISAPI-dll are disabled.
Apr 16, 2012 06:24 AM|LINK
CGI-exe and ISAPI-dll disabled should not prevent asp pages from renderring correctly. Could you please post the corresponding handler mappings entry for asp requests. The settings could be found in applicationHost.config(located at %windir%\system32\inetsrv\config),
and looks like the following:
<add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" />
Also please check isapi restrictions settings has asp allowed, ensure the following setting exist in isapiCgiRestriction section:
<add path="C:\Windows\system32\inetsrv\asp.dll" allowed="true" groupId="ASP" description="Active Server Pages" />
Hope this helps, thanks.
Apr 16, 2012 01:20 PM|LINK
This is present:
There doesn't appear to be an entry in the section below.
<section name="isapiCgiRestriction" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
Then there is this section
<isapiCgiRestriction notListedIsapisAllowed="false" notListedCgisAllowed="false">
<add path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" allowed="false" groupId="ASP.NET v4.0.30319" description="ASP.NET v4.0.30319" />
<add path="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" allowed="false" groupId="ASP.NET v4.0.30319" description="ASP.NET v4.0.30319" />
<add path="%windir%\system32\inetsrv\asp.dll" allowed="true" groupId="ASP" description="Active Server Pages" />
Apr 17, 2012 02:11 AM|LINK
Weird. Everything related seems to have been correctly configured. In this case, I would suggest you generate a copy of tracing log to see the detailed walkthrough of the request:
Troubleshooting Failed Requests Using Tracing in IIS 7
The tracing log may provide some clues on this issue.