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

web.config registration missing

5 Answers 228 Views
Editor
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 17 Jun 2008, 09:57 PM
Hi All,
I'm working on a project where it is neccessary to deploy the Asp.Net Ajax Rad Editor onto SharePoint.  I've got the control running fine on an aspx page within my SharePoint app, but I am having a problem getting the dialogs (which are a really cool feature) to work properly.  The error is saying that I haven't registered the HttpHandler in the web.config, but I have followed every step in the documentation.  Here is the HttpHandler code in my web.config file.  Any suggestions to get this running would be very appreciated.

John P.

<

httpHandlers>

<

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

<

remove verb="GET,HEAD,POST" path="*"/>

<

add verb="GET,HEAD,POST" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/>

<
add verb="OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/>

<

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

<

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 verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>

<!--

Add event handler for RadEditor-->

<

add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.1.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>

<

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

</

httpHandlers>


5 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 18 Jun 2008, 03:12 PM
Hello John ,

Do you experience the same error as the one attached to this post? If this is so, you can fix the problem by checking what file exactly is missing - in the case that I describe it is the Telerik.Web.UI.DialogHandler.aspx (it can be seen in the error message behind the alert) and creating such file in the appropriate folder. Add the following content to it (make sure that the version matches yours):
<%@ Page Language="C#" Inherits="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.01.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %> 
and save the file.

I hope this helps. We are still not quite sure what exactly is causing this problem so we will continue the investigation on our side and once we find a solution, we will provide a fix right away.



Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
John
Top achievements
Rank 1
answered on 18 Jun 2008, 04:29 PM
Hi Georgi,
Thanks for the quick response.  Unfortunatley my error is not the same.  It just states that the web.config registration is missing and then says the page cannot be found. 

Is there anything in my web.config that could be preventing these dialogs from registering?  I'm thinking it could also be an issue because I'm hosting my aspx page in SharePoint.

So we are clear, what I've done so far is design an aspx page where I have the rad editor as a control on the page.  I've registered the rad editor dialogs in teh web.config with the entries i specified above.  I need two dialogs to work: the templates dialog and the table wizard.  I don't care about the rest.  Is there some additional work I need to do to get these to register?

Any feedback is appreciated.

Thanks,
John P.
0
George
Telerik team
answered on 19 Jun 2008, 01:52 PM
Hi John,

Could you please open a support ticket and send us a screenshot of the problem, along with the complete error details (please set debug and callstack values to true in the Web.Config )?


Best regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Qais
Top achievements
Rank 1
answered on 12 Aug 2008, 10:25 PM
I'm having the same problem as this user. Was there a resolution?

Details:
1. I'm using a trial version of your software.
2. I developed an ASP.Net app and included the RADEditor control.
3. The control works fine in the development environment.
4. I migrated the ASP.Net application to a Sharepoint (MOSS 2007) site.
5. I copied over all the web.config settings for the RADEditor including the HTTPHandler entries the other user listed above.
6. The control works fine except for when clicking the dialog boxes I get the error "Web.config Registration Missing. HTTPHandler not regestered..."
7. My application is running in .NET 3.5 and IIS 6.0.

Could you please provide some help. We are evaluating this software. If we cannot get this to work, we will have to go another route.

Thanks you,
Qais
0
George
Telerik team
answered on 14 Aug 2008, 10:41 AM
Hi Qais,

Please open a support ticket and send us some a screenshots of the problem, along with the complete error details. We will examine them and do our best to provide a solution.


Sincerely,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
John
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
John
Top achievements
Rank 1
George
Telerik team
Qais
Top achievements
Rank 1
Share this question
or