IIS Express Windows 身份驗證 - IIS Express Windows Authentication

問題:

I'm trying to use IIS Express with VS2010 to host a silverlight application.我正在嘗試將 IIS Express 與 VS2010 一起使用來託管 Silverlight 應用程序。 I modified my applicationhost.config file to allow for modification of the proper configuration settings.我修改了我的 applicationhost.config 文件以允許修改正確的配置設置。 I have the following in my web.config:我的 web.config 中有以下內容:

<location path="">
  <system.webServer>
    <security>
      <authentication>
        <anonymousAuthentication enabled="false" />
        <windowsAuthentication enabled="true" />
      </authentication>
    </security>
  </system.webServer>
</location>

I am not being authenticated and my domain service call returns a null record as the user.我沒有通過身份驗證,我的域服務調用以用戶身份返回空記錄。 I was able to get this to work after installing VS2010 SP1 BETA but I'm trying to get this to work with only IIS Express.在安裝 VS2010 SP1 BETA 後,我能夠讓它工作,但我試圖讓它只與 IIS Express 一起工作。

How do I enable Windows Authentication to work with IIS Express.如何啓用 Windows 身份驗證以與 IIS Express 一起使用。 Is there a configuration setting that I am missing?是否有我遺漏的配置設置?


解決方案:

參考一: https://stackoom.com/question/Jyx8
參考二: IIS Express Windows Authentication
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章