Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Error calling exchange 2010 cmdlet using .net

$
0
0

I am attempting to run the Set-CalendarProcessing cmdlet for exchange 2010. I can run this exact cmdlet from the exchange Management shell with no issue.  I use several other cmdlets as well in wpf with no issues. 

The description for Event ID 6 from source MSExchange CmdletLogs cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

Set-CalendarProcessing
{Identity=conf-99-401, AutomateProcessing=AutoAccept}
Local-Default Host-Unknown
3728 art.vshost.exe
33
00:00:00.0156248
View Entire Forest: 'True', 
Microsoft.Exchange.Data.Directory.LocalServerNotFoundException: Cannot find information about the local server (local server) in Active Directory. This may be related to a change in the server name.
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.FindLocalServer()
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.LocalServer.GetServer()
   at Microsoft.Exchange.Data.Storage.StoreSession.InternalInitializeGccProtocolSession()
   at Microsoft.Exchange.Data.Storage.StoreSession..ctor(CultureInfo cultureInfo, String clientInfoString, IBudget budget)
   at Microsoft.Exchange.Data.Storage.MailboxSession..ctor(CultureInfo cultureInfo, String clientInfoString, IBudget budget, MailboxSessionSharableDataManager sharedDataManager)
   at Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegatedUser, CultureInfo cultureInfo, String clientInfoString, IBudget budget, Action`1 initializeMailboxSession, InitializeMailboxSessionFailure initializeMailboxSessionFailure, MailboxSessionSharableDataManager sharedDataManager)
   at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString, PropertyDefinition[] mailboxProperties, IList`1 foldersToInit, GenericIdentity auxiliaryIdentity, IBudget budget, Boolean unifiedSession, MailboxSessionSharableDataManager sharedDataManager)
   at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags initFlags, IList`1 foldersToInit, IBudget budget, Boolean unifiedSession, MailboxSessionSharableDataManager sharedDataManager)
   at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags initFlags, IList`1 foldersToInit, IBudget budget)
   at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags initFlags, IList`1 foldersToInit)
   at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsAdmin(ExchangePrincipal mailboxOwner, MailboxAccessInfo accessInfo, LogonType logonType, CultureInfo cultureInfo, String clientInfoString, Boolean useLocalRpc, Boolean ignoreHomeMdb, Boolean recoveryDatabase)
   at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsAdmin(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString, Boolean useLocalRpc, Boolean ignoreHomeMdb, GenericIdentity auxiliaryIdentity)
   at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsAdmin(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString, GenericIdentity auxiliaryIdentity)
   at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsAdmin(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
   at Microsoft.Exchange.Data.Storage.Management.XsoMailboxDataProviderBase..ctor(ExchangePrincipal mailboxOwner, String action)
   at Microsoft.Exchange.Data.Storage.Management.XsoDictionaryDataProvider..ctor(ExchangePrincipal mailboxOwner, String action, Func`5 getUserConfiguration, Func`5 getReadOnlyUserConfiguration)
   at Microsoft.Exchange.Data.Storage.Management.CalendarConfigurationDataProvider..ctor(ExchangePrincipal mailboxOwner, String action)
   at Microsoft.Exchange.Management.StoreTasks.SetCalendarProcessing.CreateXsoMailboxDataProvider(ExchangePrincipal principal, ISecurityAccessToken userToken)
   at Microsoft.Exchange.Management.StoreTasks.SetXsoObjectWithIdentityTaskBase`1.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
ServerOperation
Ex28CE91
False
0 objects execution has been proxied to remote server.
0
ActivityId: 61950d98-ce20-4109-95fd-7a3df0bf4f46
en-US

the message resource is present but the message is not found in the string/message table


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>