aspnet_isapi.dll是专门用于处理ASP。NET的解释器。
asp_isapi.dll才是处理ASP的。
在。NET项目中可以包含ASP页,但它们系统是调用不同的解释器在处理的。

解决方案 »

  1.   

    好象IIS是根据扩展名来调用aspnet_isapi.dll所以可以将扩展名改改就可以了
      

  2.   

    你要能写aspnet_isapi.dll这个ISAPI就可以解释ASP啦
      

  3.   

    没有个象样点的答案么?
    我知道不能处理现在希望的是解决方法。。我完全可以 在HTTPHANDLER里处理 ASP 文件 但是我需要一个例子 有些东西没法弄
      

  4.   

    你是想用ASP.NET的机制来限制ASP页面的访问权限用吗? 试试配置IIS Metabase吧
    以下是摘自"Essential ASP.NET"一书第361页
    One final note on ASP.NET authentication to keep in mind is that ASP.NET can enforce authorization and authentication only when requests are dispatched to the ASP.NET worker process. This means that if you create an authorization scheme for your application using ASP.NET's configuration files, and a user requests a plain .htm file or .gif file, the ASP.NET authentication is not consulted, and whatever settings IIS has for your virtual directory are applied (typically granting anonymous access). The only work-around for this now is to route all file requests to the ASP.Net worker process by configuring the IIS metabase to use the aspnet_isapi.dll ISAPI extension as the handler for all Web file types (.htm, .gif, .jpg, and so on). Keep in mind, however, that this also slows down access to these file types for your application.