我有一个asp.net网站,Active Directory中搜索使用此代码的用户详细信息:搜索Active Directory从ASP.NET
该网站是Windows Server 2003和IIS5上伟大的工作。 最近我的网站移动到新的Windows Server 2008 IIS7.5 我添加应用程序IIS和瞬移的网站,我得到这个错误:
The
(&(objectCategory=person)(sAMAccountName=))
search filter is invalid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ArgumentException: The (&(objectCategory=person)(sAMAccountName=)) search filter is invalid.
当我运行通过Visual Studio我的网站,它的工作原理。该问题仅来自IIS。
有人可以帮助我吗?