I get the error:
Cannot add duplicate collection entry of type add with unique key attribute name set to Telerik_Web_UI_WebResource_axd
While trying to deploy my application. It works fine when I run it on my machine though:
The box I'm trying to deploy it on is iis7.5/Windows Server 2008 if that helps. Here are the offending lines of code from my web.config. if I comment them out the app runs, but the asyncupload control isn't visible.
<system.web>
<httpHandlers>
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
</httpHandlers>
</system.web>
<system.webServer>
<defaultDocument>
<files>
<clear/>
<add value="pcHome.aspx" />
</files>
</defaultDocument>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<!--<add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" />
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />-->
</handlers>
</system.webServer>
Cannot add duplicate collection entry of type add with unique key attribute name set to Telerik_Web_UI_WebResource_axd
While trying to deploy my application. It works fine when I run it on my machine though:
The box I'm trying to deploy it on is iis7.5/Windows Server 2008 if that helps. Here are the offending lines of code from my web.config. if I comment them out the app runs, but the asyncupload control isn't visible.
<system.web>
<httpHandlers>
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
</httpHandlers>
</system.web>
<system.webServer>
<defaultDocument>
<files>
<clear/>
<add value="pcHome.aspx" />
</files>
</defaultDocument>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<!--<add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" />
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />-->
</handlers>
</system.webServer>