This is a migrated thread and some comments may be shown as answers.

WebResource.axd Exceptions

1 Answer 168 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dick
Top achievements
Rank 1
Dick asked on 30 Nov 2011, 09:39 AM

Our webapplication throws multiple exceptions at every request.

System.Web.HttpException (0x80004005): This is an invalid webresource request.
at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


The application is installed on a Windows 2008 Server with IIS7.

  <system.web>
      <siteMap defaultProvider="InPageSiteMap">
          <providers>
              <clear/>
              <add name="InPageSiteMap" type="Wervis.Business.Services.InPage.InPageStaticSiteMapProvider"/>
          </providers>
      </siteMap>
  <customErrors mode="Off" defaultRedirect="~/Error">
    <error statusCode="404" redirect="~/NotFound"/>
    <error statusCode="500" redirect="~/Error"/>
  </customErrors>
      <compilation debug="true" targetFramework="4.0">
          <assemblies>
              <add assembly="Telerik.Web.UI"/>
              <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
              <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
              <add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
              <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
              <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>
      </compilation>
      <authorization>
          <allow users="*"/>
      </authorization>
 
      <pages maintainScrollPositionOnPostBack="true">
          <controls>
              <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
              <add tagPrefix="Wervis" namespace="Wervis.InPage.Web.Controls" assembly="Wervis.InPage.Web.Controls"/>
              <add tagPrefix="EventOn" namespace="EventOn.Controls.Event" assembly="EventOn.Controls.Event"/>
          </controls>
      </pages>
  <!-- Start offline, used by IIS6 --><!--
      <httpHandlers>
          <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="true"/>
          <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
          <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>
      <httpModules>
          <add name="Wervis.HttpModule.InPage" type="Wervis.HttpModule.InPage.Rewriter,Wervis.HttpModule.InPage"/>
          <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
      </httpModules>
  --><!-- End offline, used by IIS6 -->
   
      <webServices >
          <protocols >
              <add name="HttpGet" />
          </protocols >
      </webServices>
      <httpRuntime useFullyQualifiedRedirectUrl="false" maxRequestLength="40960" executionTimeout="45" />
  </system.web>
 
<!-- Used by IIS7 -->
  <system.webServer>
      <validation validateIntegratedModeConfiguration="true"/>
      <modules>
          <remove name="RadUploadModule"/>
    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/>
          <remove name="RadCompression"/>
    <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode"/>
    <add name="Wervis.HttpModule.InPage" type="Wervis.HttpModule.InPage.Rewriter,Wervis.HttpModule.InPage" preCondition="integratedMode"/>       
      </modules>
      <handlers>
    <remove name="ScriptResource"/>
    <add name="ScriptResource" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode"  />
    <remove name="*_AppService.axd_"/>
    <add name="*_AppService.axd_*" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0"/>
    <remove name="*.asmx_*"/>
    <add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0"/>
 
    <remove name="ChartImage_axd"/>  
          <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/>
    <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
    <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/>
    <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
    <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/>
    <remove name="Telerik_RadUploadProgressHandler_ashx"/>
    <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/>
    <remove name="Telerik_Web_UI_WebResource_axd"/>
    <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>
      </handlers>
  </system.webServer>


We think the exceptions are related to the Telerik embedded resources. Can anyone help us to solve this problem?


1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Nov 2011, 10:05 AM
Hello Dick,

Take a look at the following help documentation.
General Troubleshooting

-Shinu.
Tags
General Discussions
Asked by
Dick
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or