`
isiqi
  • 浏览: 16035926 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

"Sys is undefined" Sys 未定义错误解决方法

阅读更多
网上购物想当当!

在使用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 .

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics