Error: To prevent possible lost...

2 posts, 0 answers
  1. Alexandre
    Alexandre avatar
    10 posts
    Member since:
    May 2009

    Posted 14 Sep 2009 Link to this post

    Hi guys, I'm very new user of Telerik components and I'm reading Open Access Tutorial and I have some questions, I develop solucition describe in item 4.4 - Telerik Reporting Example, but when I try to get a Preview of the report I receive the error message: ]

    An error has ocurred  while processing Report ":
    The 'openaccess' section cannot be found in the application's configuration file.

    But this sectino existes in App.config file like bellow:

    <openaccess xmlns="">
          <reference assemblyname="Model" configrequired="True" />
          <connection id="NorthwindConnection">
          <backendconfiguration id="mssqlConfiguration" backend="mssql">
        <mappings current="mssqlMapping">
          <mapping id="mssqlMapping" />

    So I try to open the exemple made by Telerik but Visual Studio 2008 can't preview the Report and give me message:

    To prevent possible data loss before loading the designer, the following erros must be solved:
    Value cannot be null. Parameter name: instance

    Can anyone help me?

  2. PetarP
    PetarP avatar
    754 posts

    Posted 17 Sep 2009 Link to this post

    Hello Alexandre,

    Is it possible that one of your referenced assembly is missing the OpenAccess node in its configuration file? For example if you have an assembly that hold your persistent classes and another assembly that holds the reports and only the assembly holding the records is configured this might rise an exception. If that is not the case can you please provide us with some additional information on your setup so that we can reproduce the problem here locally. We are looking forward for your replay.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top