Hi Experts.
I have created the .net web service to Provision and De-provision the user's mailbox and mail user's in exchange 2010. The web service able to provision and De-provision the MailUsers and Mailboxes successfully, But randomly throwing the RemoteException while Enabling the mailboxes. The exception details are given below.
System.Management.Automation.RemoteException: Last access:
CacheAccessInfo - threadId=12; keyPresence=True;
dictionaryKey=/o=sfsu-test/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EMX42-TEST;
callStack=<Void
OnDataAvailableCallback(System.Management.Automation.Remoting.RemoteDataObject`1[System.Management.Automation.PSObject])><Void
ProcessRawData(Byte[], OnDataAvailableCallback)><Void
ProcessRawData(Byte[],
System.Management.Automation.Remoting.DataPriorityType,
OnDataAvailableCallback)>; Current access:
CacheAccessInfo - threadId=5; keyPresence=True;
dictionaryKey=/o=sfsu-test/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EMX42-TEST;
callStack=;
at
System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable
input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.Invoke()
Do you have any idea why power shell throwing the remote exception.
Help is greatly appreciated.
Thanks
Ameer Basha