Solved

HELP! How can I correct this error: The WebResource.axd handler must be registered in the configuration to process this request.

Posted on 2008-10-19
20
5,231 Views
Last Modified: 2013-12-17
The WebResource.axd handler must be registExperts
Im new to ASP.NET 3.5 and desperately need some help!
My setup:
1.       Vista 64
2.       VWD 2008
3.       SQL express 2008
4.       ASP.NET 3.5
5.       IIS 7
The error:
The WebResource.axd handler must be registered in the configuration to process this request.
<!-- Web.Config Configuration File -->

<configuration>
   <system.web>
       <httpHandlers>
           <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
       </httpHandlers>
   </system.web>
</configuration>

I found many post with this issue but none pertained to me. I get this error when I add a (AJAX ScriptManager) to utilize the AJAX update panel. If I remove it, it works. The weird thing is the everything works when I run it in VWD. Please attached complete error message. Thank you in advance, your help is REALLY appreciated!  
ered in the configuration to process this request.
Server Error in '/Sams35' Application.

--------------------------------------------------------------------------------
 

The WebResource.axd handler must be registered in the configuration to process this request.
 

<!-- Web.Config Configuration File -->
 

<configuration>

   <system.web>

       <httpHandlers>

           <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />

       </httpHandlers>

   </system.web>

</configuration> 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
 

Exception Details: System.InvalidOperationException: The WebResource.axd handler must be registered in the configuration to process this request.
 

<!-- Web.Config Configuration File -->
 

<configuration>

   <system.web>

       <httpHandlers>

           <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />

       </httpHandlers>

   </system.web>

</configuration>
 

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
 

Stack Trace: 
 
 

[InvalidOperationException: The WebResource.axd handler must be registered in the configuration to process this request.
 

<!-- Web.Config Configuration File -->
 

<configuration>

    <system.web>

        <httpHandlers>

            <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />

        </httpHandlers>

    </system.web>

</configuration>]

   System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrlInternal(Assembly assembly, String resourceName, Boolean htmlEncoded) +10828801

   System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrl(Type type, String resourceName, Boolean htmlEncoded) +364

   System.Web.UI.ClientScriptManager.RenderWebFormsScript(HtmlTextWriter writer) +77

   System.Web.UI.Page.BeginFormRender(HtmlTextWriter writer, String formUniqueID) +1826

   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +75

   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87

   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53

   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240

   System.Web.UI.Page.Render(HtmlTextWriter writer) +38

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240
 

 
 
 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

Open in new window

0
Comment
Question by:Bradino
  • 13
  • 4
  • 3
20 Comments
 
LVL 5

Expert Comment

by:varungd
ID: 22755304
Try this in webconfig instead of your httpHandlers code.....

 

<httpHandlers>

      <remove path="*.asmx" verb="*" />

      <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

          validate="false" />

      <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

          validate="false" />

      <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

          validate="false" />

      <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

          validate="false" />

  </httpHandlers>

		<httpModules>

			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

		</httpModules>

  </system.web>

Open in new window

0
 

Author Comment

by:Bradino
ID: 22755637
Varunqd,

Thank you for your reply, I tried your suggestion but no luck. This was what I had in my web.config <httpHandlers>, I get the same error.

<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="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</httpModules>
0
 
LVL 5

Expert Comment

by:varungd
ID: 22755684
Try this in webconfig

<add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode" />

Open in new window

0
 
LVL 5

Expert Comment

by:varungd
ID: 22755705
If that is showing the same error then use this code inside the
httpHandlers

<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True"/>

Open in new window

0
 
LVL 12

Expert Comment

by:ShazbotOK
ID: 22757048
More of a "being diligent" question... have you checked the properties of your IIS virtual directory to be sure that it is set to use the ASP.NET 3.5 framework?
To run AXD files appropriatly the Virtual Directory IIS at the very least must be on 2.x
 

aspnet-setting.bmp
0
 

Author Comment

by:Bradino
ID: 22760637
Varungd,

I will try your suggestion as son as I get home.

ShazbotOK,

I will also verify that I'm using the ASP.NET 3.5 framework.

Thank both for you response!
0
 

Author Comment

by:Bradino
ID: 22760857
In my application property it show Target Framework 3.5, but I IIS 7 application pools dont see .NET Framework Version 3.5. I downloaded and install Microsoft .NET Framework 3.5 Service Pack 1 I would assume .NET 3.5 would be in my application pools. I tried adding the new application Pool, but there was no options for 3.5, what do I need to do?

THANK YOU!

