none
Push Store RRS feed

  • Question

  • We have our own service provider and we want to support window search service(WSS). My question is, what is best to support WSS,  implementing push store or using default index support for PST in Outlook?.



    ~Mahesh~

    Monday, December 30, 2013 8:42 AM

Answers

  • Firstly, what are the scenarios when a crash occurs? Does it also crash for a plain vanilla PST file? Or only when wrapped in your store?

    You can use Crawl Scope Manager to include/exclude your store, but I don't think you can selectively start/stop indexing for your store alone.  

    You can also exclude your store completely from indexing using http://msdn.microsoft.com/en-us/library/office/ff960570.aspx . Note that if your provider is PST based, that will disable indexing for all PST stores (probably not something that you want).


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Tuesday, December 31, 2013 3:10 PM
  • If you use Crawl Scope Manager, you can exclude on the per-store basis (you will need to construct and pass a special URL to indicate which store is to be excluded).

    Steve's blogs talks about excluding store based on the PR_MDB_PROVIDER value. If you go that route, you will exclude all PST and PST based stores from indexing.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, January 6, 2014 6:48 PM

All replies

  • Hello Mahesh,

    It looks like your question is not related to Outlook. That is why I would recommend asking such questions on the Windows Desktop Search Development forum. You can read more about Windows Search in the MSDN library. It also contains the Outlook Personal Folders (.pst) File Format section.

                       
    Monday, December 30, 2013 10:16 AM
  • No, It is related Outlook only. My question was how to WSS in Outlook for  our own service provider. Anyways thanks for reply, I will post same question Windows Desktop Search Development as well.

    ~Mahesh~

    Monday, December 30, 2013 10:25 AM
  • Hello Mahesh,

    The Outlook Object Model (nor Extended MAPI) doesn't provide any WSS specific methods or properties.

    Monday, December 30, 2013 11:04 AM
  • There is no separate MAPI group. This group covers both Outlook Object Model and MAPI.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, December 30, 2013 1:56 PM
  • It is my understanding that if you are using a wrapped PST store provider, WS support will be automatically provided, you don't have to do anything. Now if you do *not* want your store indexed by WS, that is where the fun begins.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, December 30, 2013 1:58 PM
  • Why do you need a separate MAPI group?
    Monday, December 30, 2013 2:00 PM
  • You don't. That is why this forum cover both Outlook Object Model and Extended MAPI.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, December 30, 2013 2:13 PM
  • I didn't mention any MAPI group. It looks like you need to re-read my messages.

    Monday, December 30, 2013 2:22 PM
  • You wrote "It looks like your question is not related to Outlook" and recommended to post in a WS forum. You then wrote "The Outlook Object Model (nor Extended MAPI) doesn't provide any WSS specific methods or properties."

    What I am saying is that MAPI does expose WS functionality when it comes to store providers. Questions like this one are very much welcome in this group.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, December 30, 2013 2:30 PM
  • Based on the initial post it was unclear what provider is discussed (store provider or Windows Search Service provider). That is why I suggested to use another forums specific to WSS.

    The search functionality is enabled for *.pst files out of the box.

    Monday, December 30, 2013 2:45 PM
  • Hi Dmitry,

    Yes, it is wrapped PST store and we want to index it. But we are facing too many problems like crash, hang and logout issues when WSS  is enabled. Even when Outlook is closed and log out is not happening as profile is active with SearchPortocolHost.exe.

    Is there any way to inform the  SearchPortocolHost.exe to stop indexing when we close the Outlook so that logout happends. 

    And also these crashes and hand because of some of the MAPI properties are not set properly?


    ~Mahesh~

    Monday, December 30, 2013 3:03 PM
  • Are these crashes and hangs in your code or PST?

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Tuesday, December 31, 2013 2:36 AM
  • Crashes and hang seen in both my code and PST.  I have taken care of crashes caused by code. The problem is crashes happening in PST.

    One more big problem is Logout,  when Outlook is closed and logoff is not happening as WSS is still indexing and holding the profile. But when user try logon again Outlook shows the "Loading Profile" dialog for longer time. Is there anyway to inform the WSS to stop indexing and logout when we close Outlook?


    ~Mahesh~

    Tuesday, December 31, 2013 4:12 AM
  • Firstly, what are the scenarios when a crash occurs? Does it also crash for a plain vanilla PST file? Or only when wrapped in your store?

    You can use Crawl Scope Manager to include/exclude your store, but I don't think you can selectively start/stop indexing for your store alone.  

    You can also exclude your store completely from indexing using http://msdn.microsoft.com/en-us/library/office/ff960570.aspx . Note that if your provider is PST based, that will disable indexing for all PST stores (probably not something that you want).


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Tuesday, December 31, 2013 3:10 PM
  • And just posted today: http://blogs.msdn.com/b/stephen_griffin/archive/2013/12/31/wrapped-pst-and-indexing.aspx

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Tuesday, December 31, 2013 7:05 PM
  • Thanks for Dmitry for sharing the information and links.

    These crashes and hang are not consistent in one scenario. Suddenly outlook hang( few times crash ) is seen while doing regular operation ( like accessing an ever or mail  etc.. ) in outlook and outlook goes to "Not responding" mode.  And we haven't seen such issues when Window search is turned off in Outlook.


    ~Mahesh~

    Thursday, January 2, 2014 5:19 AM
  • Some times, suddenly outlook hang is seen while doing regular operation and outlook goes to "Not responding" mode. It take minimum 5 min to comes back and after that accessing any tab ( mail, calendar, contact ) throws error message " Windows search is exited without properly closing outlook data file ( pst ), and outlook must be restarted."

    ~Mahesh~

    Thursday, January 2, 2014 6:56 AM
  • If you pause the process (or create a crash dump), what do you see on the call stack?

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Thursday, January 2, 2014 5:26 PM
  • I will generate the crash dump and post my finding soon. 

    meanwhile could you please clarify my following doubt on PST indexing. 

    If I excluded my store using  Crawl Scope Manage, indexing will not be done at all? or normal PST indexing will be done?.    

     

    ~Mahesh~

    Friday, January 3, 2014 3:51 AM
  • Hi Dmitry,

    I am bit confused about this PST indexing. It would be great if you clarify my queries on PST indexing.  I try to find help & document, unfortunately I could't find any help and documentation on the PST indexing.

    As you said in earlier post that WS automatically support the index if our store is  wrapped PST, that means PST will be indexed automatically by indexer( in this case SearchProtocolHost.exe ). If am not wrong,  SearchProtocolHost.exe logs into our store and indexes the PST.  Then what is this wrapped PST indexing that SGriffin's MAPI Internals is taking about? Both are same?  If I excluded my store using  Crawl Scope Manage, indexing will not be done at all? or normal PST indexing will be done?.   

    I would be great if you help me with above queries. 


    ~Mahesh~

    Monday, January 6, 2014 9:58 AM
  • If you use Crawl Scope Manager, you can exclude on the per-store basis (you will need to construct and pass a special URL to indicate which store is to be excluded).

    Steve's blogs talks about excluding store based on the PR_MDB_PROVIDER value. If you go that route, you will exclude all PST and PST based stores from indexing.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, January 6, 2014 6:48 PM
  • Hi Dmitry,

    Thanks for providing the information and this is really helpful. 

    Is there any way to inform indexer to stop indexing and logout when we close Outlook. I have read in this page ( http://msdn.microsoft.com/en-us/library/office/ff960498.aspx )that PR_SEARCH_OWNER_ID helps to logout from indexer when we close the outlook.  If I set PR_SEARCH_OWNER_ID value to Outlook PID, is it this information will be passed to indexer.


    ~Mahesh~

    Thursday, January 9, 2014 6:24 AM
  • That link only applies to the notifications.

    Again, I don't think you can do this. You'd be better off figuring out why the store crashes.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Thursday, January 9, 2014 2:37 PM