Friday, April 30, 2010

issue: save signature in OWA or phone numbers

you loging to OWA and try to edit your signature you might get the following
It shows the following error "The server method 'SetObject' failed."

in hte event viewer you will see:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/52673544
Exception: System.ServiceModel.ServiceActivationException: The service '/ecp/Customize/MessageOptions.svc' cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.
Parameter name: item. ---> System.ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.
Parameter name: item
at System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)
at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)
at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at Microsoft.Exchange.Management.ControlPanel.ServiceHostFactory.EcpServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at Microsoft.Exchange.Management.ControlPanel.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
Process Name: w3wp
Process ID: 4428


to solve this issue you have to methods:
method1: remove any bindings from the IIS
method2 :

Navigate to open Web.config in the OWA directory in Notepad.

Search for , and add this on the next line :





Thursday, April 29, 2010

How SAM and PAM and AM works in failover

Nice post on technet forum:
First I’d like to explain AM, PAM,SAM.



AM is part of the Microsoft Exchange Replication Service that runs on every Exchange 2010 mailbox server. When it first start, it determines the role to assume based on information it gathers and analyzes.



PAM: When a mailbox server is a member of a DAG and currently hosts the default cluster group for the DAG, the assumed role is PAM. The PAM role holder is responsible for making all decisions affecting database availability in a DAG. Only one AM can operate as the PAM role holder at a time. All other servers in the DAG operate as SAM role holders until conditions change.



SAM: When a mailbox server is a member of a DAG but does not currently host the default cluster group for the DAG, the assumed role is SAM. The server can assume the PAM role only if it becomes the host of the default cluster group.



Then I’d like to explain how AM determine the role it could be.





When the AM first starts, it determines the role to assume based on information it gathers and analyzes.


· If the server is a member of a DAG, AM assumes that the current server role is SAM until it can determine otherwise with further processing.

o AM maintains an internal variable called CurrentPAM that is used to identify the DAG server that currently owns the PAM role. At startup, AM sets this value to Unknown until it is able to determine the current PAM holder.

o AM starts a thread to monitor for a change event notification from Windows Failover Clustering to signify the owner of the cluster group has changed.

§ If the cluster group owner changes to this server, then the cluster group has been moved to this server and PAM role ownership must be determined.

· If the CurrentPAM value is different than this server, the AM takes steps to promote this server as the PAM.

o The AM communicates with other servers in the DAG to make sure none of them report they are the PAM.

o When all checks complete successfully, this server assumes the PAM role and sets CurrentPAM to itself.

§ If the cluster group owner changed but to another server in the DAG, this means this server either was the PAM before the cluster group moved, or the cluster group moved between two other servers in the DAG.

· If the CurrentPAM value is this server, then this server has lost the PAM role since it is taken over by the server that now owns the cluster group.

o Any outstanding AM operations on this server are finished immediately.

· The CurrentPAM value is set to the current owner of the cluster group.

·

Once an AM has been promoted to the PAM role, it starts logic to handle automatic database mounting and automatic server/database failover actions.

Saturday, April 24, 2010

Exchange 2010 CAS server - level 300 Part2

Exchange 2010 CAS - Level 300 - Part2 - Arabic Sessions from mahmoud magdy on Vimeo.

Exchange 2010 Storge Architecture - Level 300 - Arabic Sessions

Exchange 2010 Storage Architecture Level 300 - Arabic Sessions from mahmoud magdy on Vimeo.

Cannot Open Exchange 2010 Management Console: WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found

Issue:
You might get this error:
WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found
When you open the Exchange 2010 Management Console, and you will not be able to use it any more.

Solution:
Define the account that you are using to log on using whoami command
Delete the folder
c:\Users\(Account).domainname\AppData\Roaming\Microsoft\Exchange\RemotePowerShell.
log off and log in and open the Exchange Management Console, it will work

Thursday, April 22, 2010

a Diagram that elaborate how storage is represented inside SAN/NAS boxes

for those who don't get how Storage are represented inside SAN/NAS boxes here is a nice picture that elaborate it

Friday, April 9, 2010

Exchange 2010 Bug- Sync Issues with clients

you might have an Exchange 2010 setup, doing DAG and another server for HUB/CAS, when clients tries to sync OAB they get the following:


15:46:28 Synchronizer Version 12.0.4518
15:46:28 Synchronizing Mailbox 'User Name'
15:46:28 Synchronizing Hierarchy
15:46:28 Synchronizing server changes in folder 'Inbox'
15:46:28 Downloading from server 'Exchange1'
15:46:28 2 view(s)/form(s) added to offline folder
15:46:28 Downloading from server 'Exchange1'
15:46:28 3 view(s)/form(s) added to offline folder
15:46:28 1 view(s)/form(s) updated in offline folder
15:46:29 Uploading to server 'Exchange1'
15:46:29 1 item(s) deleted in online folder
15:46:29 Synchronizing Forms
15:46:29 Downloading from server 'Exchange2'
15:46:29 Error synchronizing folder
15:46:29 [80004005-501-4B9-560]
15:46:29 The client operation failed.
15:46:29 Microsoft Exchange Information Store
15:46:29 For more information on this failure, click the URL below:
15:46:29 http://www.microsoft.com/support/prodredirect/outlook2000_us.asp?err=80004005-501-4b9-560
15:46:29 Done
15:46:33 Microsoft Exchange offline address book
15:46:33 Download successful

Microsoft has confirmed that it is a bug, ETA to be SP1