IIS-applicationPools.gif
application-PropertyPage.gif
addApplicationPool.gif
0
 

Author Comment

by:Bradino
ID: 22761945
ShazbotOK,

I just found a great article that explain my previous post. Here is the URL for any else who having the same problem http://www.west-wind.com/WebLog/ShowPost.aspx?id=289139. I'm open to any other suggestion you may have.

thank you
0
 

Author Comment

by:Bradino
ID: 22762633
varungd,

I added your first snipped got the same error, then add the second snipped in conjunction with the first snipped in the <httpHandlers> of the web.config but no luck. Please let me know if you have any other ideas. Thank you very much!
<add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode" />
 

and
 

<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True"/>

Open in new window

0
 
LVL 5

Assisted Solution

by:varungd
varungd earned 100 total points
ID: 22764385
Try all this once again....
 

<httpHandlers>

      <remove path="*.asmx" verb="*" />

      <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

          validate="false" />

      <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

          validate="false" />

      <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

          validate="false" />

      <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

          validate="false" />

	<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True"/>
 
 

		</httpHandlers>

		<httpModules>

			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

		</httpModules>

Open in new window

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:Bradino
ID: 22764869
varungd,

Thank you, but no luck. I'm open to any other suggestions.
0
 
LVL 12

Expert Comment

by:ShazbotOK
ID: 22766633
Are you attempting to use AJAX in your web app? if so you may be missing those settings in your config file:
 

<?xml version="1.0"?><configuration>

	<configSections>

		<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

			<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

				<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>

				<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

					<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>

					<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>

					<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>

				</sectionGroup>

			</sectionGroup>

		</sectionGroup>

 </configSections>

  

    <system.web>

        <!-- 

            Set compilation debug="true" to insert debugging 

            symbols into the compiled page. Because this 

            affects performance, set this value to true only 

            during development.

        -->

        <compilation debug="true">

			<assemblies>

				<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

			</assemblies>

		</compilation>

		<httpHandlers>

			<remove verb="*" path="*.asmx"/>

			<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

			<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

		</httpHandlers>

		<httpModules>

			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

		</httpModules>

		<!--

            The <authentication> section enables configuration 

            of the security authentication mode used by 

            ASP.NET to identify an incoming user. 

        -->

        <authentication mode="Windows"/>

		<authorization />

        <!--

            The <customErrors> section enables configuration 

            of what to do if/when an unhandled error occurs 

            during the execution of a request. Specifically, 

            it enables developers to configure html error pages 

            to be displayed in place of a error stack trace.
 

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

            <error statusCode="403" redirect="NoAccess.htm" />

            <error statusCode="404" redirect="FileNotFound.htm" />

        </customErrors>

        -->

		<customErrors mode="Off" />

    </system.web>

</configuration>

Open in new window

0
 

Author Comment

by:Bradino
ID: 22769155
ShazbotOK,

yes, I'm want to use the AJAX update panel. I tried your suggestion but no luck... I notice that your snipped is utilizing version 1.0.61025.0, I didn't install this version of AJAX. I installed ASP.NET 3.5 and AJAX is built-into this version as I understand it. Could be be the problem?
0
 

Author Comment

by:Bradino
ID: 22769175
Calling all ASP.NET experts I need your HELP! I've up the points the maximum allowed and willing to donate. I really need to get this to work.

any takers?
0
 

Author Comment

by:Bradino
ID: 22769723
Ive simplified my code please see the attached code, I hope this helps.
<%@ Page Language="C#" %>
 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 

<script runat="server">

    protected void Page_Load(object sender, EventArgs e)

    {

        Label1.Text = "Hello: " + TextBox1.Text;

    }

</script>
 

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title></title>

</head>

<body>

    <form id="form1" runat="server">

    <div>    

        <asp:ScriptManager ID="ScriptManager1" runat="server">

        </asp:ScriptManager>

        <br />

        <asp:UpdatePanel ID="UpdatePanel1" runat="server">

            <ContentTemplate>

                <asp:TextBox ID="TextBox1" runat="server" />

                <br />

                <br />

                <asp:Button ID="Button1" runat="server" Text="Button" />

                <br />

                <br />

                <asp:Label ID="Label1" runat="server" Text="Label" />

            </ContentTemplate>

        </asp:UpdatePanel>

    

    </div>

    </form>

</body>

</html>

Open in new window

0
 

Author Comment

by:Bradino
ID: 22769836
Here is the complete web.config file for the previous default.apsx page.
<?xml version="1.0"?>
 

