v
Not logged inv
SearchAsk a QuestionReport an IssueMake a SuggestionMy Questions and Issues
KB Article
Find By ID

How to manually register a HttpHandler Module

Article Details

K18262
v2009 vol 2 and newer
10/25/2011
.NET (ASP.NET)
n/a

This article illustrates how to manually register a HttpHandler Module within a web.config file.

Solution

Manually register a HttpHandler Module if DevExpress web controls are created programmatically or integrated into the SharePoint page manually.

IIS (classic mode)

[XML]

<system.web>

   <httpHandlers>

     <add
type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
verb="GET"

     path="DX.ashx" validate="false" />

   </httpHandlers>

   <httpModules>

     <add
type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
name="ASPxHttpHandlerModule"/>

   </httpModules>

</system.web>

IIS7 (integrated mode)

[XML]

<system.web>

   <httpHandlers>

     <add
type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
verb="GET"

     path="DX.ashx" validate="false" />

   </httpHandlers>

   <httpModules>

     <add
type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
name="ASPxHttpHandlerModule"/>

   </httpModules>

</system.web>

<system.webServer>

   <validation validateIntegratedModeConfiguration="false" />

   <handlers>

     <add
type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
verb="GET" name="ASPxHttpHandlerModule"

     path="DX.ashx" preCondition="integratedMode" />

   </handlers>

   <modules>

     <add
type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
name="ASPxHttpHandlerModule"/>

   </modules>

</system.webServer>

Note, that the version of the ASPxHttpHandlerModule should correspond with the installation version.

See Also:
How to integrate a DevExpress web control into a SharePoint page

Do you have any comments? We are eager to hear them!

Average rating: 7.13 out of 9
8 people have rated this page
 
 
 
1
2
3
4
5
6
7
8
9
 
Post Your Vote (Login Required)
v
v
Search
Searching Tips