[英]How can I fix 'Access denied' error in visual studio 2012 and VS community 2015?
I wish to learn the C++
programming language. 我希望学习C++
编程语言。 I have Visual Studio 2012
and VS community 2015
. 我有Visual Studio 2012
和VS community 2015
。 I started programming the standard 'hello world' program in VS 2012. 我从VS 2012开始编写标准的“ hello world”程序。
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
cout << "I'm learning C++!" << endl;
cout << "This is fun :D" << endl;
cin.get();
}
When I proceeded to debugging I received an error: 当我继续调试时,我收到一个错误:
"Unable to start program (*program name & location*) Access is denied"
. "Unable to start program (*program name & location*) Access is denied"
。 I downloaded VS 2015
version in another attempt and received the same error. 我再次尝试下载VS 2015
版本,并收到相同的错误。
I have been searching for solutions for hours and a lot of posts mention having the incorrect permissions set - if this is the problem, how do I fix it? 我一直在寻找解决方案达数小时之久,并且很多帖子都提到设置了错误的权限-如果这是问题所在,该如何解决?
Please can anyone help? 有人可以帮忙吗?
Your answers are much appreciated. 非常感谢您的回答。
Turn on windows service :- Application experience 打开Windows服务:-应用经验
Computer (right-click) -> manage -> Service & Application -> service -> Enable Application experience 计算机(右键单击)->管理->服务和应用程序->服务->启用应用程序体验
Hope This Might Solve Your Problem. 希望这可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.