<configuration>

	<configSections>

		<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

			<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

				<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

				<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

					<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>

					<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

					<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

					<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

				</sectionGroup>

			</sectionGroup>

		</sectionGroup>

	</configSections>

	<appSettings/>

	<connectionStrings/>

	<system.web>
 

		<compilation debug="true">

			<assemblies>

				<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

				<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

				<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

				<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

			</assemblies>

		</compilation>

		

		<pages>

			<controls>

				<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

				<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

			</controls>

		</pages>

		<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="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

		</httpHandlers>

		<httpModules>

			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

		</httpModules>

	</system.web>

	<system.codedom>

		<compilers>

			<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

				<providerOption name="CompilerVersion" value="v3.5"/>

				<providerOption name="WarnAsError" value="false"/>

			</compiler>

			<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

				<providerOption name="CompilerVersion" value="v3.5"/>

				<providerOption name="OptionInfer" value="true"/>

				<providerOption name="WarnAsError" value="false"/>

			</compiler>

		</compilers>

	</system.codedom>

	

	<system.webServer>

		<validation validateIntegratedModeConfiguration="false"/>

		<modules>

			<remove name="ScriptModule"/>

			<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

		</modules>

		<handlers>

			<remove name="WebServiceHandlerFactory-Integrated"/>

			<remove name="ScriptHandlerFactory"/>

			<remove name="ScriptHandlerFactoryAppServices"/>

			<remove name="ScriptResource"/>

			<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

			<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

			<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

		</handlers>

	</system.webServer>

	<runtime>

		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

			<dependentAssembly>

				<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>

				<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

			</dependentAssembly>

			<dependentAssembly>

				<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>

				<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>

			</dependentAssembly>

		</assemblyBinding>

	</runtime>

</configuration>

Open in new window

0
 

Author Comment

by:Bradino
ID: 22770142
Here is the complete error with Stack Trace.
Server Error in '/WebSite3' Application.

--------------------------------------------------------------------------------
 

The WebResource.axd handler must be registered in the configuration to process this request.
 

<!-- Web.Config Configuration File -->
 

<configuration>

   <system.web>

       <httpHandlers>

           <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />

       </httpHandlers>

   </system.web>

</configuration> 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
 

Exception Details: System.InvalidOperationException: The WebResource.axd handler must be registered in the configuration to process this request.
 

<!-- Web.Config Configuration File -->
 

<configuration>

   <system.web>

       <httpHandlers>

           <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />

       </httpHandlers>

   </system.web>

</configuration>
 

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
 

Stack Trace: 
 
 

[InvalidOperationException: The WebResource.axd handler must be registered in the configuration to process this request.
 

<!-- Web.Config Configuration File -->
 

<configuration>

    <system.web>

        <httpHandlers>

            <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />

        </httpHandlers>

    </system.web>

</configuration>]

   System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrlInternal(Assembly assembly, String resourceName, Boolean htmlEncoded) +8547822

   System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrl(Type type, String resourceName, Boolean htmlEncoded) +296

   System.Web.UI.ClientScriptManager.GetWebResourceUrl(Page owner, Type type, String resourceName, Boolean htmlEncoded) +82

   System.Web.UI.ClientScriptManager.RenderWebFormsScript(HtmlTextWriter writer) +58

   System.Web.UI.Page.RenderWebFormsScript(HtmlTextWriter writer) +26

   System.Web.UI.Page.BeginFormRender(HtmlTextWriter writer, String formUniqueID) +387

   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +54

   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32

   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51

   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27

   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99

   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40

   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134

   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19

   System.Web.UI.Page.Render(HtmlTextWriter writer) +29

   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27

   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99

   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 

Open in new window

0
 
LVL 12

Assisted Solution

by:ShazbotOK
ShazbotOK earned 100 total points
ID: 22771652
Brandino..
All my resources point to a bad install of the 3.5 framework try installing 3.5 sp1 and reboot.
If SP1 is installed then try a re-install.
0
 

Author Comment

by:Bradino
ID: 22772033
ShazbotOK,

I just uninstalled and reinstalled asp.NET SP1 and got the same error. I had issue when ASP.NET 2.0 first rolled out; I threw in the towel because I couldnt setup a working development environment.  I thought ASP.NET 3.5 would work right out of the box, boy am I wrong. Im determine and dont plan to quit this time.  I open to ANY suggestions anyone may have.
0
 

Accepted Solution

by:
Bradino earned 0 total points
ID: 22772192
Thank all the responded, I found the solution at http://forums.asp.net/t/1155043.aspx.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now