c# - issue with Telerik_Web_UI_WebResource_axd -
when run website, following error message
cannot add duplicate collection entry of type 'add' unique key attribute 'name' set 'telerik_web_ui_webresource_axd'
here 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 comment out handlers entry.. following error message...
'~/telerik.web.ui.webresource.axd' missing in web.config. radscriptmanager requires httphandler registration in web.config. please, use control smart tag add handler automatically, or see more information: controls > radscriptmanager
i total @ loss on how fix this. not know how use smart tag. have googled, looked so, looked telerik site , can not find solution where. not know if problem in web.config, virtual directory or where??? colleagues have same code base , web.config , works them.
edit here development machine setup...
windows 7 enterprise service pack 1 64 bit os
visual studio 2010 enterprise service pack 1 iis version 7.5
please help.
the problem wont in iis config; error message refers web.config file, that's going in .net
what happens if comment out httphandlers entry rather handlers ?
edit: after looking @ web.config file, thing can suggest changing format of 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"/> to:
<add name="telerik.web.ui.webresource" path="telerik.web.ui.webresource.axd" verb="*" type="telerik.web.ui.webresource, telerik.web.ui" /> and that's because that's telerik suggest best practice; if doesn't work i'm sorry i'm out of ideas tonight, please leave question open, perhaps better idea see in morning.
Comments
Post a Comment