XmlDocument.LoadFromUriAsync()突然停止工作 [英] XmlDocument.LoadFromUriAsync() suddenly stops working

查看:78
本文介绍了XmlDocument.LoadFromUriAsync()突然停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

昨天此方法突然停止工作并始终返回异常:
$
错误HRESULT E_FAIL已从调用返回到COM组件。

Yesterday this method suddenly stops working and always returns an exception:
Error HRESULT E_FAIL has been returned from a call to a COM component.

我可以轻松地重现创建新GridApp项目的问题,并在GroupedItemsPage.xaml.cs中添加到LoadState()方法的末尾:

I can easily reproduce the problem creating a new GridApp Project and adding to the end of the LoadState() method in GroupedItemsPage.xaml.cs:

await XmlDocument.LoadFromUriAsync(new Uri("your XML url here"));

如果我在另一台计算机上编译我的代码一切正常。知道如何解决这个问题吗?

If I compile my code on another computer everything works fine. Any idea how to fix this problem?

我正在使用Windows 8 Release Preview Build 8400和Visual Studio Premium 2012 RC

I'm using Windows 8 Release Preview Build 8400 and Visual Studio Premium 2012 RC

谢谢!

 

推荐答案

我们强烈建议您将Visual Studio和系统上传到上面的Windows 8 RTM和Visual Studio RTM。

We would strong recommend you to upload your Visual Studio and your system to Windows 8 RTM and Visual Studio RTM above.

可能在RTM中解决了这个问题。同时,您无法使用Visual Studio RC将您的应用程序上传到Windows应用商店。

There may fixed this issue in RTM. Meanwhile, you cannot upload your app to Windows Store with Visual Studio RC.

最好的问候,

Jesse

Best regards,
Jesse


这篇关于XmlDocument.LoadFromUriAsync()突然停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