Exchange Server 2010 : Searching via OWA Fails with Error "An unexpected error occurred and your request couldn't be handled"


With Exchange 2010, you may find that performing a search via Outlook Web App (OWA) results in an error message, "An unexpected error occurred and your request couldn't be handled". Additionally, Outlook clients operating in Online Mode can search and view the results.

"An unexpected error occurred and your request couldn't be handled"

Request

Url: https://localhost:443/owa/ev.owa?oeh=1&ns=MsgVLV2&ev=LoadFresh&pfmk=M23:1390268685136

User: John Doe

EX Address: /o=Contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=John Does7314f2d

SMTP Address: JohnDoe@contoso.com

Mailbox server: <FQDN OF Mailbox SERVER Generating Exception >

Exception

Exception type: System.TypeInitializationException

Exception message: The type initializer for 'Microsoft.Exchange.Data.Search.AqsParser.AqsParse' threw an exception.

 Call stackr' threw an exception.

 Call stack

 Microsoft.Exchange.Data.Search.AqsParser.AqsParser.ParseAndBuildQuery(String query, ParseOption parseOption, CultureInfo culture, Boolean isContentIndexingEnabled, RescopedAll rescopedAll, IRecipientResolver recipientResolver, IPolicyTagProvider policyTagProvider)

Microsoft.Exchange.Clients.Owa.Core.SearchFilterGenerator.Execute(String searchString, Boolean isContentIndexingEnabled, Folder folder, SearchScope searchScope)

Microsoft.Exchange.Clients.Owa.Core.SearchFilterGenerator.Execute(String searchString, Boolean isContentIndexingEnabled, CultureInfo userCultureInfo, IPolicyTagProvider policyTagProvider, Folder folder, SearchScope searchScope, QueryFilter advancedQueryFilter)

Microsoft.Exchange.Clients.Owa.Core.FolderSearch.Execute(UserContext userContext, Folder folder, SearchScope searchScope, String searchString, Boolean newSearch, Boolean asyncSearch)

Microsoft.Exchange.Clients.Owa.Premium.FolderVirtualListViewEventHandler2.BindToFolder()

Microsoft.Exchange.Clients.Owa.Premium.MessageVirtualListViewEventHandler2.GetListView()

Microsoft.Exchange.Clients.Owa.Premium.VirtualListViewEventHandler2.InternalLoadFresh(Boolean renderHeaders)

Microsoft.Exchange.Clients.Owa.Premium.MessageVirtualListViewEventHandler2.LoadFresh()

 Inner Exception

Exception type: Microsoft.StructuredQuery.StructuredQueryException

Exception message: Exception of type 'Microsoft.StructuredQuery.StructuredQueryException' was thrown.

 Call stack

 Microsoft.StructuredQuery.Parser.Parse(String strQuery, List`1 lstCustomProperties)

Microsoft.Exchange.Data.Search.AqsParser.AqsParser..cctor()

 

==> Additonally you may see these events in event logs

 

Event id: 9877

Source:MSExchangeIS Mailbox Store

Task Category: Content Indexing

Description: Content Indexing function 'CISearch::EcGetRowsetAndAccessor' received an unusual and unexpected error code from MSSearch. ....Error Code: 0x80070781.

 

Event id : 1334

Application Source:ASP.NET 2.0.50727.0

Description: An unhandled exception occurred and the process was terminated

 

Event ID:4999

Description:

Watson report about to be sent for process id: 14240, with parameters: E12, c-RTL-AMD64, 14.xx.xxxx.000, AirSync, M.Exchange.StructuredQuery, M.S.Parser.Parse,

 

What causes this issue?

This problem typically is a result of Missing Critical Operating system files which is responsible for transferring queries from OWA virtual directories to mailbox server search indexes.

Reviewing the Servicing logs on Mailbox server, you could find missing system files,

There could be several hundreds of them, from “\systemroot\winsxs\...” folder and “c:\windows\system32….”   folder.

 [Error,Facility=(system),Code=640 (0x0280)] #3186416# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowFileNotFound|AllowSharingViolation|AllowAccessDenied), handle = {provider=NULL, handle=0}, da = (SYNCHRONIZE|FILE_READ_ATTRIBUTES|FILE_READ_DATA), oa = @0xacd1d0->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[129]"\SystemRoot\WinSxS\amd64_microsoft-windows-c..ent-indexing-common_31bf3856ad364e35_6.1.7601.17514_none_64da1339edafdc37\Query.dll"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0xacd280, as = (null), fa = 0, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT), eab = NULL, eal = 0, disp = Invalid)[gle=0xd0000280]

 

[Error,Facility=(system),Code=640 (0x0280)] #3186414# from Windows::Rtl::SystemImplementation::CDirectory_IRtlDirectoryTearoff::OpenExistingFile(flags = (MissingFileIsOk|SharingViolationIsOk|AccessDeniedIsOk), da = (SYNCHRONIZE|FILE_READ_DATA), oa = @0xacd878->SIL_OBJECT_ATTRIBUTES {s:40; on:"Query.dll"; a:(OBJ_CASE_INSENSITIVE)}, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), oo = (FILE_SYNCHRONOUS_IO_NONALERT|FILE_NON_DIRECTORY_FILE), file = NULL, disp = Invalid)[gle=0xd0000280]

 

[Error,Facility=(system),Code=640 (0x0280)] #3318672# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowFileNotFound|AllowSharingViolation|AllowAccessDenied), handle = {provider=NULL, handle=0}, da = (SYNCHRONIZE|FILE_READ_ATTRIBUTES|FILE_READ_DATA), oa = @0xacd1d0->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[127]"\SystemRoot\WinSxS\amd64_microsoft-windows-content-filter-html_31bf3856ad364e35_7.0.7600.16385_none_a7c20a5fb80f0e97\nlhtml.dll"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0xacd280, as = (null), fa = 0, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT), eab = NULL, eal = 0, disp = Invalid)[gle=0xd0000280]

 

[Error,Facility=(system),Code=640 (0x0280)] #3318672# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowFileNotFound|AllowSharingViolation|AllowAccessDenied), handle = {provider=NULL, handle=0}, da = (SYNCHRONIZE|FILE_READ_ATTRIBUTES|FILE_READ_DATA), oa = @0xacd1d0->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[127]"\SystemRoot\WinSxS\amd64_microsoft-windows-content-filter-html_31bf3856ad364e35_7.0.7600.16385_none_a7c20a5fb80f0e97\nlhtml.dll"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0xacd280, as = (null), fa = 0, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT), eab = NULL, eal = 0, disp = Invalid)[gle=0xd0000280]

 

 [Error,Facility=(system),Code=640 (0x0280)] #4047227# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowFileNotFound|AllowSharingViolation|AllowAccessDenied), handle = {provider=NULL, handle=0}, da = (SYNCHRONIZE|FILE_READ_ATTRIBUTES|FILE_READ_DATA), oa = @0xacd1d0->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[129]"\SystemRoot\WinSxS\amd64_microsoft-windows-i..nal-nlsdownleveldll_31bf3856ad364e35_6.1.7600.16385_none_649df50371b42c21\Nlsdl.dll"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0xacd280, as = (null), fa = 0, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT), eab = NULL, eal = 0, disp = Invalid)[gle=0xd0000280]

<snip …. >

Here is an example of corrupted / Missing system files,

How do we resolve this issue?

- You Know the Answer 🙂

 

- Manju


Comments (0)

Skip to main content