System.UnauthorizedAccessException Access to the registry key

前端 未结 3 586
感情败类
感情败类 2021-02-14 04:50

I have some code that calls the TFS API and returns team meta data. (e.g. team names, area paths, etc.) The code works fine locally in Visual Studio ASP.NET MVC project, but fa

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-14 05:18

    I have been having the same problem and have solved it by setting the "Load User Profile" in IIS application pool settings to True.

    I don't know if this is some new dependency in TFS 2013 or whether IIS 8.5 has changed the default, but this fixes it for me.

提交回复
热议问题