Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

The WebResource.axd handler must be registered in the configuration

  Asked By: Fernando    Date: Jun 27    Category: Sharepoint    Views: 2478

I created a custom application in WSS V3 site and I'm session
variable in the that app. Since I received an error sayiny to add
EnableSessionState either in page directive or config file, I added
the following lines in application's web.config file

<httpHandlers>
<clear />
<add verb="*" path="*.aspx"
type="System.Web.UI.PageHandlerFactory, System.Web,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
</httpHandlers>

<trust level="Full" originUrl="" />

<httpModules>
<add name="Session"
type="System.Web.SessionState.SessionStateModule"/>
</httpModules>

<pages enableSessionState="true" enableViewState="true"
enableViewStateMac="true" validateRequest="false" />

But after adding this I received an error ssying that there are too
many session variable in one file. So I commented the <pages
enableSessionState="true ...... /> in web.config file. But after all
these when I try to run the app, I received again en error saying that

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>

What is the solution for this? I need to make this application
available soon. Please help me.

Share: 

 

No Answers Found. Be the First, To Post Answer.