在使用asp.net 2.0 ajax beta 2.0的时候发现这个脚步错误的提示。
问题出在iis的配置。
解决方案如下
1.打开iis,选择你得虚拟目录,右键选择属性。
2.选择 [虚拟目录],点配置按钮/
3.添加应用程序映射,
如下
可执行文件: "C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" .locate this file
扩展名: .axd
动作: 全部动作
脚本引擎: 选中
检查文件是否存在: 不选.
添加就OK了。问题解决。
下面是我找到的原文。
if you are using windows 2003 as web server then you'll face this "sys is undefined" error .to get rid of this weird problem follow the following steps
1)open IIS and right click on your web site virtual directory and then click properties
2)then on virtual directory tab click on configuration button
3)In mappings tab ,make configuration like this.
Executable: "C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" .locate this file
Extension: .axd
Verbs: All Verbs
Script Engine: checked
Check that file exists: do not check this .
本文介绍了解决ASP.NET 2.0 AJAX Beta 2.0中出现的“sisis undefined”脚本错误的方法。问题源于IIS配置不当,通过调整IIS设置中的应用程序映射可以有效解决该问题。
1849

被折叠的 条评论
为什么被折叠?



