问题与Telerik_Web_UI_WebResource_axd [英] issue with Telerik_Web_UI_WebResource_axd

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

问题描述

当我跑我的网站,我收到以下错误消息

When I run my website, I get the following error message

无法添加类型的重复的集合进入添加以独特的键属性名称设置为Telerik_Web_UI_WebResource_axd

下面是web.config文件中的内容...

Here are the contents of web.config...

    <httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
    </httpHandlers>


  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <validation validateIntegratedModeConfiguration="false"/>
    <handlers>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
    </handlers>
  </system.webServer>

如果我注释掉的处理程序入口。我得到以下错误信息......

If I comment out the handlers entry.. I get the following error message...

〜/ Telerik.Web.UI.WebResource.axd缺少在web.config中。 RadScriptManager需要在web.config中一个HttpHandler的注册。请使用控制智能标记自动添加的处理程序,或查看更多的帮助信息:控件> RadScriptManager

我在就如何解决这方面的损失总额。我不知道如何使用智能标记。我用Google搜索,看着SO,看着Telerik的网站并不能找到解决任何地方。我不知道问题出在我的web.config,虚拟目录或哪里?我的同事有相同的code群和web.config文件,并为他们工作。

I am total at loss on how to fix this. I do not know how to use Smart Tag. I have googled, looked into SO, looked into Telerik site and can not find solution any where. I do not know if the problem is in my web.config, Virtual directory or where??? My colleagues have the same code base and web.config and it works for them.

修改
这里是我的机器设置...

EDIT Here is my development machine setup...

Windows 7企业版Service Pack 1的64位操作系统

Windows 7 Enterprise Service Pack 1 64 bit OS

Visual Studio 2010的企业Service Pack 1的IIS 7.5版

Visual Studio 2010 Enterprise Service pack 1 IIS version 7.5

请帮忙。

推荐答案

问题的不会的是在IIS配置;作为错误信息专指一个Web.config文件,所以这将是在.net中

The problem wont be in the IIS config; as the error message specifically refers to a Web.config file, so that's going to be in .Net

如果您注释掉HttpHandlers的进入而发生什么,然后处理程序?

What happens if you comment out the httpHandlers entry rather then handlers ?

编辑:看你的web.config文件后,从

After looking at your web.config file, the only thing I can suggest is changing the format of the system.webServer.handlers.add part from

<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>

<add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />

这是因为这是Telerik的建议是最好的做法;如果不工作,那么我很抱歉,但我的想法,今晚,但请没有解决这一问题,也许有人有更好的主意会看到它是在早晨。

And that's because that's what Telerik suggest to be the best practice; If that doesn't work then I'm sorry but I'm out of ideas tonight, but please leave the question open, perhaps someone with a better idea will see it in the morning.

这篇关于问题与Telerik_Web_UI_WebResource_axd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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