删除Windows安全性弹出框 [英] Remove Windows Security popup box

查看:102
本文介绍了删除Windows安全性弹出框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

发现我正在使用VS2012并发布我的应用程序(窗体安全性).我的用户始终必须在此输入凭据两次:

Sinds I'm using VS2012 and publish my applications (Forms Security). My users always have to enter there credentials 2 times:

1)Windows安全弹出窗口

1) Windows Security popup

2)在LS App中

2) In the LS App

如何更改不显示弹出窗口的选项>是LS还是IIS设置?

How can I change the option to not show the pop up> Is it LS or IIS setting?

推荐答案

我想到了可能导致此问题的2件事:

2 things come to mind that could cause this:

1) 该应用程序未同时启用匿名身份验证"和表单身份验证"(为匿名",因为在用户输入其表单身份验证凭据之前已检索XAP).您可以通过以下方式在IIS中启用这些功能: 到树中的Web应用程序,然后双击身份验证"(在IIS下)

1)  The application does not have both Anonymous Authentication and Forms Authentication enabled (required Anonymous because the XAP is retrieved before the user enters their Forms Authentication credentials).  You enable these in IIS by navigating to your web app in the tree and double clicking Authentication (under IIS)

 

2)您太早进行某种类型的Entity CRUD.客户端的Application类上的重写Application_LoggedIn是最早执行此操作的机会(例如Application_Initialize,为时过早).

2) You are doing some type of Entity CRUD too early.  The override Application_LoggedIn on the Client's Application class is the earliest opportunity to perform this (e.g. Application_Initialize, is too early).

 


这篇关于删除Windows安全性弹出框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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