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

Error Msg on Opening APSX with Report Viewer

4 Answers 162 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 23 Oct 2008, 07:04 PM
In an ASP.NET 2.0 web (web site) application in C#, VS 2005, whenever I open an  aspx, which contains the Teleric Q2 2008 report control, in design mode I receive the error below.

"The ReportViewer control failed to setup the http handler in the web.config file.  You may experience troubles when viewing the report. 
Exception details:  This document already has a 'DocumentElement' node."

This is the line I inserted into the web.config file (it was copied out of the chm documentation.).

      <add verb="*" path="Telerik.ReportViewer.axd" type = "Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=2.8.8.925, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />

Does anyone know what  is the problem here and the fix for it?

Many thanks
Mike Thomas

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 24 Oct 2008, 09:04 AM
Hi Mike,

This is the first time we see this error and we believe it might be caused by a corrupted web.config file. Can you delete/rename it and use the "Add new Item" dialog to add a brand new web.config file and try again? If the problem persists, we would like to see your web.config file and aspx page.

Regards,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Daniel
Top achievements
Rank 1
answered on 31 Oct 2008, 05:10 PM
I'm having the same problem.  I'm using VB in VS 2005.
0
Steve
Telerik team
answered on 03 Nov 2008, 10:06 AM
Hello Daniel,

As you can see from our previous reply, we have not been able to replicate this error on our end and any directions in doing so would be highly appreciated. Did you try the suggestion from the previous post and did that solve the problem? Is the problem only a "design" time issue or you're having problem with the reportviewer in runtime as well?

Regards,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Steve
Telerik team
answered on 04 Nov 2008, 01:55 PM
Hi guys,

This is just a quick follow up, since we've found out the cause for the error message. Please review the following KB article for more info and solution: This document already has a 'DocumentElement' node exception.

All the best,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Steve
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or