openAccessConfiguration section in the web.config file

6 posts, 1 answers
  1. Andrew
    Andrew avatar
    8 posts
    Member since:
    Jan 2013

    Posted 13 Feb 2014 Link to this post

    In my project I'd like to turn logging on for debugging purposes, but make sure it's off when I move to production. I'm trying to configure Data Access to get its logging configuration from the web.config file as described in this page:

    http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/managing-the-openaccesscontext/data-access-tasks-model-tools-configure-backend-object

    However, I don't see any description as to what fields and attributes I can use in the <openAccessConfiguration> section. I'm sure they all map back to the fields in the model settings dialog, but it would be much easier with a reference page in the documentation. Can you point me in the right direction to a reference for this configuration section?

    Thanks.
  2. Answer
    Boris Georgiev
    Admin
    Boris Georgiev avatar
    190 posts

    Posted 14 Feb 2014 Link to this post

    Hello Andrew,

    For more information about the attributes that you can use in the web.config, please refer to this article.

    I hope that helps. Please do not hesitate to get back to us if any questions arise. 

    Regards,
    Boris Georgiev
    Telerik
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
  3. DevCraft banner
  4. Andrew
    Andrew avatar
    8 posts
    Member since:
    Jan 2013

    Posted 14 Feb 2014 Link to this post

    Perfect! It would be helpful to link to that page in the previous one I linked to.

    Thanks.
  5. Boris Georgiev
    Admin
    Boris Georgiev avatar
    190 posts

    Posted 17 Feb 2014 Link to this post

    Hi Andrew,

    Thank you for the feedback. We are working hard to enhance the documentation and all comments and recommendations are welcome.

    If you have any other comments, feedbacks or recommendations about Telerik Data Access documentation, do not hesitate to contact us again.

    Regards,
    Boris Georgiev
    Telerik
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
  6. Shawn Krivjansky
    Shawn Krivjansky avatar
    86 posts
    Member since:
    Jan 2010

    Posted 10 Mar 2014 in reply to Boris Georgiev Link to this post

    I have been referencing a namespace for what seems like years now...
    Similar to this page in the doc:
    http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/managing-the-openaccesscontext/data-access-tasks-model-tools-configure-backend-object

    I am now getting informational messages in my projects saying that path doesn't exist (any longer):
    <openAccessConfiguration xmlns="http://www.telerik.com/OpenAcessConfiguration">

    Did you recently change/rebrand this location?
    Tell anybody?  Is it documented any place?
  7. Boris Georgiev
    Admin
    Boris Georgiev avatar
    190 posts

    Posted 12 Mar 2014 Link to this post

    Hi Shawn,

    I am afraid that there is a known issue when configuring the OpenAccessContext via config file and using this namespace. The OpenAccessConfiguration.xsd file is not deployed correctly after Telerik Data Access installation. You should have in mind that declaring the XML namespace attribute xmlns=http://www.telerik.com/OpenAcessConfiguration is not mandatory. It is only required if you want to have IntelliSense while writing the configuration entries.

    To workaround the issue and use the IntelliSense, you should copy the attached OpenAccessConfiguration.xsd file in the ".\Program Files\Visual Studio(version)\Xml\Schemas" folder.

    I hope that helps.

    Regards,
    Boris Georgiev
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
Back to Top
DevCraft banner