简体   繁体   English

Telerik Open Access Profiler无法捕获错误消息,该怎么办?

[英]Telerik Open Access Profiler Does Not Catch Error Message, what should I do?

On the data side: 在数据方面:

I have a table. 我有桌子

This table has a number of fields. 该表具有许多字段。

And this table has been added an index that is unique. 并且此表已添加了唯一的索引。 The intention of this index was to not allow the insertion of Duplicate values. 该索引的目的是不允许插入重复值。

The table has been manually tested and it complies with that functionality. 该表已经过手动测试,并且符合该功能。 That is, it works for the purpose intended. 也就是说,它可以达到预期的目的。 The table does not accept duplicate values, and every row entered is unique. 该表不接受重复的值,并且输入的每一行都是唯一的。

On the Telerik Kendo side: 在Telerik Kendo方面:

In my application, I have set up the ORM Open Access UI grid profiler. 在我的应用程序中,我已经设置了ORM Open Access UI网格分析器。 I know that the SQL statement throws an error when I insert duplicate values because I have tested it and read it. 我知道当我插入重复的值时,SQL语句会引发错误,因为我已经测试并读取了它。

However, when I insert the duplicate value via the application, with the ORM Open Access window enabled in order to visualize it, the profiler DOES NOT catch it. 但是,当我通过应用程序插入重复值并启用ORM Open Access窗口以使其可视化时,探查器无法捕获它。 There is no error message. 没有错误信息。

I have tried every piece of advice that I have read in this forum in order to make the Open Access catch the error, but nothing has worked. 我尝试了在该论坛中阅读的每条建议,以使Open Access能够捕获错误,但是没有任何效果。

My question is: how can I make the ORM Open Access profiler catch the error that is being generated by the SQL statement every time I insert a duplicate value? 我的问题是:每次插入重复值时,如何使ORM Open Access事件探查器捕获SQL语句生成的错误?

I know this question will be useful to other users who may be facing the same struggles. 我知道这个问题对可能面临同样困境的其他用户很有用。

Thanks in advance for sharing your knowledge and providing your guidance. 在此先感谢您分享知识并提供指导。

I am using Telerik OpenAccess ORM and I never had this issue. 我正在使用Telerik OpenAccess ORM,但从未遇到过此问题。 I just tested it again with the last version of OpenAccess ORM and OpenAccess Profiler, and the exception was caught and shown. 我只是使用最新版本的OpenAccess ORM和OpenAccess Profiler再次对其进行了测试,并捕获并显示了异常。 In the options of the Profiler, there is an Alert rule for Runtime Exception, lest you uncheck this rule? 在Profiler的选项中,有一个Runtime Exception的Alert规则,以免取消选中该规则? If the rule is not checked the runtime exceptions will not be shown. 如果未选中该规则,则不会显示运行时异常。 If this is not the case, I would recommend you to write about your issue in Telerik Forums or to contact their Support team. 如果不是这种情况,我建议您在Telerik论坛上写您的问题或与他们的支持团队联系。 There you will receive more help. 在那里,您将获得更多帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用事件探查器发送电子邮件,我希望发送的电子邮件应显示在已发送的邮件中。 有什么办法吗? - sending email using a profiler, I want sent email should display in sent Item. Is there any way to do that? Telerik Open Access错误:异常:System.ArgumentNullException:值不能为null。 参数名称:converterName - Telerik Open Access error: Exception: System.ArgumentNullException: Value cannot be null. Parameter name: converterName 用于Reporting Services的SQL Profiler和Tuning Advisor-应该选择哪些事件? - SQL Profiler and Tuning Advisor for Reporting Services - what events should be selected? 我还应该在SQL Profiler中看到查询命中吗? - Should I still see the query hit in SQL Profiler? 在某些SQL Server Profiler SQL窗口中,default是什么意思? - What does default mean in some sql server profiler sql window? 将Access数据库迁移到SQLServer,我应该在代码中进行哪些更改? - Migration of Access dataBase to SQLServer, what should I change in the code? 我想从GridHyperLinkColumn telerik radgrid表中打开我的pdf - I will like to open my pdf from GridHyperLinkColumn telerik radgrid table 如何捕获错误消息并通过电子邮件发送? - How to catch an error message and send it by EMail? 当我通过CTE进行maxrecursion时该怎么办? - What should I do when I go over maxrecursion with a CTE? 如何使用Sql Profiler捕获在SqlBulkCopy中传递的数据? - How do I capture the data passed in SqlBulkCopy using the Sql Profiler?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM