简体   繁体   English

Tfs 无法将应用程序托管到 IIS

[英]Tfs not working on hosting application to IIS

***strong text***On localhost i am able to login to TFS with the help of that i am generating list. ***强文本***在本地主机上,我可以在生成列表的帮助下登录到 TFS。 But when i am deploying this code to IIS it is not asking for the credentials as no dialog box for credential it is asking and i am unable to generate list.但是,当我将此代码部署到 IIS 时,它不会要求提供凭据,因为它没有要求提供凭据的对话框,而且我无法生成列表。

Is it possible to host TFS application TO IIS?是否可以将 TFS 应用程序托管到 IIS? I一世

To configure ASP.NET to impersonate the Windows identity supplied by IIS as the WindowsIdentity for the ASP.NET application, edit the Web.config file for the application and set the impersonate attribute of the identity configuration element to true , as shown in the following example.要将 ASP.NET 配置为将 IIS 提供的 Windows 标识模拟为 ASP.NET 应用程序的 WindowsIdentity,请编辑该应用程序的 Web.config 文件并将标识配置元素的impersonate属性设置为true ,如下所示例子。

<configuration>
  <system.web>
    <identity impersonate="true" />
  </system.web>
</configuration>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM