Public Folders on Exchange 2010.
Hello All! I have recently started an install of Exchange 2010, and have hit a snag with Public Folders. For some reason, none of the Public Folder Powershell CMDLETS have been installed with my installation. For example, if I try to run "Get-PublicFolder" (not a complete command I know), I get "Object Reference not set to an instance of an object". Any other Public Folder CMDLET gives the same error. It is as if no Public Folder support has been installed, yet during my install I did specify that Public Folder support was required. This is the output from the Public Folder Admin Tool on Exchange 2010: Unexpected error [0x7856AAF3] while executing comand 'get-publicfolder -getchildren -indeitity '\' server 'LONEX01' at Microsoft.Exchange.Configuration.MonadDataProvider.MonadPipelineProxy.ClosePipeline(MonadAsyncResult asyncResult) at Microsoft.Exchange.Configuration.MonadDataProvider.MonadPipelineProxy.InternalEndInvoke(IAsyncResult results) at Microsoft.PowerShell.HostingTools.PipelineProxyBase.EndInvoke(IAsyncResult results) at Microsoft.Exchange.Configuration.MonadDataProvider.MonadCommand.EndExecute(MonadAsyncResult asyncResult) at Microsoft.Exchange.Configuration.MonadDataProvider.MonadDataReader.Close() at Microsoft.Exchange.Configuration.MonadDataProvider.MonadDataReader.Dispose(Boolean disposing) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at Microsoft.Exchange.Management.SystemManager.DataTableLoader.Fill(RefreshRequestEventArgs e) at Microsoft.Exchange.Management.SystemManager.DataTableLoader.OnDoRefreshWork(RefreshRequestEventArgs e) at Microsoft.Exchange.Management.SystemManager.RefreshableComponent.worker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) Object reference not set to an instance of an object. at Microsoft.Exchange.Configuration.Tasks.MapiTaskHelper.GetMapiPublicFolderDatabasesIdentities(ADSystemConfigurationSession configurationSession, ADObjectId serverId, TaskErrorLoggingDelegate errorHandler) at Microsoft.Exchange.Configuration.Tasks.MapiTaskHelper.ValidateServerContainsPFDatabase(Server server, ADSystemConfigurationSession scSession, TaskErrorLoggingDelegate errorHandler) at Microsoft.Exchange.Configuration.Tasks.MapiTaskHelper.ResolvePublicFolderServerAndUserLegacyDNs(ADSystemConfigurationSession scSession, ServerIdParameter serverIdParameter, String& serverLegacyDN, String& userLegacyDN, Fqdn& serverFQDN, TaskErrorLoggingDelegate errorHandler) at Microsoft.Exchange.Configuration.Tasks.GetMapiObjectTask`2.CreateSession() at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.InternalStateReset() at Microsoft.Exchange.Configuration.Tasks.GetTaskBase`1.InternalStateReset() at Microsoft.Exchange.Management.MapiTasks.GetPublicFolder.InternalStateReset() at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() Here is the output from the Powershell: [PS] C:\Windows\system32>get-publicfolder -getchildren -identity '\' -server 'LONEX01'WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.Object reference not set to an instance of an object. + CategoryInfo : NotSpecified: (:) [Get-PublicFolder], NullReferenceException + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Management.MapiTasks.GetPublicFolder Any help would be greatly appreciated. Phil.
April 12th, 2010 6:47pm

Have you created a public folder store?
Free Windows Admin Tool Kit Click here and download it now
April 12th, 2010 10:31pm

Couple things: --> Are you in the proper RBAC groups for Public Folder Mgmt? --> Is the account you're using mailbox enabled?Active Directory, 4th Edition - www.briandesmond.com/ad4/
April 13th, 2010 5:20am

Andy_D, Yes I have created a Public Folder Store on the Exchange 2010 Server. Brian, Yes, I am in the correct groups and the account is mail enabled. Phil.
Free Windows Admin Tool Kit Click here and download it now
April 13th, 2010 10:36am

I havent seen that specific error [0x7856AAF3] before unfortunately and the others are rather generic. Anything in the event logs? Have you applied RU2? Any thing flagged when running ExBpa? Is this a mixed environment? (2010 and 2007/or 2003?) Can you access your existing public folders through Outlook or OWA? ( I assume there are some there?) Same error with Get-PublicFolderDatabase?
April 13th, 2010 4:41pm

Andy_D, The detailed error is also in the Application Log.RU2 has been applied.Nothing flagged by ExBPA.It is a mixed 2003/2010 environment.I can access the 2010 Public Folder tree via Outlook and OWA, but it is, of course, empty. No replication taking place... I can confirm that "Get-PublicFolderDatabase" does work, returning the correct value. Phil.
Free Windows Admin Tool Kit Click here and download it now
April 13th, 2010 5:45pm

Ok, has the hierarchy been updated? Is the 2010 public folder server set as the default public folder for the mailbox store your mailbox is on? ( sorry for endless questions) update-publicfolderhierarchy ALso, increase diagnostic logging on the 2010 side under the IS for public folder replication and attempt to update the hierarchy again and see if there are any errors. Also check message tracking and the event logs on the hub transports. Look for message failures (FAIL) and see if any replication traffic is taking place succesfully .
April 13th, 2010 6:06pm

Gents, Thanks for all your help, but I finally nailed the issue. The Public Folder Store was not set to inherit Security Permissions. I rectified this oversight, and reatster the IS. all seems to be working now. Thank you for trying to help out an old fool. Phil.
Free Windows Admin Tool Kit Click here and download it now
April 13th, 2010 7:42pm

Excellent. Glad you got it working!
April 13th, 2010 7:48pm

I think have a similar problem, what do you guys meen whe say to check if I am in the correct group and mail enabled, the windows account I use to open the EMS? And mail enabled? I need to create a mailbox for the admin account? Thanks.
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2010 12:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics