在IIS 7.5,Windows 2008 Server R2,ASP.NET 4.0上进行模拟 [英] Impersonation on IIS 7.5 ,Windows 2008 Server R2, ASP.NET 4.0

查看:101
本文介绍了在IIS 7.5,Windows 2008 Server R2,ASP.NET 4.0上进行模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用ASP.Net 4.0,IIS 7.5和SQL 2008 Server

I am using ASP.Net 4.0 , IIS 7.5 and SQL 2008 Server

我想知道如何在Windows 2008 Server上配置IIS 7.5上的模拟。

I want to know how to configure impersonation on IIS 7.5 on Windows 2008 Server.

我的ASP.Net 4.0应用程序在我的Windows XP上正常运行。当同一个应用程序托管在IIS 7.5上时,
仅适用于我为
物理路径凭据指定 domain\UserId 一节中的IIS。但是,当我将其设置为传递身份验证时,它将失败。在特定应用程序的IIS设置中,我进行了以下设置

My ASP.Net 4.0 application works fine on my Windows XP . When the same application is hosted on IIS 7.5 , it works only If I Specify domain\UserId for the Physical Path Credentials section in IIS. But when I set it to pass-through authentication it fails. In the IIS Settings for the particular Application, I have made the following settings

Windows身份验证=已启用

Windows Authentication = Enabled

ASP.Net Impersonation =已启用

ASP.Net Impersonation = Enabled

我为此创建了一个单独的应用程序池。我设置了Managed Pipeline mode = Classic并使用内置的
ApplicationPoolIdentity。  我还通过文件夹C:\inetpub \ wwwroot \ App1完全控制了此ApplicationPoolIdentity,从"安全"选项卡添加了用户。它仍然不起作用

I have created a separate application Pool for this . In that I have set the Managed Pipeline mode = Classic and using the built-in ApplicationPoolIdentity.  I have also given full control for this ApplicationPoolIdentity over the folder C:\inetpub\wwroot\App1 , adding the user from the Security Tab. It still does not work

请帮忙。

推荐答案

你是否设置了模仿身份?

Did you set identity impersonate?

<identity impersonate="true" />


这篇关于在IIS 7.5,Windows 2008 Server R2,ASP.NET 4.0上进行模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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