询问者
初次配置公用文件夹出错

问题
-
环境 一台hub\一台edge,目前邮件收发正常(注:该域之前有一台exchange崩溃了,修复失败,最后通过在adsi里面删除信息才能重新安装目前正在使用的hub服务器)。最近想要启用公用文件夹的功能,结果一直报错。
(无法加图片,只能把错误复制上来)
(PID 6048,线程 31)处理索引 0 的记录时,任务 Get-PublicFolder 写入错误。错误:Microsoft.Exchange.Data.Mapi.Common.MapiOperationException: 没有与以下标识匹配的现有“PublicFolder”:“\NON_IPM_SUBTREE”。请确保指定了正确的“PublicFolder”标识,并且您有查看“PublicFolder”所需的权限。 ---> Microsoft.Mapi.MapiExceptionInvalidParameter: MapiExceptionInvalidParameter: Unable to open message store. (hr=0x80070057, ec=-2147024809)
Diagnostic context:
Lid: 1068 StoreEc: 0x80070057
Lid: 28345
Lid: 1706 StoreEc: 0x80070057
Lid: 24761
Lid: 20665 StoreEc: 0x80070057
Lid: 25785
Lid: 29881 StoreEc: 0x80070057
在 Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx)
在 Microsoft.Mapi.ExRpcConnection.OpenMsgStore(OpenStoreFlag storeFlags, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, MapiStore msgStorePrivate, String& correctServerDn, ClientIdentityInfo clientIdentityAs, String userDnAs, String applicationId, CultureInfo cultureInfo)
在 Microsoft.Mapi.ConnectionCache.OpenMapiStore(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, ClientIdentityInfo clientIdentity, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId)
在 Microsoft.Mapi.ConnectionCache.OpenPublicStore(ClientIdentityInfo clientIdentity, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId)
在 Microsoft.Exchange.Data.Mapi.MapiMessageStoreSession.OpenMessageStore(MessageStoreId messageStoreId, Boolean redirectServer, String& correctServerLegacyDn)
在 Microsoft.Exchange.Data.Mapi.PublicFolderEntry.get_MessageStore()
在 Microsoft.Exchange.Data.Mapi.Folder.RetrieveMapiFolder()
在 Microsoft.Exchange.Data.Mapi.Folder.get_MapiFolder()
在 Microsoft.Exchange.Data.Mapi.Folder.Read(Boolean keepUnmanagedResources)
在 Microsoft.Exchange.Data.Mapi.MapiSession.<>c__DisplayClass4`1.<Read>b__3()
在 Microsoft.Exchange.Data.Mapi.MapiSession.InvokeWithWrappedException(ParameterlessReturnlessDelegate invoke, LocalizedString message, MapiObjectId source, ErrorTranslatorDelegate translateError)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.Exchange.Data.Mapi.MapiSession.ThrowWrappedException(LocalizedException exception, LocalizedString message, MapiObjectId source, MapiSession mapiSession)
在 Microsoft.Exchange.Data.Mapi.MapiSession.InvokeWithWrappedException(ParameterlessReturnlessDelegate invoke, LocalizedString message, MapiObjectId source, ErrorTranslatorDelegate translateError)
在 Microsoft.Exchange.Data.Mapi.MapiSession.InvokeWithWrappedException(ParameterlessReturnlessDelegate invoke, LocalizedString message, MapiObjectId source)
在 Microsoft.Exchange.Data.Mapi.MapiSession.Read[T](ObjectId identity, Boolean keepUnmanagedResources)
在 Microsoft.Exchange.Data.Mapi.MapiSession.Read[T](ObjectId identity)
在 Microsoft.Exchange.Configuration.Tasks.MapiIdParameter.GetObjects[T](ObjectId rootId, IConfigDataProvider session, OptionalIdentityData optionalData, Nullable`1& notFoundReason)
在 Microsoft.Exchange.Configuration.Tasks.PublicFolderIdParameter.GetObjects[T](ObjectId rootId, IConfigDataProvider session, OptionalIdentityData optionalData, Nullable`1& notFoundReason)
在 Microsoft.Exchange.Configuration.Tasks.MapiIdParameter.Microsoft.Exchange.Configuration.Tasks.IIdentityParameter.GetObjects[T](ObjectId rootId, IConfigDataProvider session, OptionalIdentityData optionalData, Nullable`1& notFoundReason)
在 Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObjects[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, OptionalIdentityData optionalData, Nullable`1& notFoundReason)
在 Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, OptionalIdentityData optionalData, Nullable`1 notFoundError, Nullable`1 multipleFoundError)
在 Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, Nullable`1 notFoundError, Nullable`1 multipleFoundError)
在 Microsoft.Exchange.Management.MapiTasks.GetPublicFolder.InternalProcessRecord()
在 Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
全部回复
-
你好,
请问您在ADSI中删除了什么?
您有几台Mailbox服务器?这个公共文件夹创建在哪台Mailbox服务器上?根据您提供的报错信息,显示您指定的路径有误,或您的账户不具有管理公共文件的权限。
我们可以从这两方面去排错:
1. 指定路径方面:如果您是使用命令行创建的公共文件夹,可以把命令发出来,我来帮您检查一下。
2. 管理权限方面:请确保你的账户已经添加到Public Folder Management这个RBAC组中,运行这条命令:
Add-RoleGroupMember -Identity "Public Folder Management" -Member <你的管理账户>
Best Regards,
Manu Meng
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Manu MengModerator 2017年8月14日 14:35