从SharePoint 2013搜索时拒绝访问 [英] Access denied when search from SharePoint 2013
问题描述
大家好,
工作农场用户的所有突然开始得到"访问被拒绝"从SharePoint搜索时出现错误信息我在下面提到的一些事情没有任何想法/帮助
在哪里可以看得更远?
1-重启服务
2-在Web应用程序级别检查DCA帐户权限。
3-检查应用程序池帐户 SP_DATA_ACCESS :
https://docs.microsoft.com/en-us/sharepoint/install/account-permissions-and-security-settings-in-sharepoint-2013 跨度> 跨度>
4-成功重置索引和重新爬网站点。
5-修改RSA /机器密钥文件夹的权限
:
http://geekswithblogs.net/technetbytes/archive/2011/10/12/147281.aspx
5- modify permissions on RSA/Machine key folder : http://geekswithblogs.net/technetbytes/archive/2011/10/12/147281.aspx
在跟踪时从ULS登录,相关ID为
readin时的异常g聚合器设置:System.Security.Cryptography.CryptographicException:访问被拒绝。 System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32hr)
的System.Security.Cryptography.Utils._GenerateKey(SafeProvHandle hProv,发冷的Int32,CspProviderFlags标志的Int32密钥大小,SafeKeyHandle&安培;的hKey)<跨度>&NBSP;&NBSP;&NBSP;&NBSP;
的System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType关键字类型,CspParameters参数,布尔randomKeyContainer,的Int32 dwKeySize,SafeProvHandle&安培; safeProvHandle,SafeKeyHandle&安培; safeKeyHandle)<跨度>&NBSP;&NBSP;&NBSP;&NBSP; System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
System.Security.Cryptography.RSACryptoServiceProvider..ctor上的
(Int32 dwKeySize,CspParameters参数,布尔值useDefaultKeySize)
在Microsoft.SharePoint.SPSecurityContext.GetRsaUseKeyAlgorithm()
的Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(URI上下文中,布尔bearerToken,SecurityToken onBehalfOf,SecurityToken ACTAS,SecurityToken delegateTo,SPRequestSecurityTokenProperties属性)<跨度>&NBSP;&NBSP;&NBSP;&NBSP; Microsoft.SharePoint.SPSecurityContext上的
。<> c__DisplayClassc。< GetProcessSecurityTokenForServiceContext> b__b() Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
Microsoft.SharePoint.SPSecurityContext.GetProcessSecurityTokenForServiceContext()
的Microsoft.SharePoint.SPSecurityContext.SecurityTokenForServiceContext(URI contextUri)
<跨度>&NBSP;&NBSP;&NBSP;&NBSP; 的Microsoft.SharePoint.SPChannelFactoryOperations.InternalCreateChannelActingAsLoggedOnUser [TChannel] (ChannelFactory`1 factory,EndpointAddress地址,Uri via)
在Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetChannel(Uri地址,Int32 timeoutInMilliseconds)
的Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp [T](WebServiceBackedOperation`1 webServiceCall,的Int32 timeoutInMilliseconds,的Int32 wcfTimeoutInMilliseconds,字符串operationName)<跨度>&NBSP;&NBSP;&NBSP;&NBSP ;
的Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation [T](字符串operationName,的Int32 timeoutInMilliseconds,的Int32 wcfTimeoutInMilliseconds,WebServiceBackedOperation`1 webServiceCall)<跨度>&NBSP;&NBSP;&NBSP;&NBSP ;
at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetQueryHealthMonitoringSettingsForComponents(String [] components)
的Microsoft.Office.Server.Search.Monitoring.TraceDiagnosticsProvider.ReadAggregatorSettings(ISearchHealthMonitoringServiceApplication searchApp,的Guid ID)<跨度>&NBSP;&NBSP;&NBSP;&NBSP;
at Microsoft.Office.Server.Search.Monitoring.TraceDiagnosticsProvider.SyncAggregatorSettings()
Exception when reading aggregator settings: System.Security.Cryptography.CryptographicException: Access is denied. at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at System.Security.Cryptography.Utils._GenerateKey(SafeProvHandle hProv, Int32 algid, CspProviderFlags flags, Int32 keySize, SafeKeyHandle& hKey) at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize) at Microsoft.SharePoint.SPSecurityContext.GetRsaUseKeyAlgorithm() at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo, SPRequestSecurityTokenProperties properties) at Microsoft.SharePoint.SPSecurityContext.<>c__DisplayClassc.<GetProcessSecurityTokenForServiceContext>b__b() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurityContext.GetProcessSecurityTokenForServiceContext() at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForServiceContext(Uri contextUri) at Microsoft.SharePoint.SPChannelFactoryOperations.InternalCreateChannelActingAsLoggedOnUser[TChannel](ChannelFactory`1 factory, EndpointAddress address, Uri via) at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetChannel(Uri address, Int32 timeoutInMilliseconds) at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName) at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedOperation`1 webServiceCall) at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetQueryHealthMonitoringSettingsForComponents(String[] components) at Microsoft.Office.Server.Search.Monitoring.TraceDiagnosticsProvider.ReadAggregatorSettings(ISearchHealthMonitoringServiceApplication searchApp, Guid id) at Microsoft.Office.Server.Search.Monitoring.TraceDiagnosticsProvider.SyncAggregatorSettings()
推荐答案
您好UmrG,
Hi UmrG,
在哪里 用户 搜索?从搜索中心或网站搜索?请提供有关错误页面的屏幕截图。
Where do the users search from? From search center or from a site search? Please offer a screenshot about the error page.
检查抓取日志以查看是否抓取了这些项目。
Check the crawl log to see whether the items are crawled.
尝试创建新的搜索中心并从新的搜索中心进行搜索,比较结果。
Try to create a new search center and search from the new search center, compare the results.
最诚挚的问候,
Lisa Chen
Lisa Chen
这篇关于从SharePoint 2013搜索时拒绝访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!