选择 DataGrid 行时的 HRESULT E_FAIL
我因这个错误而陷入困境......
我有一个包含一些数据的 DataGrid 。根据用户定义的一些其他参数,我的应用程序在后台加载数据。
到目前为止,一切正常。然而,我今天偶然发现了以下错误:
Error HRESULT E_FAIL has been returned from a call to a COM component.
此错误完全出乎意料;我正在使用我的应用程序,然后,当我选择一个新行时,突然出现了这种情况。它始终针对具有特定应用程序参数的特定行出现,并且到目前为止还没有出现在任何其他情况下。
该错误不带有 StackTrace
(为 null
),也不带有 InnerException
。
因此,我有点困惑,不知道该怎么办。我无法在这里发布整个应用程序,并且该错误让我完全无处可去。然而,它确实会导致整个应用程序停止工作(当没有附加调试器时,应用程序只是“消失”)。
我该怎么办?
附言。该应用程序是 Azure Silverlight 应用程序,但无论我是否在开发人员上运行它,都会发生这种情况。织物或在线。但我的直觉告诉我这是 Silverlight 本身的问题,而不是 Azure 的问题。
I'm in a tight spot with this error...
I have a DataGrid
with some data. Based on some other parameters defined by the user, my application loads data in the background.
So far, everything worked fine. However, I've stumbled upon the following error today:
Error HRESULT E_FAIL has been returned from a call to a COM component.
This error appeared completely out of the blue; I was using my application and then, suddenly, this appeared when I selected a new row. It consistently appears for a specific row with specific application parameters, and so far hasn't appeared in any other case.
The error doesn't come with a StackTrace
(which is null
) and neither with an InnerException
.
As such, I'm a bit bewildered and don't quite know what to do. I can't post the entire application here, and that error gives me absolutely nothing to go on. It does, however, cause the entire application to stop working (when no debugger is attached the application just "vanishes").
What should I do with this?
PS. The application is an Azure Silverlight application, but this happens regardless if I run it on the Dev. fabric or if it's online. But my gut tells me it's an issue with Silverlight itself, and not with Azure.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论