Groups > Asp .Net > Visual Web Developer 2005 Express > Re: Selectively Enable or Disable ASP.NET Functionality in IIS




Selectively Enable or Disable ASP.NET Functionality in IIS

Selectively Enable or Disable ASP.NET Functionality in IIS
Sat, 29 Mar 2008 08:48:18 +000
I have Windows XP in the Media Center Edition, with a Pentium 4 running at 2.8
Ghz.

When I try to follow these instructions:

**********
Disable ASP.NET Functionality for a Virtual Server


 loadTOCNode(2, 'summary'); The following section describes how to disable
ASP.NET functionality for all of an IIS virtual server. 1.On the taskbar, click
start. Point to Settings and then click Control Panel. 2.Double-click to open
the Administrative Tools folder and then double-click to run Internet Services
Manager.3.Right-click the virtual server or the virtual folder and then click
Properties. 4.Select the Home Directory tab or the Directory tab. 5.If an
application has not been created for the virtual folder, click Create under
Application Settings.6.Under Application Settings, click Configuration.7.On the
Application Mappings tab, scroll through the Application Mappings list to
identify the extensions that are associated with the
%SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\Aspnet_isapi.dll.8.Select
each extension that is associated with Aspnet_isapi.dll and then click Remove. 

By default, the extensions that are associated with Aspnet_isapi.dll are: .ASAX,
.ASCX, .ASHX, .ASMX, .ASPX, .AXD, .VSDISCO, .REM, .SOAP, .CONFIG, .CS, .CSPROJ,
.VB, .VBPROJ, .WEBINFO, .LICX, .RESX, and .RESOURCES.9.Click OK until you return
to Internet Services Manager and then close Internet Services Manager.Note If
you remove the application mappings that are associated with ASP.NET, this makes
ASP.NET not available for a virtual server. Any files that are typically
associated with the standard ASP.NET file extensions will not be processed by
the Web server when requested by a client. The files are sent directly to the
client. When you store ASP.NET files on a virtual server with ASP.NET disabled,
clients may be able to view source code and to view configuration information.

*******

I find that I am unable to locate the Internet Services Manager. Apparently I
need this to disable the axd web resources, per the following instructions: 

In the site (or application) configuration IIS, the ".axd" extension
should be mapped to the ASP.NET ISAPI.  The property for "Verify if file
exists" needs to be un-checked because certain "auto-generated"
.axd handlers do not physically exist.  Instead, they are generated by the
ASP.NET engine.

Am I limited by my machine?

How do I solve this problem?
Post Reply
Re: Selectively Enable or Disable ASP.NET Functionality in IIS
Sat, 29 Mar 2008 12:06:22 +000
IIS help is at www.iis.net, same login as here.

Jeff
Post Reply
about | contact