回答
的问题已被精确定位: 在ADSI的SPN是写在大写字母,当函数参数(服务名称)写在小写。
反正 - 没有人知道是什么导致ADSI区分大小写?
谢谢。
C++是一种区分大小写的语言。 – 2010-02-24 15:07:03
但ADSI? ADSI是否区分大小写? – rkellerm 2010-02-25 10:30:46
我怀疑问题不在于Windows Server 2008本身。以下是有关您的来自MSDN的error code的一些信息:
ERROR_INVALID_PARAMETER 87(0x57)该参数不正确。
确保您的参数是正确的。
确认您的参数是正确的后,看看您是否需要提升权限才能执行该操作。 Windows 2008中的安全模型比Windows 2003更具有限制性。尝试通过右键单击并选择“以管理员身份运行”,以提升的权限运行程序。如果您需要以管理员身份进行调试,则可以右键单击IDE并以管理员身份运行。
是直流你接触一个只读域控制器(RODC)?这是Windows 2008的新功能。此外,还有一个特定权限,用于控制是否可以在对象上设置SPN。这是一个基于主机的服务吗?什么是具体参数(抽象是好的)?
- 1. SetForegroundWindow在Windows Server 2008上失败
- 2. WTSQuerySessionInformation()在Windows Server 2008 R2上失败
- 3. 在Windows 2008上DDE打印失败
- 4. Windows Server 2008 DNS传输失败
- 5. Power Shell失败。在Windows XP上安装Microsoft SQL Server 2008 r2
- 6. .NET 4.0在Windows Server 2008上的安装失败
- 7. WebRequest在Windows Server 2008 R2的TLS 1.2上失败
- 8. Web设置MSI在Windows Server 2008上失败
- 9. 在工作组上运行Windows Server 2008 R2时NetUserAdd失败
- 10. Sql server 2008安装失败
- 11. IBMCloudCodeHybrid SDK始终会在Android上失败
- 12. Ajax.Request始终在IE上返回失败
- 13. Windows Server 2008上部署.NET Web服务失败
- 14. Windows Server 2008上的.NET 2.0应用程序失败
- 15. Windows API BackupRead在Windows Storage Server 2008 R2上出现故障50失败
- 16. 在Windows Server 2003上GetTokenInformation失败(错误998),但在2008上工作
- 17. Hash :: check始终失败
- 18. 构建在Windows Server 2012 R2上的应用程序在Windows Server 2008 R2上失败
- 19. Windows Server 2008/Windows 7 MSI文件/注册表失败(x64)
- 20. 的InstallScript替换字符串失败,在Windows Server 2008
- 21. LsaEnumerateAccountsWithUserRight在连接到Windows Server 2008 R2时失败
- 22. 摩卡fs.existsSync始终失败
- 23. Javascript RegExp始终失败
- 24. Passport.js验证始终失败
- 25. Principal =“”的PrincipalPermission始终失败
- 26. Android - GoogleSignInResult始终失败
- 27. SQL Server 2008 Proc在2005年失败
- 28. SQL Server 2008备份失败:BACKUP DATABASE异常终止
- 29. SQL Server 2008 - 远程连接失败
- 30. Identity Server3:Windows身份验证:AuthenticationResult始终失败
也许你应该发布一个示例代码片段,以便熟悉这个函数的人可以帮助你调试你的参数。 – 2010-02-23 15:38:16