'系统未定义'错误 [英] 'Sys is undefined ' error

查看:139
本文介绍了'系统未定义'错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

网站工作正常本地但在服务器上我遇到以下错误。

*系统未定义

* ASP.NET Ajax客户端框架无法加载



i我正在使用: -

Ajax Toolkit版本:

产品版本是3.0.30512.1

汇编版本是3.0.30512.20315



Visual Studio是Microsoft visual studio premium 2012

framwork版本是4.5.50709



请帮助!!

Website is working Ok on local but on server i am getting following errors.
* Sys is undefined
* ASP.NET Ajax client-side framework failed to load

i am using:-
Ajax Toolkit version:
Product version is 3.0.30512.1
Assembly version is 3.0.30512.20315

Visual Studio is Microsoft visual studio premium 2012
framwork version is 4.5.50709

Please help!!

推荐答案

试试这个



http://balajiramesh.wordpress.com/2008/ 08/14 / sys-is-undefined-aspnet-ajax-error / [ ^ ]


这是你的web.config问题:

尝试在system.web中添加以下内容标签



This is your web.config issue:
Try Adding the following in the system.web tag

<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="GET" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler" validate="false" />
</httphandlers>





或点击链接:

sys-is-undefined



希望有帮助:)



OR follow the link:
sys-is-undefined

Hope it helps :)


这可能是因为网页配置不正确。您可以手动下载并在项目中包含ajax工具包。但有一种简单的方法来安装它。检查从NuGet安装Ajax控件工具包 [< a href =http://stephenwalther.com/archive/2011/05/23/install-the-ajax-control-toolkit-from-nugettarget =_ blanktitle =New Window> ^ ]博客文章。

您可以使用Nuget包管理器来安装工具包,它将对您进行配置更改。
This may be due to incorrect web config. You may have manually download and include ajax toolkit to your project. But there is a easy way to install it. check Install the Ajax Control Toolkit from NuGet[^] blog post.
You can use Nuget package manager to install the toolkit and it will do the configuration changes to you.


这篇关于'系统未定义'错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