仮想ディレクトリがあります(アプリケーションとして構成されています)。存在するすべてのファイルの要求を受け付けますが、ハンドラー(system.web/httpHandlers)は呼び出されません。IIS 6 ASP.NETハンドラが仮想アプリケーションで動作しない
アイデア?
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add verb="GET" path="*.smjs" type="SmartMax.SightMax.AgentInterface.JSHandler, SmartMax.SightMax.AgentInterface, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b9f7c69b7e2ca2dc"/>
<add verb="GET" path="*.smgif" type="SmartMax.SightMax.AgentInterface.GifHandler, SmartMax.SightMax.AgentInterface, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b9f7c69b7e2ca2dc"/>
</httpHandlers>
これはアプリケーションが使用するURLです。 IIS6で
http://www.datalineonline.com/SightMaxAgentInterface/chat.smgif?accountID=1&siteID=1&queueID=2
だから、他の.NETコンポーネントは、ASPX/ascxファイルのように、仕事ASP.NETするすべての要求をマッピングすることができますか? – Vadim
はい、他のものは動作しますが、httpハンドラ(.smgifなどのカスタム拡張があります)を除いて動作します。 –