What is KnownResourceXmlResolver.GetEntity?

4 posts, 0 answers
  1. Dan
    Dan avatar
    15 posts
    Member since:
    Jul 2010

    Posted 03 Feb 2013 Link to this post

    I have a telerik report that uses a datatable as its datasource. Whenever I run the telerik report In Visual Studio 2010 I see the following in the immediate window:

    KnownResourceXmlResolver.GetEntity: '/' no entity available!

    This messages comes up hundreds of times when rendering the Telerik report.

    What is this message and how can I fix it?

    Project Details
    Telerik Reporting
    .NET Framework 4
    Visual Studio 2010
  2. Massimiliano Bassili
    Massimiliano Bassili avatar
    323 posts
    Member since:
    May 2006

    Posted 05 Feb 2013 Link to this post

    More info is needed, according to http://msdn.microsoft.com/en-us/library/system.xml.xmlresolver.getentity.aspx most likely there is an incomplete/wrong uri somewhere. I for one am not getting such a message, can you provide a small project? What technology are you using?
  3. Wes
    Wes avatar
    1 posts
    Member since:
    Mar 2013

    Posted 17 Jan 2015 in reply to Dan Link to this post

    This happened to me and it seemed that the cause was using HtmlTextBox on the report to show a simple bit of text. If I removed all HtmlTextBox instances on the report, the warning goes away.  Will be showing the same text in a TextBox instead.
    My guess is HtmlTextBox wants a uri to some html in the resources?
  4. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 21 Jan 2015 in reply to Wes Link to this post

    Hi Wes,

    Does this happen with any HtmlTextBox content and any type of project, because I'm not able to get this error.
    Maybe you can provide a sample project with the issue.
Back to Top