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.
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:
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:
Mikey3
14 Posts
Classic ASP not running
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.
iis 7.5 classc asp
steve schofi...
5681 Posts
MVP
Moderator
Re: Classic ASP not running
Apr 14, 2012 05:24 PM|LINK
what if you browse manually for the page outside expression web?
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget
Mikey3
14 Posts
Re: Classic ASP not running
Apr 14, 2012 08:07 PM|LINK
It opens as source.
steve schofi...
5681 Posts
MVP
Moderator
Re: Classic ASP not running
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.
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget
Mikey3
14 Posts
Re: Classic ASP not running
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.
steve schofi...
5681 Posts
MVP
Moderator
Re: Classic ASP not running
Apr 15, 2012 11:32 AM|LINK
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget
Mikey3
14 Posts
Re: Classic ASP not running
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.
Lloydz
2335 Posts
Microsoft
Re: Classic ASP not running
Apr 16, 2012 06:24 AM|LINK
Hi,
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.
Mikey3
14 Posts
Re: Classic ASP not running
Apr 16, 2012 01:20 PM|LINK
This is present:
<add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" />
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" />
Lloydz
2335 Posts
Microsoft
Re: Classic ASP not running
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
http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis/
The tracing log may provide some clues on this issue.
Thanks.