System.UnauthorizedAccessException was unhandled

前端 未结 5 1281
既然无缘
既然无缘 2021-01-22 01:06

I am getting a access denied exception. How can I fix this?

Here is the exception:

System.UnauthorizedAccessException was unhandled HResult=-214

5条回答
  •  长发绾君心
    2021-01-22 01:29

    Just to add to Mujahed's answer (I can't comment yet), you don't need uiAccess="true" if you just wanted to run with administrator privileges. Setting this option to true could cause you some headache (e.g. you might not be able to run your project in debug mode.)

        
    

提交回复
热议问题