当我在 sql server 2005 上运行时:
EXEC sp_grantlogin "IIS APPPOOL\DefaultAppPool"
我收到错误:
Msg 15401, Level 11, State 1, Procedure sp_grantlogin, Line 49
Windows NT user or group 'IIS APPPOOL\DefaultAppPool' not found. Check the name again.
我该如何解决这个问题?
最佳答案
这对我有用
CREATE LOGIN [IIS APPPOOL\MyAppPool] FROM WINDOWS;
CREATE USER MyAppPoolUser FOR LOGIN [IIS APPPOOL\MyAppPool];
关于sql - 如何修复 Windows NT 用户或组 'IIS APPPOOL\DefaultAppPool' 未找到?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11680283/