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

openAccessConfiguration section in the web.config file

5 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andrew
Top achievements
Rank 1
Andrew asked on 13 Feb 2014, 09:29 PM
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.

5 Answers, 1 is accepted

Sort by
0
Accepted
Boris Georgiev
Telerik team
answered on 14 Feb 2014, 04:43 PM
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.
0
Andrew
Top achievements
Rank 1
answered on 14 Feb 2014, 09:06 PM
Perfect! It would be helpful to link to that page in the previous one I linked to.

Thanks.
0
Boris Georgiev
Telerik team
answered on 17 Feb 2014, 08:23 PM
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.
0
Shawn Krivjansky
Top achievements
Rank 1
answered on 10 Mar 2014, 06:00 AM
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?
0
Boris Georgiev
Telerik team
answered on 12 Mar 2014, 04:06 PM
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.
 
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Boris Georgiev
Telerik team
Andrew
Top achievements
Rank 1
Shawn Krivjansky
Top achievements
Rank 1
Share this question
or