• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3966
  • Last Modified:

"An unexpected error occurred and your request couldn't be handled" when I tried to reply messages on OWA

Hi Experts,

Our company uses windows 2008 r2 and Exchange 2010 SP1 and hosting another company for their emails.


when we use outlook 2010 in office (intranet), security alert was always poping up and needed to click twice to get rid of it. (we only have a SSL certification is for external fqdn) so I follow the link (http://support.microsoft.com/kb/940726) and changed to SSL certified the external fqdn.

1. Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri https://mail.contoso.com/autodiscover/autodiscover.xml

2. Set-WebServicesVirtualDirectory -Identity "CAS_Server_Name\EWS (Default Web Site)" -InternalUrl https://mail.contoso.com/ews/exchange.asmx

3. Set-OABVirtualDirectory -Identity "CAS_Server_name\oab (Default Web Site)" -InternalUrl https://mail.contoso.com/oab


4. Open IIS Manager. For more information about how to do this, see How to: Open IIS Manager.
Expand the local computer, and then expand Application Pools.
Right-click MSExchangeAutodiscoverAppPool, and then click Recycle.

It worked fine within intranet through Outlook.

however, when I went to home and opened OWA and noticed that when I open emails and click reply, an error pops up says "An unexpected error occurred and your request couldn't be handled" when I tried to reply messages on OWA.

also when I go to see all options - groups, an error pops up "An NSPI call failed while reading the member count of an address list. The call returned SCODE "-2147221231".

I can roll back to original settings for #1-3 (cmdlet) but don't know how to roll back for #4.

so question is how i can roll back for #4 and how do i know original setting for this or is there other way I can solve this problem without rolling back?

users will start using email tomorrow so I want to do fix this asap either way.

Thanks.
YasuYasu
0
YasuYasu
Asked:
YasuYasu
  • 5
  • 3
  • 2
2 Solutions
 
CSIPComputingCommented:
Step number 4 only makes the changes that you have made take effect.

So, you don't need to UNdo it, you need to REdo it, i.e. when you've rolled-back 1,2, and 3, repeat step 4.

Hope that helps.

Ian
0
 
YasuYasuAuthor Commented:
Ian,

thanks for quick reply. unfortunately it didn't work.when I click reply it still show the error and below is the details of the error.
By the way, does the change apply quickly? or have to wait for 1 hr or something?
Also funny thing is that on OWA page, I can see an ad. I never seen on any ads on OWA.

is there any idea?
Thanks
Yasuyasu
----------------
mydomain.com = my domain name.
202.78.xxx.xxx (global address of us)
mymailserver.local = mail server fqdn.
---error details-----
Request
Url: https://mail.mydomain.com:443/owa/?ae=PreFormAction&a=Reply&t=IPM.Note&id=RgAAAAA%2bZEZr696ZRaU72gBQ311jBwBiHPORybHERKw7mWsuCh28AAAA3qMFAAC1BArHsYhfQKSOsWS%2f7yHvAAAJ%2fVMcAAAJ&pspid=_1346929615537_35299533
User host address: 202.78.xxx.xxx (global address of us)
User: Yasuharu Sumioka
EX Address: /o=mydomain/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Yasuharu Sumioka
SMTP Address: Yasuharu.Sumioka@mydomain.com
OWA version: 14.1.218.13
Mailbox server: mymailserver.local

Exception
Exception type: Microsoft.Exchange.Data.Directory.NspiFailureException
Exception message: An NSPI call failed while reading the member count of an address list. The call returned SCODE "-2147221231".

Call stack

Microsoft.Exchange.Data.Directory.SystemConfiguration.NspiRpcClientConnection.GetNspiRpcClientConnection(String domainController)
Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetNspiRpcClientConnection()
Microsoft.Exchange.Data.Directory.SystemConfiguration.AddressBookBase.GetAddressListSize(ADSystemConfigurationSession session, Guid addressListObjectGuid)
Microsoft.Exchange.Data.Directory.SystemConfiguration.AddressBookBase.GetGlobalAddressList(ClientSecurityContext clientSecurityContext, ADSystemConfigurationSession configurationSession, ADRecipientSession recipientSession)
Microsoft.Exchange.Clients.Owa.Core.UserContext.get_GlobalAddressList()
Microsoft.Exchange.Clients.Owa.Core.Utilities.CreateADRecipientSession(Int32 lcid, Boolean readOnly, ConsistencyMode consistencyMode, Boolean useDirectorySearchRoot, UserContext userContext, Boolean scopeToGal)
Microsoft.Exchange.Clients.Owa.Core.Utilities.CreateInboundConversionOptions(UserContext userContext)
Microsoft.Exchange.Clients.Owa.Core.ReplyForwardUtilities.CreateReplyOrReplyAllItem(BodyFormat bodyFormat, Item item, ReplyForwardFlags flags, Boolean replyAll, UserContext userContext, StoreObjectId parentFolderId)
Microsoft.Exchange.Clients.Owa.Core.ReplyForwardUtilities.CreateReplyItem(BodyFormat bodyFormat, Item item, ReplyForwardFlags flags, UserContext userContext, StoreObjectId parentFolderId)
Microsoft.Exchange.Clients.Owa.Premium.Controls.ItemReplyPreFormAction.Execute(OwaContext owaContext, ApplicationElement& applicationElement, String& type, String& state, String& action)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DoFinalDispatch(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.OwaRequestEventInspector.OnPostAuthorizeRequest(Object sender, EventArgs e)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
------------------
0
 
CSIPComputingCommented:
Sorry, as I'm now on the road, I can't look up that error... But will try to later.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Simon Butler (Sembee)ConsultantCommented:
Two things I would suggest.
1. Install Exchange 2010 SP3 plus the latest rollup. That will effectively reinstall the product and that will correct a lot of issues.

2. If you are using a single name SSL certificate and do not have autodiscover.example.com in the certificate then you need to make more changes than you have done so for it to work.
See my guide here: http://exchange.sembee.info/2010/install/singlenamessl.asp

Simon.
0
 
YasuYasuAuthor Commented:
simon,

thanks for your reply.
1. installation of SP3 probably break our mail server's access right to Default Global Address List, All Rooms, Default Offline Address Book and structure( i am not so sure though). I followed this link  (http://www.exchangeinbox.com/article.aspx?i=173) to host tenants and this is for SP1 to setup. so I don't want to upgrade. I just want to re-do (restore) settings for now.

2. yes, I am using just a single name ssl. your solution would be ideal but for now, I would like to restore the settings.

do you know how I can restore? I have re-set 1-3 and 4, but didn't work.

Thanks
YasuYasu
0
 
Simon Butler (Sembee)ConsultantCommented:
You are going to have to change to the new method of configuring a most tenant Exchange server at some point, because the old way is no longer supported.
Mistake above, it is Exchange 2010 SP2, not SP3, SP3 doesn't exist (yet).

The fact that you are using a hosting type configuration is probably the cause of your problems, particularly as it is pointing at an Address Book issue.

Simon.
0
 
YasuYasuAuthor Commented:
Simon,

thanks.I think so, too. outlook users aren't having a problem. it is just OWA so when I did #4, Open IIS Manager - expand the local computer, etc,  settings must have changed.
Is there anyway I can check I restored properly?  I also want to know what have been changed by that, as the server is running on virtual machine and I can see previous development machine which is exactly same settings at some point. so I can compare.

Thanks
YasuYasu
0
 
Simon Butler (Sembee)ConsultantCommented:
I have no idea, you are in an unsupported configuration now.
My personal preference would be to reinstall IIS.

http://support.microsoft.com/kb/320202

Follow the instructions for Exchange 2007.

Simon.
0
 
YasuYasuAuthor Commented:
Simon,

Thanks, I will try to IIS reinstall when I have a change to do.

Thanks
Yasuyasu
0
 
YasuYasuAuthor Commented:
Hi both of you.

I had a chance to shutdown the server and tried to reinstall IIS. But I didn't need to the reinstall as reboot fixed the problem.  The rolled backs  I have done weren't updated until I reboot the server.

Yasuyasu
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 5
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now