Blog posts by Linda Christin2010-08-27T09:38:00.0000000Z/blogs/Linda-Christin/Optimizely WorldHow to get EPiServer Search to work on Windows Server 2008 R2/blogs/Linda-Christin/Dates/2010/8/How-to-get-EPiServer-Search-to-work-on-Windows-Server-2008-R2/2010-08-27T09:38:00.0000000Z<p>EPiServer uses the Microsoft Indexing Service to create the indexes for the built in EPiServer search control. </p> <p>To get it to work with Windows Server 2008 you need to do a couple of setups.</p> <p>Here’s my action list - hope I can save someone else’s time…</p> <p> </p> <p>1. The MS Indexing Service is not installed by default on the 2008 Server, so we need to get this up and running: <a href="http://support.microsoft.com/kb/954822">http://support.microsoft.com/kb/954822</a> (I run a reboot after this. Not sure if its needed)</p> <p>2. Then we need to add a index catalog. Start with firing the CIADV.MSC </p> <p>3. Right click, choose “New” and “Catalog”</p> <p>4. Enter a name for your catalog (the default is “Web”) and browse to your web folder (typically the VPP folder)</p> <p>5. Choose “Properties” for the catalog you just added and go to the folder “Tracking”. Make sure the “WWW Server” points to your    web site</p> <p>6. After that, right click on the catalog you just added and choose “New” “Directory”. </p> <p>7. Create directories to the folders you want to index – i.e the “PageFiles” and “Documents” folders</p> <p>8. Restart the MS Indexing Service after the creation of the catalog</p> <p>9. Edit the “EPiServer.IndexingService.exe.config” hidden under your EPiServer installation (…EPiServer\Shared\Services\Indexing Service). Make sure the  connectionstring (one for each item root index) has the correct database values. In addition, the “filePath” must lead to the right VPP folder (i.e. …\VPP\Global)</p> <p>10. Edit the “episerver.config” – make sure you are using the “VirtualPathVersioningProvider”. <b>Important</b>: The “indexingServiceCatalog” is the one you created in step 4</p> <p><add showInFileManager="true" virtualName="Global Files" virtualPath="~/Global/" bypassAccessCheck="false" name="SiteGlobalFiles" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" <b>indexingServiceCatalog="Web"</b> physicalPath="[YOUR PATH]\VPP\Global" /></p> <p>11. Delete any “index” folder under your VPP\Global, VPP\Documents, VPP\PageFiles (probably you don’t have any)</p> <p>12. Restart the EPiServer CMS Indexing Service (runs under Administrative Tools ->Services)</p> <p>13. Take a look at Mari’s blog on how to test if your CMS is ready for searching: <a href="http://labs.episerver.com/en/Blogs/Mari-Jorgensen/Dates/2009/11/Searching-for-files-in-EPiServer-CMS-5/">http://labs.episerver.com/en/Blogs/Mari-Jorgensen/Dates/2009/11/Searching-for-files-in-EPiServer-CMS-5/</a></p> <p> </p> <p> </p> <p>Good luck!</p>