1. Create a new registry key under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\ASP.NET AJAX
1.0.61025 (在 注册表的HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders中创建目录ASP.NET AJAX 1.0.61025)
2. Set the default value of the key to the directory in Program Files that contains
the assembly. The value may not use environment variables such as %Program Files%.
It must use the physical drive letter and location. For example, on the default
C: drive installation, the directory is:
3. Select the Web site to work with and edit its properties. (在IIS中选择站点选择属性)
4. On the Home Directory tab, click Configuration....(点击配置)
5. In the Application Configuration dialog box, click Add. (在应用配置选项卡中选择增加)
6. In the Add/Edit Application Extension Mapping dialog box, add the .asbx extension and in the Executable box,browse to and select the aspnet_isapi.dll (in the .NET Framework installation directory for ASP.NET - you should be able to look at the mapping for the .aspx extension as an example).(增加.asbx,路径选择aspnet_isapi.dll,详细参考.aspx的配置)