错误:将应用程序部署到设备失败。错误0x80070005:访问被拒绝 [英] Error: deployment of application to device failed. Error 0x80070005: access is denied

查看:584
本文介绍了错误:将应用程序部署到设备失败。错误0x80070005:访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在第一次部署时,应用程序已安装在我的设备上,一切正常,但当我第二次尝试部署时,我收到此错误:

 1>部署应用程序设备失败。 
1>写入文件'%FOLDERID_APPID_INSTALL%\ {5ea233c7-23db-4a36-b02b-2554d58aba56} \ resources.pri'时出错。错误0x80070005:访问被拒绝。
1>
==========部署:0成功,1失败,0跳过==========



我试图照顾这个问题,但我找不到解决我的问题的方法resources.pri。

有人知道如何解决这个问题?



我尝试了什么:



我试图照顾我的问题并检查微软社区和我找不到答案。

解决方案

该错误的最常见原因是当前登录的用户没有足够的权限来运行/部署应用程序。 />


尝试以管理员模式运行Visual Studio(右键单击 - >以管理员身份运行)。



有人报道说是安装问题。重新安装VS和Phone SDK可能会解决您的问题:访问被拒绝。 (Windows Phone SDK 8.0中的HRESULT异常:0x80070005(E_ACCESSDENIED)) [ ^ ]

At the first deploy the app is installed on my device and everything works well, but when I try to deploy the second time I get this error:

1>Deployment of application to device failed.
1>Error writing file '%FOLDERID_APPID_INSTALL%\{5ea233c7-23db-4a36-b02b-2554d58aba56}\resources.pri'. Error 0x80070005: Access is denied.
1> 
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========


I tried to look after this issue, but I can't find the solution for my problem with that "resources.pri".
Someone know how can I resolve this problem?

What I have tried:

I tried to look after my problem and to check microsoft community and I can't find an answer.

解决方案

The most common reason of that error is that that currently logged user has not enough priviledges to run/deploy application.

Try to run Visual Studio in admin mode (right click -> run as admin).

Some people have reported that was installing issue. Re-installing VS and Phone SDK may resolve your issue: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) in Windows Phone SDK 8.0[^]


这篇关于错误:将应用程序部署到设备失败。错误0x80070005:访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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