简体   繁体   English

授予IIS APPPOOL破坏我的SQL Server Windows身份验证

[英]grant IIS APPPOOL wrecked my SQL Server windows authentication

I am pretty sure that following a quick hack to get around a projects permissions with using icacls <path_to_site> /grant "IIS APPPOOL\\<app_pool_name>"(CI)(OI)(M) 我很确定快速破解使用icacls <path_to_site> /grant "IIS APPPOOL\\<app_pool_name>"(CI)(OI)(M)来绕过项目权限

I ran 我跑了

 icacls C:\inetpub\wwwroot\mysite\ /grant "IIS APPPOOL\DEFAULTAPPPOOL":(CI)(OI)(M)

Now I cannot connect to sql server with windows authentication! 现在我无法使用Windows身份验证 连接sql server

Yes, I was not thinking, but "whatever" now I want to revert this and NOT have this grant, so I was reading and reading.. and not having too much fun. 是的,我没想到,但是现在我想要恢复这个“没有”,没有这笔资助,所以我正在阅读和阅读......并没有太多的乐趣。

  1. How can I revert to the default ? 如何恢复默认值? OR 要么
  2. Is it easier to just uninstall /reinstall IIS ( local machine, nothing in IIS except 1 website which will get re-created 是否更容易卸载/重新安装IIS(本地计算机,IIS中除了1个网站之外没有任何内容可以重新创建

Repair did not work with sql server 2014. 修复不适用于sql server 2014。

I installed sql server 2012 and that worked. 我安装了sql server 2012并且工作正常。

No time to troubleshoot it any longer. 没时间对它进行故障排除了。

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

相关问题 IIS7中的SQL Server和Windows身份验证 - SQL Server and windows authentication in IIS7 授予对IIS APPPOOL \\ DefaultAppPool的数据库访问权限 - Grant database access for IIS APPPOOL\DefaultAppPool 授予对IIS APPPOOL \\ DefaultAppPool的SQL Server数据库访问权限 - Granting sql server database access to IIS APPPOOL\DefaultAppPool SQL Server在不同计算机上登录IIS APPPOOL - 同一个域 - SQL Server Login for IIS APPPOOL on different machines - same domain SQL Server由于特定的站点而停止工作,IIS AppPool将其崩溃 - SQL Server stops working due to specific sites IIS AppPool crashes it 如何允许匿名访问我的IIS站点,但使用Windows身份验证连接到SQL Server? - How do I allow anonymous access to my IIS site, but use Windows Authentication to connect to SQL Server? 为IIS APPPOOL创建SQL Server登录 - 在不同的计算机上创建IIS和SQL Server - Create SQL Server Login for IIS APPPOOL - IIS and SQL Server on different machines IIS 和 SQL 服务器 Windows Z9E0DA8438E1E38A1C30F4B76CE73B8 应用程序中的身份验证 - IIS and SQL Server Windows Authentication in an ASP.NET application 配置IIS 8以进行SQL Server身份验证 - Configure IIS 8 for SQL Server Authentication Windows Server 2008,IIS7和Windows身份验证 - Windows Server 2008, IIS7 and Windows Authentication
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM