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

[Solved] Dialog handler registration problem

1 Answer 233 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Darren166
Top achievements
Rank 1
Darren166 asked on 12 Mar 2008, 11:53 PM
Hi,

I have installed a hotfix I was given to solve a problem with treeview (2007.3.1428) and now my dialog handler registration in web.config is no longer recognised.  I have erased the previous handler and used the smart tag to add it again and although the spellcheck handler works ok, the dialog handler does not.  It gives the message that the registration is missing.

Please help as this is very urgent!

Darren.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Mar 2008, 11:08 AM
Hi Darren,

If your project is compiled against the .NET 3.5 version then copy the files from the bin35 installation folder in the bin folder of your project and add the red marked tag in your web.config file:

      <httpHandlers>
        <remove path="*.asmx" verb="*" />
        <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
          validate="false" />
        <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
          validate="false" />
        <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
          validate="false" />
        <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2007.3.1428.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
          validate="false" />

        <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2007.3.1428.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
          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>

If your project is compiled against the .NET 2.0 version, copy the files from the bin installation folder to the bin folder of your project and add the green marked tag in your web.config file:

    <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="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2007.3.1428.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        validate="false" />

      <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2007.3.1428.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        validate="false" />
    </httpHandlers>

If you still experience any problems, please, open a support ticket and send a sample runnable project that demonstrates the problem. We will examine it and provide a solution.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Darren166
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or