Saturday, September 14, 2013

Unable to register the MSExchangeAB RPC interface. Failed with the error code The endpoint is a duplicate (1740) and The Microsoft Exchange RPC service can't be started because the EMSMDB interface is already registered by another process.

Issue: -

Microsoft Exchange Address Book and Microsoft RPC Client Access Service are not started after setup Static Ports.

Error Message: -

Address Book Service: -

Unable to register the MSExchangeAB RPC interface. Failed with the error code The endpoint is a duplicate (1740)

Microsoft RPC Client Access Service: -

The Microsoft Exchange RPC service can't be started because the EMSMDB interface is already registered by another process.

Error Statement: -

When you Setup Static Ports for Microsoft Exchange Address Book and Microsoft RPC Client Access Services and if the same Port is already used by another service which can result service start fail.
You can follow the below steps to configure the static ports,

UDP/TCP 59531-65535; set static ports

To set a static port for the RPC Client Access service on an Exchange 2010 Client Access server, you need to open the registry on the respective server and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchangeRPC


Here, you need to create a new key named ParametersSystem, and under this key create a REG_DWORD named TCP/IP Port. The Value for the DWORD should be the port number you want to use.


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchangeRPC\ParametersSystem]
"TCP/IP Port"=dword:0000e88c

To set a static RPC port for the Exchange Address Book Service, create a new REG_SZ registry key named “RpcTcpPort” under:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchangeAB\Parameters]
"RpcTcpPort"="59533"

Resolution: -

   1.  Find whether same port used by another process by using NETSTAT command.
  TCP    10.250.172.59:59499    10.250.172.58:55163    ESTABLISHED
  TCP    10.250.172.59:59519    10.250.172.41:135      ESTABLISHED
  TCP    10.250.172.59:59520    10.250.172.41:36553    ESTABLISHED
  TCP    10.250.172.59:59521    10.250.172.41:36553    ESTABLISHED
  TCP    10.250.172.59:59532    10.250.172.62:135      ESTABLISHED
  TCP    10.250.172.59:59533    10.250.172.62:14417    ESTABLISHED
  TCP    10.250.172.59:59534    10.250.172.62:14417    ESTABLISHED
  TCP    10.250.172.59:59545    10.250.172.49:37827    ESTABLISHED
  TCP    10.250.172.59:59546    10.250.172.49:37827    ESTABLISHED
  TCP    10.250.172.59:59723    10.250.172.62:135      ESTABLISHED
  TCP    10.250.172.59:59724    10.250.172.62:14417    ESTABLISHED
  TCP    10.250.172.59:59725    10.250.172.62:14417    ESTABLISHED
  TCP    10.250.172.59:59847    10.250.172.48:9747     ESTABLISHED
  TCP    10.250.172.59:60179    10.250.172.52:21192    ESTABLISHED
  TCP    10.250.172.59:60535    10.250.32.17:389       ESTABLISHED

   2.  Restart Microsoft Information Store service which will release if the same port used.
   3.  Check which service is using that ports using NETSTAT /autob
[w3wp.exe]
  TCP    10.250.172.59:59520    10.250.172.41:36553    ESTABLISHED     19184
 [w3wp.exe]
  TCP    10.250.172.59:59521    10.250.172.41:36553    ESTABLISHED     19184
 [w3wp.exe]
  TCP    10.250.172.59:59532    10.250.172.62:135      ESTABLISHED     19184
 [w3wp.exe]
  TCP    10.250.172.59:59533    10.250.172.62:14417    ESTABLISHED     19184
 [w3wp.exe]
  TCP    10.250.172.59:59534    10.250.172.62:14417    ESTABLISHED     19184
 [w3wp.exe]
  TCP    10.250.172.59:59545    10.250.172.49:37827    ESTABLISHED     19184
 [w3wp.exe]
  TCP    10.250.172.59:59546    10.250.172.49:37827    ESTABLISHED     19184

   4.  After found which service using (In my cause w3wp.exe service) restart it.
   5.   If above steps is not resolved your issue, Please restart your server    by setup services in automatic mode.

Thanks
Keep Visiting

Thursday, September 5, 2013

How to Open Shared Sub Calendar in Outlook 2007 & 2010


It’s easy to share the default folders in your Microsoft Exchange mailbox just giving your co-worker permission to the folder. They can view the contents using the File, Open, Other user’s folder command. But sharing the subfolders requires a bit more effort as the subfolders are not accessible from the Open Other Users Folder dialog.


In order to share Outlook subfolders with another user, you need to give them the desired permission (at least Reviewer) to the folder and at least Folder visible permission to every Root folder above the shared subfolder.

Right click on the shared folder and choose Properties. Go to the permission tab and assign permission to the person you want to share with.


Every folder in the path above this folder needs to have at least Folder visible permission, up through the top level.
Before a person can view one of your folders, they need permission. If they are a Delegate to your mailbox (Tools, Options, Delegates) they may have permission to some or all of your mailbox folders.
1.  Right click on the folder you wish to share.

2.  Choose Properties, select the Permissions tab.

3.  If Default has Reviewer permission you won’t need to add individual names to the list unless they need more permissions than the Default account has.

4.  Click Add and select the names you want to share with from the Global Address List.

5.  Give them at least Reviewer permission so they have Folder visible permission.

6.  Click OK to close the dialog.

Repeat for each folder you wish to share.
If the person already has delegate access you won’t need to do anything more. If they do not have any access to your mailbox, you need to give them Folder visible permission to the mailbox.
1.  Right click on the mailbox root. This is the folder you click on to display Outlook Today.

2.  The Default account typically has no permission to the entire mailbox. You can either give the Default account Folder visible permission or click Add and select your co-worker’s name from the GAL.

3.  Check the Folder visible box only. The permission level remains set to None.
4.  Click Ok to exit the dialog


Opening the shared folder

Once the folder permissions are set, the person who the folders are shared with needs to add the mailbox to their profile, as a secondary mailbox.

1.  Go to Tools, Account Settings. (File, Account Settings in Outlook 2010 or 2013.)

2.  Select your Exchange account and clickChange (or double click)

3.  Click More Settings

4.  On the Advanced Tab, click Add

5.  Type all or part of the name of the mailbox that was shared with you. Select the correct name if presented with a list of names.

6.  Click Ok and work your way out of the dialogs and return to Outlook.
The mailbox you added is now in your folder list and the calendars you have permission to view will be listed in the Calendar pane. Any other folders that this user was given permissions to access will be visible in the folder list or appropriate modules.

Thanks
Keep Visiting.